I have a batch file as the following:
---
@echo off
start /B net use t: /delete
start /B net use t: https://dav.z.com password /USER:[email protected] /persistent:no
---
I set up a task on task schedule to run it. If I let it run after user log in, it works fine. If I let it run whether user log in or not, it completed but nothing happened even highest privilege is ticked.
---
@echo off
start /B net use t: /delete
start /B net use t: https://dav.z.com password /USER:[email protected] /persistent:no
---
I set up a task on task schedule to run it. If I let it run after user log in, it works fine. If I let it run whether user log in or not, it completed but nothing happened even highest privilege is ticked.
My Computer
- OS
- Windows 7 Home Premium 32bit