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..

One thought on “OS Dependent Logoff/Logon Script run via GPO

Leave a Reply

Your email address will not be published. Required fields are marked *