Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

forestalling/cancelling logoff

  • 31-05-2010 4:46pm
    #1
    Registered Users, Registered Users 2 Posts: 1,190 ✭✭✭


    I created a program that pops up as the user logs off. It's vbs and i've set it up to run as the logoff script.
    Problem is that windows 7 blanks the screen. So it doesn't quite log off you just get fully black screen and the mouse. If i alt f4 out of the program that runs from the logoff script, it then goes back to logging off fine. I haven't had a chance to try this proper on xp (which is what i need to get it working on) as all i have is home edition currently with no gpedit but i assume it acts in a similar way.

    The question i have is: is there anyway of stopping the screen from blanking or else cancelling it. shutdown -a doesn't seem to work but not surprisingly, i think it only works on shutdown and you cannot have a timed logout either.

    I'm still looking to see if i can find any functions in api that might do it but so far no luck.

    Any ideas?

    Only thing i can think of is to disable logout buttons and create a batch script that's write protected that launches what i need and then logsout but i'd REALLY REALLY rather not.


Comments

  • Registered Users, Registered Users 2 Posts: 5,965 ✭✭✭JDxtra


    I have never had to use a log off script before, so I am interested in knowing what you want to achieve with it. Windows 7 is geared for fast start up and shutdown times so maybe your script is calling a Windows component that has already begun to shutdown?


  • Registered Users, Registered Users 2 Posts: 134 ✭✭simoniz


    interested in this one,....


Advertisement