How do I disconnect a certain kind of connection after 9PM each night?

We have a user who sometimes connects to our Sql Server 2008 database using an ODBC connection from MS Access. Every now and then if he leaves that connection open overnight it creates problem with overnight processes. (I think it has to do with Access and
record locking.) His other connections do not create any problems like this however.
I would like to disconnect just his MS Access ODBC connections after 9PM each night. Is that possible? I guess the next best solution would be to disconnect
ALL of his connections at 9PM but I'd like to avoid this as he sometimes works very late and we want him to have access to the system.
Thanks for any help you can offer.

Hi,
I would not Kill anything because it might not always result in favorable output.
Can you run the script to disable login for time being and then run script again to enable it. Its the same login which uses ODBC connection you are referring.
I was also thinking about Logon trigger which would be enabled for only time you require it. Perhaps Logon trigger would be correct one
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP

Similar Messages

  • How Do You Disconnect Someone From Your Wireless Connection Who Knows Your Password?

    I have a Linksys Wireless Routher Model #WRT54G.  
    How do I stop a neighbor from using my wireless connection that already knows my password?

    Can you login on your router?
    If so:
    Wireless => Wireless Security
    I recommend WPA2 Personal security.
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

  • I just bot a new ipodnano and synched my playlists from my itunes library.  However, I am unable to disconnect as it says the the ipodnano contains files that are in use by "another application".  What is it talking about and how do I disconnect?

    How do I disconnect./eject my new ipodnano after I had synched my playlists (from itunes library on my computer).
    Itunes message - CANNOT BE EJECTED BECAUSE IT CONTAINS FILES THAT ARE IN USE BY ANOTHER APPLICATION:.
    This is after my synch was succesfull and it says I can disconnect now - but it won't let me.
    Keith

    For the immediately problem, you can shut down the computer and disconnect the iPod.
    There may be a process (program) running on your computer in the background that continuously monitors mounted volumes for things like maintenance, data corruption, and malware.  The iPod's storage is a mounted volume.  If you know of any such program, such as an "anti-virus" utility, and it has settings that allow you to exclude certain volumes, you can set it to ignore the iPod "disk" when connected.
    Also, if you are using automatic syncing (not the manual method) to load the iPod, and you have Enable disk use turned ON, turn it OFF.  With Enable disk use turned OFF, iTunes only mounts the iPods disk when syncing, then immediately unmounts the disk.  Thus, other processes you have running on your PC (not iTunes) will have less of a chance to make the disk "in use" and cause this problem.  You won't even have to eject the iPod before disconnecting.

  • For some reason my Firefox is no longer allowing me to stay logged on to certain sites e.g. Even though I now allows click the keep the keep me logged in on facebook I now have to log on each time. How do I fix this. Kind regards Bev Greene

    For some reason my Firefox is no longer allowing me to stay logged on to certain sites e.g. Even though I now allows click the keep the keep me logged in on facebook I now have to log on each time. How do I fix this.
    Kind regards
    Bev Greene

    Websites remembering you and automatically log you in is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    * http://kb.mozillazine.org/Cookies

  • How do I disconnect text in left margin from the main text box

    I’ve used a template that has a graphic and text in a wide margin on the left side of the page. The margin is set at 2.75, where a a single column text box resides, containing much more descriptive text. It seems the material inside the left margin is not accessible. When I click on it text in the large text box highlights. What is connecting these two boxes and how can I disconnect them? I want to use the left side of the document to contain, among other things, hypertext links to other websites. At first I thought it might be a matter of layers, sending objects to the back or front, perhaps grouping or ungrouping but that hasn’t helped.
    Anyone got any thoughts on what might be creating this connection?

    Ah, that did it. Kind of strange place to hid that command don’t you think? I still don’t know what will happen when I convert it to a .doc. While I much prefer creating this stuff in Pages if the creation doesn’t survive the conversion and others can’t open the links it doesn’t do me much good. If it doesn’t survive the conversion to Word I’ll let you know.
    thanks for your help.

  • How do I only get certain questions appear in the quiz results?

    I have created a course through Captivate 6, throughout the course there are questions to guage the learners attention. There is also a quiz at the end. However, captivate includes on the questions throughout the course on the quiz results which I do not want to happen.
    Can anyone advise how I can only get certain questions appear on the quiz results please?

    Branch aware turns off the playbar in 6 (not in 7 any more, at least not for me).
    Could you explain more in detail what you want, because I don't understand it. You want the user to answer all questions, but the score should only show what? If you don't want some questions to have a score added to the Quiz total, you can indicate that in the Properties of that Question slide.
    And please, tell the exact number (3 versions of 6), and also if you have to report to a LMS?
    Lilybiri

  • I do not want all of the playlists in iTunes to be synced to my iPhone. With iCloud I do not seem to have a choice. How do I select only certain playlists for my iPone?

    I have many songs and playlists in my iTunes account.  I do not want all of them synced to my iPhone 5S, but that has happened via iCloud, and it has caused a storage problem on my phone.  How do I select only certain playlists to be synced to my iPhone? 

    You need to start over with Music. On the iPhone Music screen uncheck sync music. Also, on the Summary screen uncheck "Manually manage music and videos", then sync and it should clear off your phone.
    Next, choose the music you want to sync. If you want to fit more on check "Convert higher bit rate songs to 128 kbps AAC". This will reduce quality slightly, but it won't be noticable unless you are using $300 headphones.

  • How to properly disconnect a Mini Display Port (MDP) from a Macbook Pro 2012, 1,9?

    Hello:
    I was wondering if any Macxperts out there had any idea on how to properly disconnect a MDP Thunderbolt Cable from a 2012 1,9 Gen. Macbook Pro. From my experience with older Macbooks the command was "Command + F7" or something of the sort.
    On my Macbook Pro 2012, there is no such button or commend to properly disconnect the plug; as if one were to disconnect or "eject" an external HD. I have read some articles on Google that some people just disconnect the plug and that action is sufice to disconnect an external video projection (Ex: Flat Screen Samsung).
    Can a Macxpert or Genius comment on this piece of information? I would really apprecite some light shed on this situation. I just don't see unpluggin a cable connected to a video source enough to properly shut off a connection with out damaging the Macbook Pro's video card.
    Thanks
    A

    Hello, Niel:
    I just answer my own question. Forgive me but I am not up-to-date on the techlingo (Hot Swappable) but I just googled the term and found my answer.
    Thanks again.
    Best,
    A

  • How do I disconnect my phone number from an Apple ID that I don't know the PW to?? Thanks!!

    Hi everyone! How do I disconnect my phone number from an Apple ID that I don't know the PW to?? I am trying to help my friend - she got divorced from her husband who has her phone number under his Apple ID. He claims he doesn't remember the PW and that Apple couydn't help him?! Any thoughts? Thanks!!

    1. He is lying.
    2. Require him to buy her a new iPhone in the settlement.

  • How can I disconnect my old iphone from my account?

    how can I disconnect my old iphone from my account?

    Https://icloud.com/find. Click on All Devices, then select the device. If it's off choose Remove. If it's on choose Erase Phone.

  • How do I disconnect my iPhone from one Apple ID after reregistering it to a new ID?

    I had two iPhones registered to one Apple ID; when texting between the phones, the primary phone received both the sent and received from both - I've since deregistered one iPhone and created a separate ID for it. But the sent/received messages continue to appear on my primary phone. How do I disconnect the reregistered phone from my primary?

    You need to completely sign out of the old id including to iCloud, iMessage, Facetime, AppStore, Game Center, Turn off Home Sharing or Photo Sharing. Everything you have been using with your old id and then completely sign in with the new apple id.
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store

  • How can I detect a certain text within a field within CASE using IF

    Dear all,
    for a transformation / generation of values receiving from R/3 into BW I try to
    manupulate three fields. I have a problem detecting a string in a field.
    I am using a CASE with several WHEN clauses on one field. Depending on the
    value, an IF is integrated. There I look into another field evaluating, if it contains
    a certain string. E.g. IF STRING CP 'xyz' OR 'abc'.
    System gives error for the locigal expression. I also tried CS, but same error.
    How can I detect a certain text within a field and which is the right logical
    expression.
    Many thanks in advance!!!
    Claudia

    Hi,
    Folow the blow example...
    May be it helps....
    DATA: hex1 TYPE string,
          hex2 TYPE string.
    hex1 = 'FFFF'.
    hex2 = '123FF'.
    IF hex1 CP hex2.
    ENDIF.
    Cheers,
    SImha.

  • I have iphoto 6.  How do I only selecy certain photos from my camera when importing rather than all of them as show in the import page that loads

    I have iphoto 6.  How do I only selecy certain photos from my camera when importing rather than all of them as show in the import page that loads

    You use Image Capture (in your Applications Folder) for that job - or upgrade to a later iPhoto.
    Regards
    TD

  • How can I set my phone to delete messages after a certain period of time? 6 months, 1 year??? It is taking up over 4GB on my phone.  I don't want to delete everything just the oldest ones.

    How can I set my phone to delete messages after a certain period of time? 6 months, 1 year??? It is taking up over 4GB on my phone.  I don't want to delete everything just the oldest ones.

    If you update to iOS 8, you can select that in Settings>Messages>Keep Message and then select your option. If you don't update to iOS 8, you'll need to do it manually.

  • HT2498 how do I find out what kind of fire wire port I have on my desktop? I want to transfer video from my camcorder.

    how do I find out what kind of fire wire port I have on my desktop? I want to transfer video from my camcorder.

    If you have Firewire 800 it's a boxy looking port, the Firewire 400 is thinner and has a arrow looking shape, you can get a adpater.
    FW800 is simply FW 400 x 2, so the adapter gives you FW 400.

Maybe you are looking for