It would be better to leave Administrator alone, for your purposes I would create another local account (say, Admin) make that an administrator and give it a password. Then you can runas Admin rather than the built-in Administrator.
This won’t work. runas isn’t designed to run a program elevated, but when you run a program with the builtin Administrator’s credentials you guarantee that that program runs elevated due to it’s special rights.
I have a program that I use to script some GUI only programs. I use it to have a one button desktop shortcut with (essentially) the following command:
C:\Windows\System32\runas.exe /user:mycompname\Administrator /savecred "myprogram.exe...
Hi!
I tried to use RunAs to start and program as admin.
After entering this command:
RunAs.exe /user:Administrator "regedit.exe"
it shows prompt to enter password.
Is possible to override password prompt by any way?
Hello!
I wrote my first tool and i would like to present it here.
short description:
RunAs Taskbar is a free windows software to make your admin-tools easier to organize!
If you run RunAs Taskbar as...
Hi Yet again, Windows is frustratingly taking up all of my time and I have tried everything google has to offer to try and fix it but it seems like no one has screwed up as much as I have on whatever forum. Let me explain the problem: I'm...