New
#1
running DOS as ADMIN
I need to run a command (schtasks) that requires ADMIN privileges. I added schtasks to a bat file (along with my other DOS commands that do not require ADMIN priviliges), right-clicked its shortcut and chose the
RUN AS ADMIN option. A DOS screen appeared for a milisecond and then vanished so I have no idea what the problem is (since without running as ADMIN the DOS screen remains for me to take further action).
I can run other programs as ADMIN so why can't I run this one? For example, if I were to open a DOS window as ADMIN and then manually type in the schtasks command there would be no problem.
Thanks in advance to all who reply.
Dan