Startup script runs manually, but fails in Group Policy'startup folder

Tipiford

New member
Member
Local time
7:34 PM
Messages
57
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.
 

My Computer My Computer

At a glance

Windows 7 pro 64 bit with XP Mode
OS
Windows 7 pro 64 bit with XP Mode
I would guess its running before the network is up put a delay in the script to give network time to kick in
 

My Computer My Computer

At a glance

win 8 32 bit
Computer type
PC/Desktop
OS
win 8 32 bit
I wonder if he got it working per your response. Hate it when people ask for help and then don't reply when someone provides assistance.
 

My Computer My Computer

At a glance

Windows 7 Pro SP1 64 bit8 GB
Computer type
Laptop
Computer Manufacturer/Model Number
Dell M6500 Precision Work Station
OS
Windows 7 Pro SP1 64 bit
Memory
8 GB
Screen Resolution
1920x
Internet Speed
30 Mbps
Antivirus
Norton Security
Browser
IE 11
Back
Top