Tuesday, August 6, 2019

windows server 2008 r2 - runas with administrator privileges

I'm having some problems with running the command prompt with administrator privileges.


I'm use this command, to run as a specific user:


runas /user:DOMAIN\MYUSER cmd


The user DOMAIN\MYUSER is member of DOMAIN\Domain Administrators who are in the local Administrators group.


But when I try to run net start/stop MyService I get an access denied error. Any suggestions?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...