FG
💻 Software

How to wake a network drive from batch script?

Fresh5 days ago
Mar 15, 20263474 views
Confidence Score0%
0%

Problem

I have a batch script which runs a robocopy. It is failing because the drive is not awake. In windows explorer, doubling clicking on that icon "wakes" up the link and the cross disappears and the robocopy runs without issue. How can I wake it up in a batch file? Additional Info: If my PC sleeps or …

Error Output

Status       Local     Remote                    Network

---------------------------------------------------------------------------
OK           P:…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to wake a network drive from batch script?

Low Risk

I am not familiar with this problem but you may want to try out two things: Try running a Dir command against the drive and see if it wakes up: Dir T:\ You can always disconnect and then connect the drive again from the command line, IE: from your b…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment