Startup script to change default programs win 10

Welcome Forums General PowerShell Q&A Startup script to change default programs win 10

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
2 years, 3 months ago.

  • Author
    Posts
  • #55267

    Participant
    Points: 0
    Rank: Member

    People QUestion,

    Is it possible to create a script that can be rund when the computer is starting up.
    to change 2 sets of default programs like webbrowser and pdf reader.

    In windows 10 it changes to many time to edge both of them but the webbrowser default must be IE and pdf reader must be acrobat.
    Can someone help me to start this up?

  • #55274

    Participant
    Points: 132
    Helping Hand
    Rank: Participant

    For default browser:

    Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice' -name ProgId IE.HTTP
    Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice' -name ProgId IE.HTTPS
    

    Setting default PDF reader is bit more complicated. You can use DISM as in https://technet.microsoft.com/en-us/library/hh824855.aspx or Group Policy as in https://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/pdfviewer.html

The topic ‘Startup script to change default programs win 10’ is closed to new replies.