In previous versions of Windows, you could use

C:\> at 16:30 /interactive cmd.exe

to start the CMD prompt in LocalSystem context.

In Windows 8 this method doesn’t work anymore.

The new method involves activating the interactive services detection service and using sc.exe which communicates with the Service Controller and installed services.


.

Activate the interactive services detection service

1) Open regedit.exe and change

HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Control
Windows
NoInteractiveServices

from 1 to 0

2) Restart Windows

3) Open a CMD prompt as Administrator

4) Create a new Windows service

C:\> sc create localcmd binpath= "cmd /K start" type= own type= interact
[SC] CreateService SUCCESS

5) Start the new Windows service

C:\> sc start localcmd

You will get an error message

[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.

But when you look at the taskbar you will see a program requesting attention. When you click the icon, you will get a prompt

Interactive Services Detection
A program running on this computer is trying to display a message.
The program might need information from you or your permission to complete a task.
- View the message
- Ask me later

When you click the View the message button you will find yourself in a screen with light blue background and one CMD prompt window.

interactive_services_detection

This CMD prompt is running as LocalSystem which can be checked with

C:\windows\system32>whoami
nt authority\system

Use exit to close the CMD prompt and click Return now to return your normal session.

If you wish to delete the new service run C:\>sc delete localcmd.

Advertisements