Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know about logging in to SYSTEM(high privileges) user in windows 7?.

In my XP machine I do:

command prompt:

at 10:20 /interactive cmd.exe

then closing the explorer.exe and reopening that.

But it shows some warning in windows 7 and also not performing the scheduled task at the specified time:

Due to security enhancements, this task will run at the time expected but not interactively. Use schtasks.exe utility if interactive task is required ('schtasks /?' for details). Added a new job with job ID = 1

Is it possible in windows 7 ?

share|improve this question
1  
... Why do you want to do this? If you think you need to run something as SYSTEM, then running something as SYSTEM is not your problem. Launch the command prompt as an administrator - If you're having permissions issues with an elevated command prompt, post about that problem specifically. Running as the SYSTEM user is not the answer. –  Darth Android May 16 '13 at 16:22
1  
The answer to this is YOU DON'T - System is a service account and should not be logged into. Perhaps you should add a new question or edit this one to explain what you want to achieve and we'll try to point you in the right direction. –  James Snell May 16 '13 at 21:04

2 Answers 2

Use PsExec from Microsoft with the -s and -i options.

To start a command prompt running in the local system account.

Add the file containing PsExec to your PATH environment variable.

Start an elevated command prompt by right-clicking cmd.exe and clicking 'Run as Administrator'

Enter the command: psexec -sid cmd.exe

See the example 42 minutes 20 seconds into http://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/SIA311

If this isn't what you are trying to do, I have misunderstood your question.

share|improve this answer
    
But that didn't solve my problem... i'm not able to access the SYSTEM user with that... –  Gowtham May 16 '13 at 18:34
    
@Gowtham can you explain what you are trying to accomplish, give us the big picture. You are falling in to the XY Problem and if you tell us what you are trying to do we may be able to tell you a way to accomplish it in a different way. –  Scott Chamberlain May 16 '13 at 21:05
    
My C drive is showing warning of low disk space, i'm using windows7 now, i have to delete ProgramData(its is a hidden folder) in my C: drive, its is nearly occupying 10GB of my C drive, if i try delete the content of the fold it showing Access is denied. I had the same problem in my XP machine before win7, i will delete those unwanted and system caches through the SYSTEM user, in that also Administrator have no privilages to delete the hidden files in ProgramData. –  Gowtham May 17 '13 at 6:57

For the Question:

I use anothor method: Search for a program entitled runassrv, put it in System32, and run:

runassrv add /name:"SystemCmdService" /cmdline:"cmd" /type:InteractiveProcess

This will add a service called "SystemCmdService". Start this service:

sc start SystemCmdService

A dialog will pop up (in the taskbar). Click "View message" and you will go to another screen with a cmd window running in System account and another dialog to come back.

Don't forget to delete this service later:

sc delete SystemCmdService

For the Problem:

I see you just want to delete some files in the comments above.

The actual problem may be the access control of the files. There ARE certain files that even System cannot open.

Please try:

  1. Login as Administrator, temporarily disable UAC;

  2. Right click the file, select Properties, Security tab, Advanced.

  3. First goto Owner tab, Edit, change the owner to you (Administrator), save.

  4. Close and reopen Security tab, Advanced, change the access control so that you have Full control.

share|improve this answer
    
I just saw runassrv is reported as Trojan/Win32.Zlob, possibly because it is often used by poorly-written trojans that want SYSTEM privileges too. I use it as a SYSTEM service without any problem. nssm (the Non-Sucking Service Manager) is an free and open source (public domain) alternative. –  jingyu9575 Sep 30 '13 at 3:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.