OS Dependent Logoff/Logon Script run via GPO

Use following VBS script Startup or Shutdown script.

with above script, on Windows 2000 it will execute regedit.exe, on Windows XP it will execute calc.exe, and on Windows 2003 it will execute notepad.exe. You can change the file as you wish.. SaugataSaugata is the owner and founder of this blog. https://technochat.in