Log on as administrator.
Run a command prompt.
PHP Code:
sc sdshow Mezzmo
this should return a lengthy string such as
PHP Code:
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
Run regedit, and browse too:
PHP Code:
HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows NT>CurrentVersion>ProfileList
Have a look through the folder keys for the ProfileImagePath that relates to the user you wish to give control too, and grab the SID (key folder name) eg:
PHP Code:
S-1-5-21-436374069-1220945662-725345543-2115
Next, we edit the sc sdshow string. Insert
PHP Code:
(A;;RPWPCR;;;S-1-5-21-436374069-1220945662-725345543-2115)
(where S-1-5-21-436374069-1220945662-725345543-2115 = your SID) before the S:(AU;.....) part of the string so it looks like:
PHP Code:
sc sdset Mezzmo D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;RPWPCR;;;S-1-5-21-436374069-1220945662-725345543-2115)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
(this is hard to read but I had to show it as phpcode so as to avoid loads of smileys!
And hopefully you should get:
PHP Code:
[SC] SetServiceObjectSecurity SUCCESS
Hope this helps.
Bookmarks