Like the Topic..
Is its possible to run a script when the user makes a shutdown ?
(Start -> shutdown)
I know i can make a script that shutdown the pc when its done but can it run automatically ?
Best regard
Benjamin
Page 1 of 1
Running logoff script Is this possible ??
#2
Posted 14 October 2005 - 05:50 AM
As you can see, English is not my native language, therefor I didnt understand exactly what you wanted.
However, if you want to make a script to shutdown a computador, all you have to do is something like this:
And save the .txt file as .CMD
Hope this helps.
However, if you want to make a script to shutdown a computador, all you have to do is something like this:
shutdown -p
And save the .txt file as .CMD
Hope this helps.
#3
Posted 14 October 2005 - 06:36 AM
beol
what is it your trying to acheive? delete some settings, some temp files then shutdown?
Gouki
the -p option is not available in the shutdown command.
what is it your trying to acheive? delete some settings, some temp files then shutdown?
Gouki
the -p option is not available in the shutdown command.
#4
Posted 14 October 2005 - 07:21 AM
#5
Posted 14 October 2005 - 07:40 AM
actually..i think you can run a shutdown script.
run gpedit.msc
computer configuration\windows settings\scripts
run gpedit.msc
computer configuration\windows settings\scripts
#6
Posted 14 October 2005 - 09:08 AM
gpedit.msc
create a local policy, and modify it there.
-Nex6
create a local policy, and modify it there.
-Nex6
#7
Posted 09 March 2008 - 03:41 AM
Hey,
My corporate computer got a logoff script. This is not a problem when I'm on the network or offline without having wifi access. However, when I have VPN connected with wifi access and then logoff, then it takes 10+ minutes to logoff... what can I do to rectify this problem?
Thanks for all your help!
My corporate computer got a logoff script. This is not a problem when I'm on the network or offline without having wifi access. However, when I have VPN connected with wifi access and then logoff, then it takes 10+ minutes to logoff... what can I do to rectify this problem?
Thanks for all your help!
#8
Posted 09 March 2008 - 10:12 AM
instead of waking a 3 year old thread it would be better to have started a new thread.
But since it has been done, if you have control of the logoff script add code to check what network you system sees and don't run if the vpn is active. By the sound of it it is timing out while trying to contact your domain controller or a filer which is not properly contactable when on the VPN Ten minutes is the default timeout for startup.login.logoff scripts on a domain.
But since it has been done, if you have control of the logoff script add code to check what network you system sees and don't run if the vpn is active. By the sound of it it is timing out while trying to contact your domain controller or a filer which is not properly contactable when on the VPN Ten minutes is the default timeout for startup.login.logoff scripts on a domain.
Share this topic:
Page 1 of 1



Help
Back to top










