October 14, 200520 yr 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 regardBenjamin
October 14, 200520 yr 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:shutdown -pAnd save the .txt file as .CMDHope this helps.
October 14, 200520 yr beolwhat 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.
October 14, 200520 yr Author beolwhat is it your trying to acheive? delete some settings, some temp files then shutdown?i wanna copy a file from the client computer to a netdriveI know in Microsoft AD there is a policie thats enable "logoff" scriptsBut i don't run AD i run Novell
October 14, 200520 yr actually..i think you can run a shutdown script.run gpedit.msccomputer configuration\windows settings\scripts
March 9, 200818 yr 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!
March 9, 200818 yr 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.
Create an account or sign in to comment