Privilege Escalation For Launching CMD Prompt In System Account Context Allows Interactive Debugging Of Windows and XP OS

| | TrackBacks (0)

Command below create a new service you can call to launch a System Account level cmd prompt. Think of this like root on Linux or other *nixes... Put a shortcut on your desktop with shortcut keys like CTRL-ALT-S and you can spawn this window with some hotkeys.


sc delete testsvc
sc create testsvc binpath= "cmd /K start" type= own type= interact
sc start testsvc
echo sc start testsvc > c:\testsvc.cmd

Note that interact above is part of the second line of the command window...


Antimail : Running CMD.EXE as Local System


Many times in the past I had to run an interactive command-line shell under the Local SYSTEM account. That is, a CMD window on your desktop running under the system account. This technique is extremely useful in many cases, for example to debug ERROR_ACCESS_DENIED type errors that are coming from a system service.

0 TrackBacks

Listed below are links to blogs that reference this entry: Privilege Escalation For Launching CMD Prompt In System Account Context Allows Interactive Debugging Of Windows and XP OS.

TrackBack URL for this entry: http://kennethhunt.com/mt/mt-tb.cgi/1767

About this Entry

This page contains a single entry by klsh published on November 10, 2006 5:49 PM.

Barry Warsaw Will Talk About What Is Python? was the previous entry in this blog.

Running Hadoop Clusters On Amazon EC2 (Elastic Compute Cloud) Computing Service :: Applications Built On Commodity Hardware is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.