Setting default apps in a RunOnce script

Bill Artemik 1 Reputation point
2021-09-28T14:25:13.9+00:00

We have MANY clients that are on Peer-to-Peer networks or now work at home. We ship pre-configured computers (mostly laptops) to them and need to setup some defaults for ANY user who logs in. To wit: How can we setup default apps for various functions?

  1. Set Adobe Acrobat DC as the default PDF reader
  2. Set Google Chrome as the default web browser
  3. Set default desktop icons (e.g. Computer, Network, Control Panel).

Although some companies have a DC, many do not so we're looking for a solution that does NOT require a server (so no "group Policy" solutions, please). We found some Registry keys to create the desktop icons. Is there a powershell or batch script to change the default apps like Acrobat as PDF viewer and Chrome as default browser?

Thanks for any help!

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,926 Reputation points
    2021-09-29T11:57:04.633+00:00

    Hello BillArtemik,

    You will find different Poweshell and WMI command lines to do this, but all in all it requires to "touch" the registry which can be a handicap while working with remote users with limited permissions.

    My recommendation would be to use DISM during the deployment, for example if you use MDT or a Task Sequence.

    Please check: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-default-application-association-servicing-command-line-options

    PS: This settings will apply only to new users created after the change, current profiles will not change, but I think that that is not your goal.

    ------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.