Privilege Escalation to SYSTEM in Vista

onetwenty8k

2[H]4U
Joined
Nov 24, 2006
Messages
2,554
There is a pesky problem with partially uninstalled Cisco VPN clients that we've been getting lately. The problem is, there is the Languages folder that is left and no user except for SYSTEM has access to it. Long story short, it takes about 20-30 minutes to change the permissions for each last file and folder so I need a way to access CMD.exe with SYSTEM to delete the files manually. The only thing is, "at xx:xx /interactive cmd.exe" as you know, doesn't work on vista so if anyone of you have a way, please share it. Thanks. :)
 
You are individually altering the security of everything under it???

Can't you just have it overwrite security on all the subfolder objects?

It's in the Advanced security settings edit.
 
Oh believe me, I've exhausted almost every option. I've been through this 20+ times. Access denied has been ingrained in my head.
 
Hrm... I'm not sure you can run a command prompt as system.

What if you wrote a VB script to change the permissions and then set it up as a scheduled task to run as system?
 
You could do it with XP with the at command but in vista, the user isn't in the same session as the SYSTEM. Stupid vista.
 
I don't have the answer--I've used the "at" trick in XP before and also discovered not-too-long-ago that it doesn't work on Vista. In my case, just logging in as "administrator" was sufficient to fix the problem, though. Just posting for the thread subscription :)
 
Unfortunately, logging is administrator does not work. This VPN permission thing is probably one of the most frustrated thing that I have worked on in a while.
 
This guy started a command prompt by making CMD a service. Probably a decent temporary fix if it works. I just skimmed the article, but I didn't see what OS it was geared towards.
 
Sorry, don't know any SYSTEM escalation tips. But just making sure, have you tried running takeown from an administrator-escalated command prompt? It's been successful for me where the registry edit wouldn't work.
 
Back
Top