Jump to content

Push a registry setting to all devices


Recommended Posts

  • 5 months later...
  • 3 months later...
  • 2 years later...
  • 1 month later...
  • 2 weeks later...
  • 1 month later...

Hey @Martin Stevnhoved

I might be missing something however regarding the registry push, you can kind of do this now with Powershell, by creating script then a task and assigning it to a scope of machines.

Granted its not going to apply to HKCU but it could be a start.

Happy to try and help work out the issue if you want to create a new topic.

Cheers,
Quenten

Link to comment
Share on other sites

  • 3 months later...

Hi @Quenten Grasso

On ‎8‎/‎10‎/‎2018 at 7:19 AM, Quenten Grasso said:

I might be missing something however regarding the registry push, you can kind of do this now with Powershell, by creating script then a task and assigning it to a scope of machines. 

I think that you are missing, that the post was posted in 2015 :)
Today it is indeed possible with scripts and tasks.

Link to comment
Share on other sites

  • 4 months later...

Here is a script I use to implement a registry change to the HKCU hive:

@ECHO OFF

IF NOT EXIST C:\Support\WriteToHkcuFromSystem.ps1 (
	C:\ProgramData\chocolatey\bin\wget.exe -c -nc -nH -nv --no-check-certificate https://gallery.technet.microsoft.com/scriptcenter/Write-to-HKCU-from-the-3eac1692/file/199836/1/WriteToHkcuFromSystem.ps1 -O C:\Support\WriteToHkcuFromSystem.ps1
    )
IF NOT EXIST C:\Support\FoxitPDF.reg (
	C:\ProgramData\chocolatey\bin\wget.exe -c -nc -nH -nv --no-check-certificate https://www.dropbox.com/s/XXXXXXXXXXXXXXXXXXxxxxxxxxxxxx/FoxitPDF.reg?dl=1 -O C:\Support\FoxitPDF.reg
    )

Powershell.exe -ExecutionPolicy ByPass -File C:\Support\WriteToHkcuFromSystem.ps1 -RegFile C:\Support\FoxitPDF.reg -CurrentUser

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...