Jump to content

Confirmation batch file ran correctly


Meevinman
 Share

Recommended Posts

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_LOCA
L_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 Err
or : 5 Access is denied.

SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor : new ace for <domain>\<username>

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor - RegSe
tKeySecurity 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&8713b
ca&0&UID0 - RegSetKeySecurity Error : 5 Access is denied.

SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713bca&0&UID0\Device Pa
rameters : new ace for <domain>\<username>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713b
ca&0&UID0\Device Parameters : 1 change(s)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713b
ca&0&UID0\Properties - AddAce error : 87 The parameter is incorrect.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\Default_Monitor\1&8713b
ca&0&UID0\Properties: 5 : Unable to enumerate subkeys
SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949 : new ace for <domain>\<username>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949 - RegSetKeySecu
rity 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&UID
0 - 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&UID
0\Device Parameters : 1 change(s)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID
0\Properties - AddAce error : 87 The parameter is incorrect.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\1&8713bca&0&UID
0\Properties: 5 : Unable to enumerate subkeys
SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850 : new ace
for <domain>\<username>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048850 - RegSetKeySecurity Error : 5 Access is denied.

SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048850\Device Par
ameters : new ace for <domain>\<username>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048850\Device Parameters : 1 change(s)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048850\Properties - AddAce error : 87 The parameter is incorrect.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048850\Properties: 5 : Unable to enumerate subkeys
SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851 : new ace
for <domain>\<username>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048851 - RegSetKeySecurity Error : 5 Access is denied.

SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UID1048851\Device Par
ameters : new ace for <domain>\<username>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048851\Device Parameters : 1 change(s)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048851\Properties - AddAce error : 87 The parameter is incorrect.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&1bb6b33e&0&UI
D1048851\Properties: 5 : Unable to enumerate subkeys


Elapsed Time: 00 00:00:00
Done: 15, Modified 4, Failed 11, Syntax errors 0
Last Done : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HWP2949\5&
1bb6b33e&0&UID1048851\Properties
Last 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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy