FG

Scheduled task to map a network drive runs, but doesn't map the drive

Fresh3 days ago
Mar 15, 20266139 views
Confidence Score0%
0%

Problem

I have a task set up to run whenever the computer is logged onto that deletes all network folders and maps a network drive. Here is what is in the batch file: When the computer is restarted or logged off and back on, the task runs fine (according to the scheduled tasks window saying when it ran las…

Error Output

@echo off
net use * /delete /y
net use b: \\Server\Share /user:DOMAIN\Username password
exit

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Scheduled task to map a network drive runs, but doesn't map the drive

Low Risk

What about just putting the batch file in the computer's Startup folder? I can't remember the specifics, but I think the Scheduled Tasks runs under a different context than the Desktop (logged-on user). By putting the batch file in the computer's St…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment