Windows 10: Running Powershell for setting default programs Solved

  1.    29 Feb 2016 #1

    Running Powershell for setting default programs

    In the past I have had to go around to each computer and set the default programs. Is there a way to create a batch file to set default programs silently for each user that signs on? Like we would like to have Adobe Reader DC, Internet Explorer, and VLC player be the default programs.
      My ComputerSystem Spec

  2.    01 Mar 2016 #2

    Hi this may be of interest:
    Default App Associations - Export and Import for New Users in Windows - Windows 10 Forums

    Always worth looking through the tutorials section..
      My ComputerSystem Spec

  3.    01 Mar 2016 #3

    Thank you! Worked like a charm!
      My ComputerSystem Spec

  4. Posts : 2
    Win 10 x64 1803
       4 Weeks Ago #4

    This worked. How would you setup the dism command to be used in an MDT task sequence step?
    Or is there a way to convert this to Powershell and run in an MDT task sequence.
    I would like to have defaults set as part of the imaging process for new machines.
      My ComputerSystem Spec

  5. Kari's Avatar
    Posts : 15,025
    Windows 10 Pro
       4 Weeks Ago #5

    mose said: View Post
    I would like to have defaults set as part of the imaging process for new machines.
    Why don't you set default apps when customizing the image? I mean, install Windows 10 on reference machine, boot to Audit Mode and customize it installing all required software. When done, open Settings app and set default apps as you wish.

    When you then sysprep with COPYPROFILE=TRUE in answer file, all those defaults will be copied to default profile, the base used to create all user profiles. Capture the image, deploy. Any user created will then have those defaults you set in Audit Mode.

    You can also edit registry in Audit Mode, before sysprepping, to set defaults.

      My ComputerSystem Spec

  6. Posts : 2
    Win 10 x64 1803
       4 Weeks Ago #6

    If I setup a reference image then I have to constantly open the image to update either the software installed or the OS. If I have it built on the fly then I just replace the OS file (When Microsoft has a new version) and change the files for each software installer as well. Everything as separate steps in MDT, each item can be updated as needed and this will give a more updated installation when I have to wipe and load a computer. I work for a school district with 13 buildings and over 4000 computers. We are constantly having to reimage machines throughout the year for one issue or another.
      My ComputerSystem Spec

  7. Kari's Avatar
    Posts : 15,025
    Windows 10 Pro
       4 Weeks Ago #7

    Thanks for clarifying this. You are right, solution I told would not work for you, in addition to not being practical in your scenario.
      My ComputerSystem Spec


Related Threads
I'd like to place a batch file in task scheduler and run simple uninstalling of the live tiles on windows. I have ran these separately but it would be perfect for anyone who logs into our domain on the pc would get these icons removed as well....
Solved Default Folder Setting in General Support
I would like most of my folders to open with Details for the view. Then when I want it differently I can change it. It seems like every time I open a new folder or one that has not yet been opened within 10 they all are large icons which provide...
Hi, An observation, not a question. I wanted to set Thunderbird as my default email client again (after having reset defaults whilst looking for a problem). So I set it as my default email client in 'System', 'Default Apps'. This proved not to...
Hi there at one time there was a way to make Powershell the default cmd processor -- I can't find it any more. Any links. Cheers jimbo
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 ...
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 11:23.
Find Us