ddeerr Posted January 5, 2009 Share Posted January 5, 2009 Hi all,It seems that in the security functions it is possible to edit Permissions on registry Keys, i said "it seems" because i cannot test most of them due to a lack of uderstanding.For example : _Security__AdjustTokenPrivileges($hToken, $fDisableAll, $pNewState, $iBufferLen[, $pPrevState = 0[, $pRequired = 0]])I don't understand where to get $hToken and $tagtagTOKEN_PRIVILEGES ($pNewState in definition) and i know that's because i don't know what is it, i suppose it's some kind of link to registry, or system access ?Same in _Security__LookupPrivilegeValue($sSystem, $sName) as i don't know exactly what is it it tried :_Security__LookupPrivilegeValue("", "Full Control"); for registry on default system ?or_Security__LookupPrivilegeValue("", "Read"); for file(s) on default system ?i know it's incorrect because it's always 0 for result.I found no help in forum or AutoIt help about that, is there someone that can quickly explain to me about that ?thanks Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 5, 2009 Share Posted January 5, 2009 Save yourself a lot of trouble and download SetACL.exe.Unless you just want to learn this to kill time between your recreational root canals... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Solution ddeerr Posted January 6, 2009 Author Solution Share Posted January 6, 2009 Save yourself a lot of trouble and download SetACL.exe.Unless you just want to learn this to kill time between your recreational root canals... Thanks for your reply. Link to comment Share on other sites More sharing options...
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