New
#1
Startup script runs manually, but fails in Group Policy'startup folder
I have startup script that opens several network folders, which works perfectly when run manually from the cmd prompt or from windows explorer, but shows several errors on startup of the computer (cold start or restart). On a cold start or restart we get network errors 85 and 53 and then the script hangs awaiting input. (Manually, this runs perfectly either as a batch file or I can paste the contents of the .bat file in the cmd prompt.)
Here is the script with one of the commands (all the commands, with the exception of the individual shares, are the same):
@echo off
if exist K: net use K: /delete /y >nul
net use K: \\Server-Office\DriveO\Storage\Knitting /persistent:yes >nul
exit
There surely is a reason the startup is causing this that I'm overlooking.