![psexec could not start cmd c psexec could not start cmd c](https://i.stack.imgur.com/zG8BE.png)
One other way I could possibly delete keys that I couldn't as regular Administrator would be to launch Windows into Safe Mode and try editing from there. It This line says, "run this command as the SYSTEM account and let the process interact with the desktop." If I look at the Task Manager after running this command, check out regedit.exe:Īt this point, I was able to delete basically anything in the registry.
#Psexec could not start cmd c how to
That said, here's cheerfully how to use it! Woohoo! psexec -s -i regedit.exe
![psexec could not start cmd c psexec could not start cmd c](https://www.codeproject.com/KB/IP/RemoteProcessCmd/Figure1.png)
There aren't enough words with big enough fonts and scary enough evocative stock photography to fully express how dangerous this tool is. You can hurt yourself and your system with PsExec in ways where you'll not realize until it's too late. If there was one tool that really "takes the safety off the gun," it's PsExec. Deny this, I say! So I turned to the SysInternals Tools, specifically PsExec. That said, what's the best way to motivate an engineer? Tell him something isn't possible. Considering that I am trying to removing low level network stuff it was good that I was being stopped. There are other, deeper users like SYSTEM that have access to things Administrator (rightfully) doesn't.
![psexec could not start cmd c psexec could not start cmd c](https://4.bp.blogspot.com/-XWG5Z-UVFqI/WZvQIc6Y2rI/AAAAAAAACVE/onypv5MhacUR9qxNuGNhb1gWdU-gNRdmwCLcBGAs/s1600/Error.png)
"Access Denied." What?!? I'm the all powerful Administrator! sudo make me a sandwich!Īdministrator isn't all powerful. I searched for the brand of the adapter I was wanting to delete, and when I started deleting stuff I was getting smacked with I ran it as Administrator so I could have (I thought) the ability to delete anything. Since I'm supposed to be technical, and since I was ready to reinstall it wouldn't hurt if I messed up the system, I fired up regedit.exe. Clearing removing them with the Device Manager UI wasn't working for me.Īt this point it was either time for a repave of the machine (basically a complete reinstall since I got it into a bad state) or running around in the registry and deleting these phantom adapters. Each time I uninstalled these 7 (!) phantom network adapters, they'd be back on a reboot. Unfortunately, their uninstaller didn't so much "uninstall" the program as it "uninstalled the uninstaller then left everything around chilling." This left my system in a really weird state with half-connected phantom network adapters and I was getting some weird hangs. Later, things started acting wonky so I uninstalled it. It was a bad idea and I happily clicked Yes Yes Yes, Oh Yes, I Know, Hurt Me, Warning, Sure, Absolutely, Next, Next, Finish without a thought. A while back I installed some crazy open source network adapter virtualization software.