Jump to content
Martin Stevnhoved

Push a registry setting to all devices

Recommended Posts

Hi Pulseway.

Now we have your client on all our servers it would be nice if we could use it to write registry values on all devices.

I was thinking of loading a *.reg file. Or it it should have some wau!!-factor you could parse *.adm and *.admx files. 

Best Regards,

Martin Stevnhoved

Share this post


Link to post
Share on other sites

Hi Martin,

 

This is part of a System Provisioning module we plan on having, I've noted your idea on that project.

 

Regards,

Chris

Pulseway Support

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites
13 hours ago, BartB said:

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

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

Share this post


Link to post
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.


×
×
  • Create New...