MSFN Forum: Running logoff script - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Running logoff script Is this possible ?? Rate Topic: -----

#1 User is offline   beol 

  • Group: Members
  • Posts: 3
  • Joined: 29-August 05

  Posted 14 October 2005 - 04:38 AM

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


#2 User is offline   Gouki 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,168
  • Joined: 19-March 05

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:

shutdown -p


And save the .txt file as .CMD

Hope this helps.

#3 User is offline   net_user 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 358
  • Joined: 02-June 05
  • OS:Windows 7 x86
  • Country: Country Flag

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.

#4 User is offline   beol 

  • Group: Members
  • Posts: 3
  • Joined: 29-August 05

Posted 14 October 2005 - 07:21 AM

View Postnet_user, on Oct 14 2005, 01:36 PM, said:

beol
what 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 netdrive

I know in Microsoft AD there is a policie thats enable "logoff" scripts
But i don't run AD i run Novell

#5 User is offline   net_user 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 358
  • Joined: 02-June 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 October 2005 - 07:40 AM

actually..i think you can run a shutdown script.

run gpedit.msc

computer configuration\windows settings\scripts

#6 User is offline   Nex6 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 14-October 05

Posted 14 October 2005 - 09:08 AM

gpedit.msc

create a local policy, and modify it there.



-Nex6

#7 User is offline   perinouk 

  • Group: Members
  • Posts: 1
  • Joined: 09-March 08

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!

#8 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy