4
votes
2answers
105 views

OK to modify HKLM\Software\Policies and HKCU\SOFTWARE\Policies on a domain?

Background: I have a domain (2003 Functional Level) with a mix of Windows XP and Windows 7 clients. We have been using Group Policy to manage our workstations. Now, I am in a situation I need to ...
3
votes
1answer
1k views

How to Export a Registry HIVE (NTUSER.DAT) in PowerShell

In order to resolve a registry bloat issue caused by Samsung Print Drivers I'm needing to find a way to Export a user's Roaming Profile NTUSER.DAT Registry Hive while in PowerShell. Loading and ...
1
vote
2answers
485 views

Missing 'HKCU:\Network' subkey when browsing registry remotely with PowerShell

I'm trying to clean up a big mess of random mapped network drives. All our network drives have been mapped on a per-user basis (causing gwmi win32_mappedlogicaldisk to come up empty). I'm trying to ...
1
vote
1answer
439 views

How can I unload multiple registry hives in PowerShell? (Access Denied error)

I've loaded dozens of registry hives as HKLM:\temp_$username\. Now when I try to run ls HKLM:\temp_* | %{reg unload $_} I get ERROR: Access is denied. I'm running PowerShell with elevated priveleges ...
0
votes
0answers
189 views

Why is Last Windows Update date not set in Registry when Updating via COMObject?

When i manually Update a Windows Machine (W2K3) via the yellow icon in the Taskbar, i can get the last Install date via the Registry: (Get-ItemProperty -Path ...
5
votes
1answer
695 views

Powershell Registry value to be used as variable

I am looking on how to return one value from the registry. I only want the AGENTGUID value from this command. $reg=reg query "\\$computer\HKLM\SOFTWARE\Wow6432Node\Network Associates\ePolicy ...
0
votes
1answer
337 views

Is there a registry key change that will by-pass the Windows Domain Join Welcome page?

I'm scripting some Windows Server 2008 R2 builds using Power Shell. Some software needs to be installed after the server has joined the domain. Since I want to automate everything, I'm looking to ...
3
votes
2answers
2k views

Deploy binary hex registry via GPO or PowerShell

I am trying to deploy a custom registry entry which I exported from a test machine. It looks like below. I came across THIS similar request on another site, but I couldn't make it to work. ...
3
votes
1answer
346 views

Searching windows registry (specifically) HKLM with powershell very slow

I've been doing searches on my registry and everything works well except HKLM. A search on HKLM takes hours and doesn't seem to work. I'm using some powershell code from here gci . -rec -ea ...
1
vote
1answer
4k views

How to check if machines are set to use a proxy (remotely)?

I have a Windows active directory domain network and a list of Windows machine names that I want to check if they are set to use a proxy (internet settings > connections > lan settings > proxy > use a ...
0
votes
3answers
1k views

How can I add to a registry key

I need to create a script to run on a server that I do not have access to. I need the script to append a string to an existing string value (Type = REG_SZ). The script cannot just replace the ...
3
votes
4answers
2k views

Deploy Registry Change

What is the best way to deploy a HKCU registry change for anyone who logs onto the machine. Someone mentioned to me Active Setup...but I am not sure.
2
votes
3answers
4k views

Change group policy settings for accounts?

I am wondering if there is a way to change the group policy settings for accounts without using the GUI tools (GPMC or the GPO editor MMC snap in). In other words can I can change these settings via a ...
10
votes
2answers
7k views

Best way to add HKCU keys and values for all existing users and all new users?

I need to add HKCU keys and values to all machines in a specific OU, for all existing user profiles and to the default profile. What's the best way to approach this? I could enumerate and iterate ...