Auto Log off when a time has passed without logging back onto the Domain ??

Morning World,
I hope someone can help me, we are a high school with close to 800+ computers in school with Teacher laptops which they take home and use at home, that bits not the problem they log on at home with their domain user account and the same privileges/restrictions
which they have in school, the issue we have is.... once they get the laptops home they never bring them back into school, thus updates are not installed, AV not updated, Anti mal not updated and so on... on our old domain (server 2003 and win xp clients) we
had a vbs script which after a certain number of days warned them to bring it back to school, then again and then finally it disabled the laptop say after 55 days of it not being connected to the domain, however this was with a local user (Home) on the laptop,
now they log on with a synchronised domain user account, is there a GPO or a vbs script that anyone knows of which will do the same ??
Server 2012 r2
Windows 7 enterprise clients
many thanks have a nice day
Andy

Hi,
Do you mean these users haven't log back to domain for a long time, then we can consider them as inactive users. we can temporarily disable these user accounts.
I found some scripts which might be helpful for you
Active Directory Inactive user and computer tool
http://gallery.technet.microsoft.com/Active-Directory-Inactive-1527271c
Inactive Users Script
http://gallery.technet.microsoft.com/scriptcenter/Inactive-Users-Script-76eb43f4
And this powershell script can also be helpful
PowerShell script to disable inactive accounts in Active Directory
http://blogs.technet.com/b/bahramr/archive/2008/01/25/powershell-script-to-disable-inactive-accounts-in-active-directory.aspx
Yolanda Zhu
TechNet Community Support

