Logoff scrip doesnt work ..after certain time threshold.

Hi im setting up PCs for general use in computer lab, with internet cafe like structure where one main computer will control every activity of the rest.
One of thing i made is setting up the script to force windows to shut down if user log off the windows;(so the computer would not stuck in remote-admin-unreachable limbo; where the control client isn't running and the PC isn't off either to receive WOL command
to restart and regain control.)
I noticed that the script will run if the windows being logged off shortly after login. when user clicked the log off button briefly after being logged in, it will actually shut down the PC.
but if it being used for some time or simply left idle until certain time (still unclear) threshold, the script will not run.
When the user clicked the log off button, it just log off as usual and returns to user selection screen; instead of initiating shutdown script. (and I have to manually login back or restart to regain control). 
what causes this script 'timeout'?

Hi Razi,
I have deployed a simple script for all users to implement what you mentioned without no issue:
Please clarify the settings are configured to all users on your GPO server or the local computer policy.
configure GP for user groups by referring following link:
Edit Multiple Local Group Policy
http://technet.microsoft.com/en-us/library/cc731758.aspx
Kate Li
TechNet Community Support

Similar Messages

  • Imessaging doesnt work after iOs 6 update, can't send or recieve messages. it isnt the wifi since everything else is working. have tried every solution possible. help?!

    imessaging on ipod touch doesnt work after iOs 6 update, can't send or recieve messages. it isnt the wifi since everything else is working. have tried every solution possible. help?!

    Short of a reset to factory settings I've found making sure iMessaging is not left minimised helps. It doesn't seem to keep its connection. So, by closing after each use this helps. I've been doing this since I logged out of iMessaging at least 1/2 doz times and even changed my apple id pw as this had ceased to be recognised. I get fewer send failures now and don't have an inactive send button so much. Having said this its all a bit of a work around as iMessaging isn't behaving as it once did. If over time not resolved will do factory reset. All the best.

  • How to stop a while loop after certain time using Elapsed time vi

    how to stop a while loop after certain time using Elapsed time vi.

    Hi Frankie,
    Just place the Elapsed Time VI inside the WHILE loop, and wire the 'Time Has Elapsed' output to the conditional terminal in the lower right corner (which should be set to 'stop if true' by default).
    In the future, please post your LabVIEW questions to the LabVIEW Forum.  You have a much better chance of getting your questions answered sooner, and those answers can then help others who are searching the LabVIEW forums.  Thanks!
    Justin M
    National Instruments

  • Why my hp mini 5101 the "7" key doesnt work after upgraded the bios?

    why my hp mini 5101 the "7" key doesnt work after upgraded the bios?
    The current bios version is F.07

    korpx,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Adressbook doesnt work after update to 10.7.3 PB says your adressbook is 5.0.3. Can anyone please help?

    Adressbook doesnt work after update from Snow Lepard to Lion 10.7.3 PB says your adressbook is 5.0.3.
    PB says You have adressbook 10.5.3, yes, but now?
    Can anyone please help?

    Use the copy of AddressBook that is in your Applications folder, not the one on your Dock that's linked to a transplanted copy of the prevoius AddressBook App.

  • GPRS services suddenly stop working after some time abt 4 hrs.Airplane on off solves it

    I am using a factory unlocked iPhone 4 GSM in India. Iam currently using it on airtel network 2G services i.e GPRS services. Now the problem I have noticed is that the GPRS services suddenly stop working after some time say about 4 hours. Then what i do is to turn airplane mode on and then off or restart the phone and GPRS starts working. Agan after some time I have to repeat this exercise. Please help soon. This is happening since the time i bought this phone i.e from past 20 days. I have tried allpossible network settings and resetting network but nothing helped. everything else is working perfect.

    Hi Syed,
    I have also started facing the exact same problem since the past few months with my docomo service.
    Earlier, EDGE / GPRS used to work just fine from my workplace where the network was good.
    But recently, I got my iphone replaced, due to a network problem, from an apple store in indianapolis, and also upgraded to ios 5.....so not sure now whether this intermittent EDGE / GPRS outage is due to the new hardware or the new OS.
    Did you upgrade to iOS 5 and did it help?
    PS: iOS 5.0.1 also doesn't seem to be helping, I still need to restart the phone to get EDGE / GPRSt to work.....will try out the airplane mode thing....at least that shouldn't take as much time as a full reboot.
    Regards,
    Hemant

  • Memory requirement is continiously increased when i am running my application program in an infinite loop,after certain time it shows an error called low virtual memory

    memory requirement is continiously increased when i am running my application program in an infinite loop,after certain time it shows an error called low virtual memory

    What are you doing with your program. Lots of improper programming techniques can cause this - building arrays, concantanating strings, opening but not closing refrences, etc. Need more details or post your VI. Also, have you looked at "LabVIEW Performance and Memory Management"? It's part of the shipping documentation and available from Help>Search the LabVIEW Bookshelf.

  • The front camera of my iPad 3 doesnt work after updated  ios7

    The front camera of my iPad 3 doesnt work after updated  ios7

    Have you tried closing the Camera app completely and seeing if it works when you re-open the app ? From the home screen (i.e. not with Camera 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Camera app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    If neither fix it then you could try contacting Apple.

  • Ios 7, camera doesnt work after updating, iphone4

    My iphone 4 camera doesnt work after updating on ios 7

    completely erease the ipad and reinstall the OS.
    Go to settings>general>reset>erease all content and settings. Wait for the ipad to finish then see if it works.

  • Sound not working after some time

    I am using pavilion g6 laptop. Nowadays my laptop sound stops working after some time of use. I checked the drivers but everything seems to be ok. Please help what to do??

    Hi sushovanee,
    Welcome to the HP Forums!
    I would like to take a moment and thank you for using the forum, it is a great place to find answers. For you to have the best experience in the HP forum, I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I grasp you have a G6 notebook and after a period of time you lose the sound.
    Have you done all your Windows updates?
    Have you ran The HP Support Assistant to aid with this difficulty.
    Has there been any recent changes to your system?
    To assist you I will need some more information.
    What exact model of G6 do you have?
    How Do I Find My Model Number or Product Number
    What Operating system are you running?
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Switch playlist of itunes dj automatically after certain time

    hello,
    i have 2 playlists in itunes.  i would like to do the following:
    1) itunes plays the first playlist by playing the songs in a random order and continues to do this, until
    2) after a certain time (say 30 minutes), itunes switches to the second playlist and plays these songs in a random order and continues to do this for another 30 minutes. 
    now, for the randomization, i could use shuffle with repeat, but the problem with that is that after all songs are played in the playlist, the exact order repeats again.  i don't want this.  i want itunes to choose a random song from the playlist each time, even if it is the same one twice in a row.  as i understand it, the itunes dj allows this possibility.
    for the automatic switching, i read that i can use apple's automator to accomplish this.  however, this is my first time using it.  i chose workflow, and then music under 'actions'.  i see a bunch of stuff for itunes but there is no itunes dj. 
    i don't know where to go from here or if there is an easier way to do this.  does anyone have any ideas?
    thank you.

    In my first script : if the user press the "Camcel" button in the dialogue, the script will give an error.
    Here is the corrected script.
    global tPlaylists, DJ_Playlist, tIndex, firstTime
    property durationTime : 1800 --seconds, equal 30 minutes
    on run
        set tPlaylists to {}
        set tIndex to 1
        set firstTime to true
        tell application "iTunes" to set {tnames, uPlaylists} to {name, it} of (user playlists whose its special kind is none)
        set j to (count tnames)
        repeat with i from 1 to j
            set item i of tnames to "" & i & " -  " & item i of tnames
        end repeat
        set n to my choosePlaylist(tnames, "first")
        if n is not "" then
            set end of tPlaylists to item n of uPlaylists
            set item n of tnames to missing value
            set tnames to text of tnames -- remove name of first selected playlist from tnames
            set n to my choosePlaylist(tnames, "second")
            if n is not "" then
                set end of tPlaylists to item n of uPlaylists
                tell application "iTunes"
                    set DJ_Playlist to (first playlist whose special kind = Party Shuffle) -- iTunes DJ playlist
                    tell front browser window to if exists then set view to DJ_Playlist
                    activate
                end tell
                my mixTracks() -- add random tracks in the iTunes DJ playlist
            end if
        end if
        if n is "" then quit -- the user pressed the Cancel button
    end run
    on idle
        -- set the next index
        if tIndex = 1 then
            set tIndex to 2 -- the second playlist selected by the user
        else
            set tIndex to 1 -- the first playlist selected by the user
        end if
        my mixTracks() -- add 30+ minutes of random tracks from the next playlist
        return durationTime
    end idle
    on mixTracks()
        set selPlaylist to (item tIndex of tPlaylists)
        tell application "iTunes"
            set b to running
            if b then
                set tTime to durationTime + (duration of DJ_Playlist)
                set trackIndex to (count tracks of DJ_Playlist)
                -- add tracks to iTunes DJ playlist until its duration > (aproximately 30+ minutes of added tracks)
                repeat until duration of DJ_Playlist > tTime
                    duplicate (some track of selPlaylist) to DJ_Playlist
                end repeat
                if firstTime then -- play immediately the first added track in the iTunes DJ playlist
                    set firstTime to false
                    play track (trackIndex + 1) of DJ_Playlist
                end if -- else continues to play tracks normally.
            end if
        end tell
        if not b then quit -- iTunes is closed by the user, quit this script
    end mixTracks
    on quit
        continue quit -- quit this application
    end quit
    on choosePlaylist(l, t)
        activate
        set x to (choose from list l with prompt "Select your " & t & " playlist") as string
        if x is not "false" then return (word 1 of x) as integer
        return ""
    end choosePlaylist
    Also, I added a condition to exit the script if the user quit iTunes, but the script only works once every thirty minutes.

  • Blackberry Messenger only works at certain times of day.

    a few days ago my phone crashed, leaving my blackberry messanger not working, a few hours later it started up and everything was fine, however the next day my bbm only worked early in the morning and then started up again around 4, and its did it again this morning, i have restarted it many times, i have deleted it then reinstalled it, its just very annoying it doesnt work, and im not really sure what to do with  it
    any help would be much appreciated

    Ella, that's got to be some intermittent connect with your mobile provider.
    The next time your BBMessenger is NOT working, check On your Manage Connections screen, click on the Services Status. What is the status of the BlackBerry Internet Service at that time?
    ALSO:  You have your mobile phone number listed as your "My Mobile Provider" or carrier. Putting your phone number out on the internet on these public forums for the world to see, is not wise. To change that, at the top of this page click on My Settings > Personal Profile > Personal Information, and in the entry block for "Carrier" type the name of your mobile provider.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Script or anything that will auto quit app after certain time of inactivity?

    I am searching for a way to make apps auto quit after a certain time of inactivity.
    For exmaple, if i open the app store, i would like it to close automatically after a certain amount of time, with the possibility of adding exceptions to the list.
    Is this in any way possible?
    Thanks/.

    The above checks lsof every 30 seconds;
    -) if it's been only inactive for half a second at exactly that point, it'll close it.
    -) You can `while sleep 30;`
    Systemd doesn't seem to have this exact behavior. Autofs does though, it has a timeout option. (Systemd's StopWhenUnneeded is for when services don't need it, and its timeout option is for how long to wait before giving up trying to mount it.)
    Now I wonder if autofs can also trigger a command after unmounting...
    Edit:
    You can use the intofiy-tool's package's inotifywait to wait for an unmount event.
    Last edited by Blµb (2014-03-14 09:52:59)

  • Web Service in JDK 6 - client resends request after certain time ?

    Hi,
    I am using the JAX-WS in JDK 6 to build a web service.
    The client sends a request to the server and server starts processing the request. The Server side processing is time consuming.
    I am not sure what exactly happens, but after a certain time, a new thread gets started for server-side processing. I have not used any multi-threading in my coding .
    Does JDK WS include a built-in timeout after which the client automatically resends the request to the server ?
    Thank you.

    Hi Andy,
    I found a workaround: I added some additional resources using a link "http://localhost:8079/"NAME"/:x/:x/:x/:x/:x/:x/:x​/:x/:x/:x/:x/:x/:x/:x/:x/:x" for each type (PUT, GET, POST, DELETE) where I handle the error message with the "Set HTTP Response Code VI"
    Attachments:
    ws_error.PNG ‏9 KB

  • Touch ID registration scans going over 10 times and if it is done dosen't work after some time

    Hi,
    i have an iPhone 5s (Gold GSM 16 GB) which was bought last december.Touch Id was working great in the first few months but now its not that efficient.It dosent recognize my finger for long hours at sometimes and then magically works in the morning and then back to the same.I have seen many youtube videos where during registration of the fingerprint it takes around maybe exact 10 scans.But my iphone most of the time during registration takes more scans like 20-35
    and most of the time eventually ends up with an error, "Try another finger".I have seen two youtube videos where one guy shows to scan it during registration properly by moving it from center-left-right and repeating it while in the other a guy talks of static electricity affecting the touch id.I tried it both and but the problem i faced was during registration where it takes more scans and after the finger lines gets filled it slightly becomes unfilled again.After two times it worked.Then it worked every single time but something made me make another registration of the same finger where the sides were more scanned then the first registration.Eventually i deleted them(biggest mistake!) and it is not registering again and also if it does it happens after 20 faliures saying try another finger.
    Any help would be appreciated!

    Hello there, omsmac.
    The following Knowledge Base article provides a great place to start with some good information that can apply to keyboard issues as well as trackpad:
    Trackpad or Magic Trackpad is jumpy or erratic
    http://support.apple.com/kb/TS1449
    Aside from the usage recommendations, this recommended step is very practical:
    If none of the above resolve the issue, try to rule-out software not created by Apple as a cause. To do so, start in Safe Mode.
    There are some good steps for testing the keyboard as well found here:
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/TS1381
    If the issue persists after attempting Safe Mode, then you may want to try an SMC (System Management Controller) reset. The steps on how to accomplish that are found here:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for

  • How to create an Invoice Book

    I make about 4-7 invoices a week since i have started using Numbers. My process is to create the invoice and convert to PDF for electronic delivery. I normally keep the PDF and the Numbers file. Is there a way of cataloging these invoices so that i c

  • Why can I see my external hard drive?

    For 2 years or more I've had an external hrad drive to back up my Imac. One day I got a message that there had not beeb a back up for for a really long time  ( I have it on automatic). Ever since, I have not been able to see the external hard drive o

  • Error - Document Access Denied. A component for viewing this document needs to be updated

    Hi, I am having a few problems opening a handfull of PDF documents on the network using Adobe Acrobat Reader XI & X. When opening the documents with Adobe Acrobat Reader X I receive the below error message I am then directed to a site to instal the F

  • I never deleted the videos. so where are they

    so i sold my ipod then when i want to watch my tv show i downloaded, they weren't there. now i never deleted them, im 100% sure. and the space on my hard drive is still getting taken up. in my tv show folder it only shows the shows i've already downl

  • Upgradation issues in ECC 6

    Hi All,            Basically I m working in upgradation project . so This upgradation is in version 6. Frnds i m getting so may EP check errors and Unicode incompatibility. So frnds what is the solution for rectifying these errors. Is there any speci