I run a batch file to do image backups. It will only run if I am in the built- in-admin account. When I saw the command line option I thought I had it made. Because the batch file runs in C:\windows\system32\cmd I figured I was already at an elevated commandprompt so I merely added 'net user administrator /active:yes' as the first line in the batch file. I also got a error 5 when the net user line was used. Can you tell me what I need to make this batch file run? I have it on the scheduler to run while I am sleeping.
Last edited by a moderator:
My Computer
At a glance
W7 Ultimate2.2 bh Intel Core i3-2330M4MBOn Board
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- Asus
- OS
- W7 Ultimate
- CPU
- 2.2 bh Intel Core i3-2330M
- Motherboard
- Asustek Computer Inc. P53E 1.0
- Memory
- 4MB
- Graphics Card(s)
- On Board
- Sound Card
- On Board
- Monitor(s) Displays
- On Board
- Screen Resolution
- 1366 X 768
- Hard Drives
- ST9500423AS
ST2000DM USB Backup Drive External
