I logged the windows 2000 server with username (xxxx) with domain (ABCD),
I want to mapped drive with username (xxxx) with domain(WXYZ). username is same but server logged domain and mapped drive domain is different.
I created batch file and written below in the batch file
"net use x: \\server\share /user:domain\username password
(net use x: \\myserver.sbc.com\app /user:wxyz\xxxx yyyy)".
I ran the batch file manually and it is working fine. But when I ran the batfile using task scheduler it can't created mapped drive.
Please find below steps that I followed.
1. Add Task scheduler.
2. Browse the file (C:\mapdrive.bat)
3. Start in (C"\)
4. Run as Domain\username (abcd\xxxx)
5. Schedule task (daily)
6. Power Management ( checked "Don't Start task if computer is running on batteries"
Checked "Stop the task if batter mode begins.)
7. Given full control access to local domain (abcd\xxxx) and administrator)
8. Run the task scheduler but It can't work.
I have changed the Run as filed as Domain\username (WXYZ\xxxx) but still I can't mapped drive. Please assist on this issue.
I want to mapped drive with username (xxxx) with domain(WXYZ). username is same but server logged domain and mapped drive domain is different.
I created batch file and written below in the batch file
"net use x: \\server\share /user:domain\username password
(net use x: \\myserver.sbc.com\app /user:wxyz\xxxx yyyy)".
I ran the batch file manually and it is working fine. But when I ran the batfile using task scheduler it can't created mapped drive.
Please find below steps that I followed.
1. Add Task scheduler.
2. Browse the file (C:\mapdrive.bat)
3. Start in (C"\)
4. Run as Domain\username (abcd\xxxx)
5. Schedule task (daily)
6. Power Management ( checked "Don't Start task if computer is running on batteries"
Checked "Stop the task if batter mode begins.)
7. Given full control access to local domain (abcd\xxxx) and administrator)
8. Run the task scheduler but It can't work.
I have changed the Run as filed as Domain\username (WXYZ\xxxx) but still I can't mapped drive. Please assist on this issue.