rslulz Posted August 10, 2012 Posted August 10, 2012 So I'm sitting here scripting out a batch job, and it requires elevated command prompt permissions so I added that into it. However I started thinking about it why I need to do this obviously the script won't work if I don't, but I'm curious as to why... Anyone else ponder this?
ihaveaproblem Posted August 10, 2012 Posted August 10, 2012 because UAC is turned on for a security measure to prevent unwanted applications running without your permission. At least I think that's why. Personally I turn off UAC every where. Hate the thing 1
jamesbrown Posted August 10, 2012 Posted August 10, 2012 Yes, i've had similar problems and its down to UAC
SYNACK Posted August 10, 2012 Posted August 10, 2012 It is down to UAC as it requires elevation on aything other than the local admin or core admin account. The elevation can either just prompt for a yes/no if you are an admin or a password and username if a standard user. UAC is a good thing as it forces security in as a consideration. It solves more problems than it creates and you should really learn to work with it if possible rather than just rolling back to last decades practice.
rslulz Posted August 10, 2012 Author Posted August 10, 2012 I'm not referring to UAC controls gent's I'm referring to elevated command prompt even with the highest level of rights somethings require command prompt to run as administrator even though I'm already an admin? I'm talking to the specific command prompt example.
SYNACK Posted August 10, 2012 Posted August 10, 2012 I'm not referring to UAC controls gent's I'm referring to elevated command prompt even with the highest level of rights somethings require command prompt to run as administrator even though I'm already an admin? I'm talking to the specific command prompt example. Weird, what command. Some stuff needs to be run as the domain administrator like if your running domain schema upgrades.
rslulz Posted August 10, 2012 Author Posted August 10, 2012 SYNACK should I send you the vbs? I don't know about posting it here.
SYNACK Posted August 10, 2012 Posted August 10, 2012 SYNACK should I send you the vbs? I don't know about posting it here. You can if you want, I might be able to see something in there that is tripping over predetermined access privilages.
mavhc Posted August 12, 2012 Posted August 12, 2012 That's part of UAC, even as an admin programs by default don't have admin access, the difference is they can get it without needing a password.
SYNACK Posted August 12, 2012 Posted August 12, 2012 The script in question called another executable that accessed privilaged areas of the system the same information could be grabbed through WMI in a VBS so that turned out to be the easiest way around the app that was not handling elevation.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now