Yes. It is possible to run. You can run the batch file using any one of the method:
1) Click on Start and then click on Run. In the Run dialog box, type gpedit.msc and hit Enter or click on OK. It will open Group Policy Editor. Then, click on Computer Configuration and then Windows Settings and then Scripts (Startup/Shutdown).
Or
2) Click on Start and then click on Run. In the Run dialog box, type gpedit.msc and hit Enter or click on OK. It will open Group Policy Editor. Then, click on User Configuration and then Windows Settings and then Scripts (Logon/Logoff).
It will use the System account to run the file which has administrator privileges. And, this will run everytime you start the computer. You can also restrict the script from running using condition if it is already completed its job.


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks