Meevinman Posted August 13, 2014 Report Share Posted August 13, 2014 Hi all To begin with, the creation and initialization of the following batch file is intended to clear monitor data from the registry, which is neither here nor there in this instance, but here is a link to the page which where I received instructions on how to create the batch file and a quick overview of it's purpose. http://myitforum.com/myitforumwp/2012/09/24/cleaning-up-old-pc-monitor-data/ Firstly, I tried running the batch file in a couple of accounts assigned to an Administrator group. but kept receiving the following response within CMD The command is subinacl /subkeyreg HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY /grant=<domain>\<username> Firstly, I have already MS tools subinacl.msi "SeSecurityPrivilege : Access is denied WARNING :Unable to set SeSecurityPrivilege privilege. This privilege may be required."HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY : 5 Access is denied. Then, I ran cmd under Administrator (even though I'm using an Administrator account *face palm*) and this is what was returned: C:\Program Files (x86)\Windows Resource Kits\Tools>subinacl /subkeyreg HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY /grant=<domain>\<username>SYSTEM\CurrentControlSet\Enum\DISPLAY : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY - RegSetKeySecurity Error : 5 Access is denied.SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor - RegSetKeySecurity Error : 5 Access is denied.SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713bca&0&UID0 : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713bca&0&UID0 - RegSetKeySecurity Error : 5 Access is denied.SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713bca&0&UID0\Device Parameters : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713bca&0&UID0\Device Parameters : 1 change(s)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713bca&0&UID0\Properties - AddAce error : 87 The parameter is incorrect.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713bca&0&UID0\Properties: 5 : Unable to enumerate subkeysSYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949 : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949 - RegSetKeySecurity Error : 5 Access is denied.SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID0 : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID0 - RegSetKeySecurity Error : 5 Access is denied.SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID0\Device Parameters : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID0\Device Parameters : 1 change(s)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID0\Properties - AddAce error : 87 The parameter is incorrect.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID0\Properties: 5 : Unable to enumerate subkeysSYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850 : new acefor <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850 - RegSetKeySecurity Error : 5 Access is denied.SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850\Device Parameters : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850\Device Parameters : 1 change(s)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850\Properties - AddAce error : 87 The parameter is incorrect.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850\Properties: 5 : Unable to enumerate subkeysSYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851 : new acefor <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851 - RegSetKeySecurity Error : 5 Access is denied.SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851\Device Parameters : new ace for <domain>\<username>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851\Device Parameters : 1 change(s)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851\Properties - AddAce error : 87 The parameter is incorrect.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851\Properties: 5 : Unable to enumerate subkeysElapsed Time: 00 00:00:00Done: 15, Modified 4, Failed 11, Syntax errors 0Last Done : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851\PropertiesLast Failed: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851\Properties - AddAce error : 87 The parameter is incorrect. Can anybody gather from what was produced from that command, tell whether the command successfull enough to do what is described within the link I prodivided under the first paragraph of this post. If anyone is able to assist in this issue it would be much appreciated. Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted August 14, 2014 Report Share Posted August 14, 2014 subinacl /subkeyreg HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY /grant=<domain>\<username> Did you actually put in the actual domain / user name? Quote Link to comment Share on other sites More sharing options...
Meevinman Posted August 14, 2014 Author Report Share Posted August 14, 2014 subinacl /subkeyreg HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY /grant=<domain>\<username> Did you actually put in the actual domain / user name? I omitted the domain and username for security reasons, but I did use it in the batch file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.