Similar Messages

  • When my macbook goes to sleep from non activity when I return the wifi is not on.  When trying to log back onto my hub it says it is out of time and I have to reboot each time.  Most annoying, any solutions please?

    When my macbook goes to sleep from non activity when I return the wifi is not on.  When trying to log back onto my hub it says it is out of time and I have to reboot each time.  Most annoying, any solutions please?

    If you are not using data and the iPhone goes to sleep, it will automatically drop the wi-fi, and will not reconnect until you wake the phone up. That is the way it is designed. The only way around that is to turn off cellular data while at home and on wi-fi.
    Cannot answer the xbox question since this is an iPhone forum and I would have no idea.

  • Expiration time has passed for the link used to download an ebook?

    expiration time has passed for the link used to download an ebook? I checked the time, date and time zone. Plus I am trying to do this on three different devices that are registered and which I used in the past with the reader app- iPhone, iPad, laptop. there is no firewall or antivirus . please help. I don't know what else to try

    OK I finally was able to delete it...had to do a restart to finlaize deletion, but the app was gone after. And have re-installed it with my current apple id.
    Thanks.

  • Iphone 4 auto shut off when battery 20% and lower.

    My Iphone 4 auto shut off when battery 20% and lower. The phone is only 1.5 years old. Can I know why this happen?

    Most commom reason for this is faulty battery. You could try Restore with iTunes on computer, at end when prompted, Set Up iPhone as New. If still problem and you have AppleCare, take to Apple for resolution. If no coverage, make Genius reservation and take to Apple Store for quick free battery diagnostic testing.

  • Why does my iphone keep turning off when i put my pass code in

    why does my iphone keep turning off when i put my pass code in

    Hi ManiPictures,
    If your iPhone shuts down unexpectedly during use, I would suggest that you troubleshoot using the steps in this article - 
    If your iOS device restarts, displays the Apple logo, or powers off while you're using it - Apple Support
    As your iPhone's operating system is already up to date with iOS 8.1.1, follow the last instruction - 
    If you still see this issue after updating, contact Apple Support.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs?

    I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs. in order to start rebuilding my music collection?

    You should be able to recover the media with the tips in  this post from forum regular Zevoneer but I'm not sure what the implications are for your application settings. You can probably transfer your purchases into a newly authorised library, backup the device, recover any other media using third party tools, then restore the device from the backup. That should switch the assocation of the device to the new library but it is not something I've personally tested.
    When you get it all working, make a backup!
    tt2

  • Resolve error in Firefox 7.0.1 - executing an auto log-on produces the following error message: XULRunner-Couldn't load XRE function?

    Following an upgrade from Firefox 6.0.2 to Firefox 7.0, this error appeared in response to accessing Firefox! Executing an auto log-on produces the following error message: XULRunner-Couldn't load XRE functions.
    Also, following an upgrade from V7.0 to V7.0.1, the same error occurs.
    Following the In-place Upgrade from Vista Home Premium x64 to Win 7 HP x64, the RoboForm2Go taskbar is no longer on the program display page, rather it is confined to the bottom taskbar. This is likely due to a reported incompatibility between Roboform2Go and Firefox v7.0 (and 7.0.1).
    Further, there was a failure of RoboForm2Go Log-ins from the bottom quick-start taskbar.

    See [[/questions/880170]]

  • Hello  I bought my wife a new MacBook Pro, in setting it up for her, I took her Time Machine external drive to migrate onto the new machine but her old MBP not only was on 10.6, it was my old machine which I was still Administrator for.  i plugged in the

    Hello
    I bought my wife a new MacBook Pro, in setting it up for her, I took her Time Machine external drive to migrate onto the new machine but her old MBP not only was on 10.6, it was my old machine which I was still Administrator for.
    i plugged in the external drive to start the migration process after entering her name and username from the old machine which gave me the options on transferring the old data over.
    I also unchecked the Administrative end that had my info hoping that ONLY her data, files, etc., would be the ones sent over to her new machine which I wanted her to be the ONLY Administrator for. All went like clockwork until the restart.
    Normally the screen should show the username and only need the password but both entries were blank, as in ‘Other’ sign in option available only. I entered her name and password, nothing….used her username and password, nothing. Used my old Administrator name and password, NOTHING!
    I tried defaulting to factory settings from the Restore feature but it directs me to notify Apple. I tried in Terminal to change the password, nothing. I tried to boot from MY external drive and it doesn’t recognize it. I tried to even use my external drive which actually has the Mavericks upgrade, nothing!
    Basically I can only get the startup screen which isn’t accepting the username/password or the Restore feature which doesn’t offer any options helpful!
    Please, how do I start from scratch and start over here? Or simply change the Administrator name and password so I can proceed with everything thats already on there? I wish I could even boot from another drive but no luck on anything!

    First, on the old machine, make your wife's account an admin one. Log into it and delete yours. Then, update the TM backup. Finally, use Internet recovery mode, ⌘⌥R, erase the HD, and restore the OS. One first boot, follow the steps outlined in Pondini's Setup New Mac guide.

  • MuVo - When new track begins I cannot rewind back into the end of the previous tra

    Hi all, here is my problem. i tried to put it in a formal way to ease the reading.
    Player: Creative MuVo 52MB TX FMFirmware: Creative MuVo TX FM Audible Firmware Upgrade Version .3.03
    Problem: When new track begins I cannot rewind back into the end of the previous track. If I want to hear the end of a track I have to start from the beginning and fast <SPAN>froward through the tracks entirety towards the end of the track. This is especially frustrating when listening to a 20+ minute podcast or audiobook and all I want is to here the last couple of minutes. As stated in the user manual "frequent use of fast <SPAN>froward/reverse" will use more battery power and this is not an acceptable solution for wanting to hear the last couple of minutes. (Usually this happens when i am interrupted and the next track has already started, etc.)
    Suggested solution: If a user is at 00:00:00 and the user holds the rewind button then user shall start rewinding from then end of the last track. An analogy of this would be if you fast <SPAN>froward to a new chapter on a DVD player and then press and hold rewind, it allows you to rewind through the end of the skipped chapter. Please include this functionality in the next firmware update.
    thanks for your time, nickc

    Nick,
    Great suggestion. FYI, I have similar hardware to yours:
    Player: Creative MuVo 256MB TX FMFirmware: Creative MuVo TX FM Audible Firmware Upgrade Version .3.03
    I imagine there are several ways to implement your idea. One way would be to have the firmware let you: () begin rewinding from any point in the current program; (2) when rewind reaches the 00:00:00, a tone could be emitted (this would alert the user that s/he has reached the beginning of the current program); (3) then the user could either decide to stop there or (4) by holding down the rewind, say, 2-3 seconds, the rewind would be forced to 'skip' back to the end of the previous program.
    If the user is not listening to the program while rewinding (and thus cannot hear the tone), this should not be a problem, as the display would make clear what is happening.
    On another issue...
    Regarding your comment "...creative does a good job with the timing of the fast-foward/rewind feature available now," I beg to differ. In my experience, the timing of the TX FM's rewind makes it very difficult for a user to do an 'instant replay' of a short audiobook section. This is frequently needed when a narrator's voice is unclear, or the user is distracted by something.
    For example, say I want to review the last 5 seconds. This is impossible, as the rewind specifications cause the rewind to behave approximately as follows:
    - First 3 seconds realtime rewinds program 6-7 seconds
    - After that, each second realtime rewinds 30 seconds; so each additional second rewinds 30 seconds
    - Of course, it gets faster and faster thereafter (in 30-second, 5-minute, and 5-minute segments)
    You see, therefore, that it is impossible to efficiently skip back 5 seconds, as the rewind goes back 6-7 seconds, then skips all the way back to the 37-second point. The only way to go back 5 seconds (a couple of sentences) is to: () overshoot your target by an unknown number of seconds, then wait a long time until your desired segment appears, or (2) tediously rewind 5-6 seconds; wait until the TX FM is ready for another rewind; rewind another 5-6 second segment; wait again; then rewind another short segment to get to the 5-seconds-back point. For the most part I use method (2), but do not always release the rewind button in time each of 3 times before the accelerated rewind kicks in. What a drag!
    The Audible Otis player, as I recall, did not have this particular problem, though its buttons were harder to manipulate.
    I would doubt whoever designed this rewind specification has experience listening to audiobooks.
    CREATIVE: We need a rewind function that eventually picks up speed, but I would recommend that the most recently played approx. 30 seconds of program time be accessible via a rewind compressed to appox. 5 seconds realtime.
    Catherina & Jeremy, are you listening?
    Roger

  • I got a new iPhone 5 when I went to add my music back from the cloud Not on this iPhone Rihanna for some reason will not re load to my new phone the Little wheel just keeps moving

    I got a new iPhone 5 when I went to add my music back from the cloud Not on this iPhone Rihanna for some reason will not re load to my new phone the Little wheel just keeps moving nothing ever happens.  I turned it off and still nothing
    whats up with that I have one beatles song and one kenny chesney also

    Mate, I'm trying to find out if it was shipped like that or not. If someone else has had the same issue then I can go back to Apple and have them look into it further. If not then as I said Vodafone is selling second hand phones and they will have to replace the phone.
    Vodafone account manager is saying that he has never heard of anything like it.
    So I'm left with one of 3 answers.
    1: The phone was shipped like that so its a factory error.
    2: The Apple genius doesn’t know what he's talking about then I can go back to the store and ask for a second opinion.
    3: Vodafone is selling second hand phones as new.
    I need to narrow it down so I can deal with the account manager appropriately 

  • My device only displays the Diagnostic Mode screen. Don't metter what I do. I've tryed to update itunes and reestore with latest software a few times, but it always comes back on the Diagnostic Mode screen. What's wrong?

    My device only displays the Diagnostic Mode screen. Don't metter what I do. I've tryed to update itunes and reestore with latest software a few times, but it always comes back on the Diagnostic Mode screen. What's wrong?

    Hi sayla,
    When you reloaded your software did you do a clean reload (deleting all data)? http://bbry.lv/bpv7DT
    If so, you might try doing a resettofactory using the following instructions. http://bit.ly/fMW9I4 This will reset to factory default.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • My echeck has cleared into my PayPal account but it has not been credited back onto my credit card

    My echeck has cleared into my PayPal account but it has not been credited back onto my credit card. When will I receive this money? It has already been 4 working days since being cleared.

    If you have funds in your paypal account balance then IF you want to withdraw those funds then click on "withdraw funds" below that balance and you can send it to your bank account.....you can't withdraw to a card.

  • I lost my iTunes library on my pc when the hard drive crashed. None of the data on the drive was recoverable and I did not have a backup. How can I get the music that resides on my ipod nano (4th generation back onto the new hard drive on my pc.

    I lost my iTunes library on my pc when the hard drive crashed. None of the data on the drive was recoverable and I did not have a backup either locally or on the cloud. Much of the music is from old vinyl and podcasts which are no longer available.
    How can I get the music that resides on my ipod nano (4th generation) back onto the new hard drive on my pc.
    I have been reluctant to install iTunes on the new hard drive out of fear that I will lose all the contents on the ipod if I try to synch to the new hard drive.
    Help!

    No backup is a huge mistake.
    You can redownload some itunes purchases in some countries:
    Downloading past purchases from the App Store ... - Apple - Support

  • HT201269 I restored my iphone and now it has gone back to factory settings. How do I transfer all the purachsed items from my itunes back onto the phone?

    I restored my iphone and now it has gone back to factory settings. How do I transfer all the purachsed items from my itunes back onto the phone?

    Hello whytea4
    Check out the articles below and choose the one for your computer to sync media and apps to your iPhone.
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12113
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12313
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • I forgot the passcode to turn off restrictions. I have restored my iPad back to the factory settings and then synced it with the latest backup. The restrictions are still on and it is asking for the passcode. Can someone tell me how to get that off.

    I forgot the passcode to turn off restrictions. I have restored my iPad back to the factory settings and then synced it with the latest backup. The restrictions are still on and it is asking for the passcode. Can someone tell me how to get that off.

    The only option is to wipe the device clean and restore it to factory settings.  Hope you have a backup.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

Maybe you are looking for