Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    May 2013
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  2. #2
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,414
    Thanks
    33
    Thanked 195 Times in 175 Posts
    I've never needed this, but you could investigate running NET or SC via RUNAS?
    BATcher

    Time prevents everything happening all at once...

  3. #3
    Star Lounger
    Join Date
    Apr 2011
    Posts
    99
    Thanks
    5
    Thanked 18 Times in 17 Posts
    Do you mean the actual SYSTEM account (as opposed to the Administrator)?
    Try running a scheduled task via the "at" command in a CMD window.
    Example:
    at 15:00 "net stop print spooler"

  4. #4
    2 Star Lounger
    Join Date
    May 2013
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts
    With Windows 7 SP1, how do I create a scheduled job in which his commands will be run with the System's rights on the Windows startup?

    Thanks

    Bye

  5. #5
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,179
    Thanks
    47
    Thanked 983 Times in 913 Posts
    Running at Windows startup can be done via the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Run registry key.

    cheers, Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •