Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Export Action center settings and import them in another pc via script

12 Aug 2016   #1
Gianluca Melis

windows 10
Export Action center settings and import them in another pc via script

Hello everyone

I'm currently working on a scripting form project in, i made some scripts which edit my computer settings in regedit to configurate new computer within a few clicks instead of surfing through the whole settings and changing them manually.
I've found a solution for pretty much every windows setings, the only one that i still miss is the Action center settings "security messages" filter...

I need to do a script to deactivate all the warnings in a fresh installed windows.

i've found the keys in the registry with Process Monitor and i exported the .reg key and i have then converted it in a batch file with a software.
The code that works (only) for my computer looks like this:

.Bat (Workstation):
[Batch] Workstation code -

.Reg (Workstation)
[REG] Workstation Reg -

all checks off - Workstation.bat

all checks off - workstation.reg

On my computer this code works perfectly, so i thought i was finished
I tried the same code on another computer and on a laptop but the code doesn't work at all...
so i took the laptop and i did another scan with Process Monitor and i did exactly the same thing and here is how the code working for the laptop looks like:

.Bat (laptop):
[Batch] Notebook -

.Reg (Laptop):
[REG] notebook - reg -

all checks off - Laptop.bat

all checks off - Laptop.reg

(i've also attached the .reg version of the 2 codes in this thread)

I did a very short analysis and i discovered that the key names, the GUID, the reg path are all exactly the same,
the only thing that doesn't match, is the REG_BINARY value, Which is different for every Computer i've tested.
I've tried already to run the .reg file directly on another machine but the result is the same (and if you're wondering, yes, i killed and reopened explorer.exe and i've also tried to restart the computer but without any result)
I also tried do figure out how to read the HEX code, trying to interpretate it so i could make a script that "translates" some text in HEX and makes a compatible key for the target pc, but all i found translating the hex code was more or less looking like this:

...i think that explains my struggle enough...

Now the question is:

How can i made a script that adapts itself dynamically to every machine i lauch the script on?
is there a way to edit these settings without exporting Registry key?

i've found a solution for the past 40 scripts i've made, and they works pretty much all the same, except some special ones, thsi is the only one that makes me struggle..
i hope that someone can really help me with this because i'm litteraly becoming CRAZY!!

thank you team :)

My System SpecsSystem Spec

 Export Action center settings and import them in another pc via script

Thread Tools

Similar help and support threads
Thread Forum
Import & Export Outlook 2010 GUI & email acct. settings to new system
Iím in the process of building up a new desktop system in parallel with my current desktop system, which is still being actively used until the new system is ready. Iím upgrading the new system to Windows 7 Professional x64 from the Windows 7 Home Premium x64 currently installed on the old active...
Microsoft Office
How do I Import/Export Task Manager settings all in one swoop?
I am moving into a new system. How do I transfer all my settings in Task Manager to the new system. I hope I am wrong but I see an option to export entry them one at a time. I have 25 of them, all tediously set the way I want them Is there not a way to do export/import them all as a single...
Internet Explorer Pop-up Blocker - Import and Export Settings
How to Import and Export Internet Explorer Pop-up Blocker Settings By default, Internet Explorer displays pop-ups that appear as a result of you clicking a link or button. Pop-up Blocker, when turned on, blocks pop-ups that are displayed automatically (without you clicking a link or button). ...
Action Center Settings
I created a program (on my win 7 32 bit) to change the settings for the action center. Works great! However, I tried to run it on a 64 bit win 7 machine and nothing works. What the hell is up with this? How do I change the action center settings in the 64 bit version using the registry? I know...
System Security
Action Center Settings
The Security messages in Action center settings are greyed out. Can someone help me to enable them? Thanks
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 01:01.
Twitter Facebook Google+