Running the net or sc commands with the rights of the local System


  1. Posts : 106
    Windows 7
       #1

    Running the net or sc commands with the rights of the local System


    Hi

    In Windows 7 SP1, how do I run the net or sc commands with the rights of the local System?

    Thanks

    Bye
      My Computer


  2. Posts : 1,049
    Windows 7 Pro 32
       #2

    Why do you want to do that, isn't an elevated window as administrator enough?
      My Computer


  3. Posts : 106
    Windows 7
    Thread Starter
       #3

    Tookeri said:
    Why do you want to do that, isn't an elevated window as administrator enough?
    Because some services want the System's rights to be managed.

    Thanks

    Bye
      My Computer


  4. Posts : 1,049
    Windows 7 Pro 32
       #4

    Try this: PsExec with the -s parameter. And -i for interactive window. To launch a new cmd.exe from an elevated command prompt. Then verify with the whoami command.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:13.
Find Us