Questions tagged [remote-registry]
57 questions
1
vote
1 answer
Access all user registries with Remote Registry Service
I'm currently working on a PowerShell tool that reads from the registry remotely via the Remote Registry Service. When a user is logged in, the data I'm reading from is located in HKCU\Software\. Obviously, when a computer has multiple user…

Chiggins
- 8,197
- 22
- 56
- 81
1
vote
2 answers
Better way to query remote server registries?
I've built this small block of code to query and store the values of a group of servers, which seems to work fine, however I'd like to know if there is a "pure PowerShell" way to do this.
$eServers = Get-ExchangeServer
$Servers = $eServers |…

JTorres2020
- 11
- 2
1
vote
3 answers
Discrepancy REG QUERY local vs remote computer batch script
I'm writing a batch script to update a software package (uninstall old
version/ install new one). This needs to be done over the network as
there are 500 PCs to update. One of the first steps before uninstalling is checking wether that software is…

J. Davalos
- 95
- 1
- 8
1
vote
0 answers
C# WMI method to change registry values works in debug but not release
I have already done some Googling to see if I could find a solution, but so far I haven't found anything useful. My problem is exactly as the title states. I try to log a remote machine on as a specified user by changing registry values, and it…

jmm1487
- 83
- 1
- 7
1
vote
1 answer
Powershell Job Always Shows Complete
I just started working with powershell about 3 days ago and i've been trying to make a script that accesses the registry of a remote computer and looks for a certain key and puts the output into the file.
I have been able to get it to work but i…

Ivory
- 35
- 4
1
vote
1 answer
Attempting to export remote registry hive with PowerShell
I need to export registry keys from a remote computer for import into other remote machines (copy) using PowerShell V3.0.
When I use REG QUERY to view the registry keys thus:
reg query \\[computername]\HKLM\[subkey] /s | Out-File -append…

The Furious Bear
- 592
- 4
- 16
- 31
1
vote
1 answer
Remote registry query
I am trying to get a registry value from a remote machine but everything I have tried did not work.
Both machines are running windows 7 x64, they are on the same domain, firewall off, powershell 4.0
when I run :
$reg =…

Ionut
- 1,729
- 4
- 23
- 50
1
vote
0 answers
How to read a value from a remote registry using Ruby
I have a little windows application running Ruby 1.9.3 (MRI), and I need it to query the "ComputerName" of a remote registry of a remote server. I have the code for checking the local registry, which looks as follows:
#Gemfile
gem "win32-service",…

Jay Godse
- 15,163
- 16
- 84
- 131
1
vote
0 answers
Access remote Windows registry with Ruby?
I'm working in a Windows environment and wanting to access the registry on a remote machine using Ruby. I can't find any examples of this or the equivalent Win32 calls used in C#. Does anyone have experience with this? Is this even possible? Thank…

Jason S.
- 83
- 1
- 5
1
vote
3 answers
Windows Server AppFabric 1.1 - Failed to read remote registry key from host
I have just installed and configured AppFabric cache cluster with one Host (the local machine). I use SQL as the Provider.
When I launch the Caching Administration Windows PowerShell using Administrator privileges,
I got the following…

Vel
- 41
- 1
- 5
1
vote
0 answers
Get HKCU for each user
I get remote registry key via such code:
RegistryKey reg = RegistryKey.OpenRemoteBaseKey(RegistryHive.Users,
"machineName", RegistryView.Default);
My questions:
How can I get from registry of remote machine the list of user names?
How can I get…

Andrey Bushman
- 11,712
- 17
- 87
- 182
1
vote
0 answers
UnauthorizedException when trying to impersonate user
I'm impersonating certain operations with the following code :
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show(Environment.UserName);
ImpersonateUser iu = new ImpersonateUser();
if…

pharaon450
- 493
- 3
- 9
- 21
0
votes
1 answer
Unable to read remote registry
Trying to read registry keys remotly (from a host on local intranet)...
All the permissions are set in local + remote machines..
Also, the remote registry service is running on both machines..
Still i get unauthorized access exception (and…

Ahsan Mumtaz
- 115
- 1
- 1
- 6
0
votes
2 answers
How to access registry of a remote machine in Inno Setup
I have Inno Setup installers that I use to update computers at customer sites. Generally there are two computers, but sometimes three or more. All are networked, and exactly one is headless.
It is relatively easy to run the installer on all the…

DaleStan
- 595
- 2
- 6
- 19
0
votes
1 answer
Windows remote registry disabled on domain, is it possible to use powershell to import a task to a remote machine that enables it?
If remote registry is disabled on a PC, is it possible in any way to remotely import a task into task scheduler that starts the service?
I can still manage the PC's VIA AD, and run computer management on them; wondering if this can somehow be used…

C.R. Pynch
- 5
- 2