Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

Remotely adding a registry key

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
WellingtonIS
Asked:
WellingtonIS
  • 5
  • 3
  • 2
  • +1
1 Solution
 
JAN PAKULAICT Infranstructure ManagerCommented:
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
 
WellingtonISAuthor Commented:
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
 
JAN PAKULAICT Infranstructure ManagerCommented:
can you do

rsop.msc

 to see if gp is getting applied

have you done

gpupdate /force

(from cmd as admin)
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
WellingtonISAuthor Commented:
YEs many times and I even rebooted.
0
 
JAN PAKULAICT Infranstructure ManagerCommented:
can you see your policy in rsop ? as applied?
0
 
it_saigeDeveloperCommented:
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
 
WellingtonISAuthor Commented:
No errors I'm using PSexec and it's saying sucessful.  When I look in the registry it's not there?
0
 
it_saigeDeveloperCommented:
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
 
WellingtonISAuthor Commented:
OK so is there a better command than what I'm using?
0
 
Donald StewartNetwork AdministratorCommented:
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
 
WellingtonISAuthor Commented:
That worked!  Thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now