Can I change Windows Settings, Default Programms in Powershell?

  1.    4 Days Ago #1

    Can I change Windows Settings, Default Programms in Powershell?


    Good Morning everyone
    I'm currently working on a WDS and I would like to automate as much as possible. I created a customize Userprofile (sysprep it and saved it on WDS-Server) thanks to a Tutorial on this Website and many of the changes I made were saved . I would like to realize a Powershell-Script that solves the settings that weren't kept by Windows during sysprep. Of course I can change this all by hand (that would be done in a few minutes , but a Script would be nice, if even possible.

    What I coun't solve so far are:
    • How to change Default Browser change to IE
    • How to change the Default Programm for PDF
    • Change Windows Setting (see picture of German Setting of Data Protection)
    • Change the Starting Page in Windows Edge

    So far I searched for several hours tried out many things, but couldn't find a real solution.
    Can you help me?
    Thank you in advanced Click image for larger version. 

Name:	Funk.PNG 
Views:	0 
Size:	172.5 KB 
ID:	216455
      My ComputerSystem Spec


  2. Posts : 1,074
    Windows 10 Home x64 and Pro x86
       3 Days Ago #2

    You could use NirSoft RegFromApp to monitor the Registry entries that change as you set up these properties manually then run a Reg command within PowerShell to replicate the changes.

    Undo all your manual changes before testing the Reg command then check the Settings entries & related behaviour afterwards.
    - Whilst many changes to the Registry set the required behaviour there are also many that have no effect unless the change is made using the expected UI.
    - So, just for example, you can set Registry entries for Indexing options using Reg but they will have no effect on indexing because only changes effected by the Indexing options applet cause the desired changes.

    Denis
      My ComputerSystem Spec

  3.    10 Hours Ago #3

    Thanks for the tip


    Try3 said: View Post
    You could use NirSoft RegFromApp to monitor the Registry entries that change as you set up these properties manually then run a Reg command within PowerShell to replicate the changes.

    Undo all your manual changes before testing the Reg command then check the Settings entries & related behaviour afterwards.
    - Whilst many changes to the Registry set the required behaviour there are also many that have no effect unless the change is made using the expected UI.
    - So, just for example, you can set Registry entries for Indexing options using Reg but they will have no effect on indexing because only changes effected by the Indexing options applet cause the desired changes.

    Denis
    I will try that
      My ComputerSystem Spec


 

Related Threads
Hello, I would very much like to change File Explorer settings from the M'Soft defaults to the following... Name Type Size Date Created Date Modified This to automatically apply to ALL File Explorer folders and all to drives (I have...
Hey guys. This options can be found on System - Advanced System Settings - Performance - Settings I wanna disable "Denetim ve öğe animasyonlarını pencere içinde göster" it's means "Show control and element animations in window" in english....
Cant change default app settings in Software and Apps
Hi as stated I cant change any of the default app settings in windows 10. I tried to change my default browser to chrome,nothing happens after i click google chrome,its still edge. This also applies to other defaults like maps,music player,photo...
Hey all. I realize Windows 10 defaults to last printer used and you have to turn that off in settings. That solved my problem. However, since adding a new PC to my network and using a printer as a network printer, it seems to over ride the...
Show Command Prompt or PowerShell in Win+X Power User Tasks Menu in Windows 10 This tutorial will show you how to have either the Command Prompt or Windows PowerShell items show in your Win+X Power User Tasks menu in Windows 10 ...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:33.
Find Us