I need to map a network drive to backup mssql database, I used to use windows 2003 resource kit to run autoexnt service, but I found the following method is also working for me on windows 2008 standard edition. here you go.
http://www.tutorial5.com/content/view/157/47/
Now if you want to integrate any kind of script to automatically run when Windows starts or shuts down (user logon/logoff), you must follow these steps:
1. Click Start - Run and type mmc
(note that you must be logged in with an administrator account for this)
2. On the Management console that starts, click File -> Add/Remove Snap-in.
3. On the window that opens, search for Group Policy Object editor on the left panel, click Add and in the properties window that pops out leave the settings that are selected (Local computer) and click ok. The result should be like in the picture bellow
Click "OK"
4. Navigate through the left panel by opening each branch like this: Console Root -> Computer configuration -> Windows Settings -> Scripts (Startup/shutdown)
5. Open the properties window for Startup or Shutdown as you desire from the right panel; on the window that pops out add, edit or remove scripts that you want.
This works on Windows 2000/2003/XP and Vista. Hope you found this useful.
http://www.tutorial5.com/content/view/157/47/
Now if you want to integrate any kind of script to automatically run when Windows starts or shuts down (user logon/logoff), you must follow these steps:
1. Click Start - Run and type mmc
(note that you must be logged in with an administrator account for this)
2. On the Management console that starts, click File -> Add/Remove Snap-in.
3. On the window that opens, search for Group Policy Object editor on the left panel, click Add and in the properties window that pops out leave the settings that are selected (Local computer) and click ok. The result should be like in the picture bellow
Click "OK"
4. Navigate through the left panel by opening each branch like this: Console Root -> Computer configuration -> Windows Settings -> Scripts (Startup/shutdown)
5. Open the properties window for Startup or Shutdown as you desire from the right panel; on the window that pops out add, edit or remove scripts that you want.
This works on Windows 2000/2003/XP and Vista. Hope you found this useful.
Comments
Post a Comment