Solved

Remotely adding a registry key

Posted on 2015-01-14
11
123 Views
Last Modified: 2015-01-14
I'm trying to add this registry key remotely to a bunch of PC's however, it's not working


REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LoginUI\Background" /v OEMBackground /t REG_DWORD /d 1 /f

Is there something I'm missing?
0
Comment
Question by:WellingtonIS
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 14

Expert Comment

by:JAN PAKULA
ID: 40549500
1 did you modified "info" jpgs in

C:\Windows\System32\oobe\info\backgrounds


2 do you have group policy (are you on domain)


if yes change that to enabled

Computer Configuration\Administrative Templates\System\Logon\Always use custom login background
0
 

Author Comment

by:WellingtonIS
ID: 40549567
Yes I did all that.  I just need to add the registy key - That is enabled but unfortunatly with my wireless PC's it's takes forever for them to update via group policy.  I even did a GPP with the registry key and that's not taking either. So my next step is to do this manually.
0
 
LVL 14

Expert Comment

by:JAN PAKULA
ID: 40549611
can you do

rsop.msc

 to see if gp is getting applied

have you done

gpupdate /force

(from cmd as admin)
0
 

Author Comment

by:WellingtonIS
ID: 40549706
YEs many times and I even rebooted.
0
 
LVL 14

Expert Comment

by:JAN PAKULA
ID: 40549723
can you see your policy in rsop ? as applied?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 32

Expert Comment

by:it_saige
ID: 40549724
How are you trying to add the key (using a vbs script, batch script, running directly from start menu; etc.)?  Are you getting an error message when you add the key?

-saige-
0
 

Author Comment

by:WellingtonIS
ID: 40549737
No errors I'm using PSexec and it's saying sucessful.  When I look in the registry it's not there?
0
 
LVL 32

Expert Comment

by:it_saige
ID: 40549750
What is the full command you are using for PSEXEC.

PSEXEC (depending upon the options chosen) will return successful (meaning that PSEXEC successfully started the command) but not necessarily that the command completed successfully.

-saige-
0
 

Author Comment

by:WellingtonIS
ID: 40549753
OK so is there a better command than what I'm using?
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 500 total points
ID: 40549803
I have had better luck with psexec by first exporting the registry you want to change and then using psexec to import it

psexec  \\computername -c -f -s -h regedit.exe /s "\\UNCPathToRegFile\file.reg"
0
 

Author Closing Comment

by:WellingtonIS
ID: 40549844
That worked!  Thanks!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now