Prev: DOMAIN\user and LOCAL\user are same persons and want to share a profile on local machine.
Next: Windows XP Service Pack 3 - ISO-9660 CD Image File
From: kaihamil on 4 May 2010 17:04 Remush via WindowsKB.com;640102 Wrote: > Is it possible to assign a log off script via the command line ? > > for example : I have a generic log off script which can be run on many > computers, and I would like a way to assign it without going through > the > gpedit.msc console. > > -- > Message posted via WindowsKB.com > http://www.windowskb.com/Uwe/Forums.aspx/windows-xp-setup/200804/1 Yes it is run try this type up the following in notepad: ______ Windows Registry Editor Version 5.00 [HKEY_USERS\S-1-5-21-2344085873-2178055775-2724351323-1005\Software\Policies\Microsoft\Windows\System\Scripts\Logoff\0\0] "Script"="thumb-drive-reminder.vbs" "Parameters"="" "ExecTime"=hex(b):00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 _________ and replace thumb-drive-reminder.vbs with the file you wish to mount in the registry then save it as a *.reg file then go to the directory you saved it in and run it and click yes. It might work if not you have to figure out where your logoff registry is located by again using gpedit.msc ;) |