Re: Remote Registry - Requested registry access is not allowed.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Yes, you can do this by the folllowing 3 steps:

Step 1:
Create a domain user (say application user)

Step2:
Assign Registry "Read Access" on the remote pc/server for just the "required
key" (Right click on the respective key and assign permissions) for "this
user".
This will tighten the security.

Step3:
Now run the application using the identity of the application user created
in Step 1.
You could spawn a separate process and run the application that accesses the
remote registry using this user role.

-------
Now as for using WMI, please check out this link -
http://msdn2.microsoft.com/en-us/library/aa394600.aspx

Hope this helps!
Thanks -

"JB" <jamesb457@xxxxxxxxx> wrote in message
news:1182857309.063149.94050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cheers, that does seem to be why it is encountering problems.
I can run the app fine as 'Administrator', but, the permissions are
set so all users should have read access.

I want a few key users to be able to run the app, how would i go about
authenticating on a remote machine and not using my current login as
authentication?

Or related: Is there a way of reading the registry through WMI? I'm
already connecting to each machine through wmi as admin, if i could
read the registry somehow through there it would make it much easier.
I couldn't find a method of doing it though.

On 26 Jun, 11:54, "Shine Xavier" <shine.xav...@xxxxxxxxx> wrote:
You would need the right permissions for accessing the registry on the
remote PC.
Please verify (Registry Editor>Edit>Permissions)

Hope this helps!
Thanks -



.



Relevant Pages

  • connect to remote wmi using asp.net with imersonation
    ... I have a code developed in WMI that connects to remote machine to collect ... At present it uses a service account to connect to the ...
    (microsoft.public.win32.programmer.wmi)
  • Connect to remote WMI using asp.net 2.0 with impersonating the cal
    ... I have a code developed in WMI that connects to remote machine to collect ... At present it uses a service account to connect to the ...
    (microsoft.public.win32.programmer.wmi)
  • Connect to remote WMI using asp.net 2.0 with impersonating the cal
    ... I have a code developed in WMI that connects to remote machine to collect ... At present it uses a service account to connect to the ...
    (microsoft.public.win32.programmer.wmi)
  • Re: script registry editing
    ... > of remote machines. ... WMI and it's StdRegProv class: ... Documentation in regobj.doc and a remote registry example in registry.vbs ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windows.server.scripting)
  • VBScript - Remote Registry
    ... I know it is possible to connect the registry on a remote computer via ... the script should prompt me for alternate credentials and then works. ... I know it is possible to connect a remote WMI service with ...
    (microsoft.public.windows.server.scripting)