Solved

Remotely adding a registry key

Posted on 2015-01-14
11
124 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 33

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 33

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

895 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

14 Experts available now in Live!

Get 1:1 Help Now