Windows 10: Is there a way to default an app for .ps1 files?

Discus and support Is there a way to default an app for .ps1 files? in Windows 10 Software and Apps to solve the problem; I'm asking this question because I already set the default app for .ps1 files to be Windows PowerShell. But that doesn't seem to work because every... Discussion in 'Windows 10 Software and Apps' started by Anthony Chang1, Oct 14, 2024.

  1. Is there a way to default an app for .ps1 files?


    I'm asking this question because I already set the default app for .ps1 files to be Windows PowerShell. But that doesn't seem to work because every time I restart the computer, the prompt to select an app pops up.More specifically, I'm trying to automate a script to run in PowerShell once the computer is logged into. I already set the default app, and it appears that Windows recognizes PowerShell as the default app, but still asks me to select an app to run the file. Is there a way to fix this?

    :)
     
    Anthony Chang1, Oct 14, 2024
    #1
  2. Bree Win User

    How to change default app for file type

    'Open With > Choose another app' has three step, in the first it only offers apps registered for that file type. If you click 'More apps' it lists all registered apps regardless of suitability. Both these steps have the tick-box for 'Always use...' in my 18363.752. The third step, if needed, is 'Look for another app on this PC'. The 'Always use...' must be ticked before taking this step if you want the change to stick. However, WMP appears at the second step.


    Is there a way to default an app for .ps1 files? 274247d1586781472t-how-change-default-app-file-type-image.png


    For a quick look at a JPG almost anything (including WMP) is more practical than Photos which on my system takes more than ten seconds just to open a photo. The OP is probably not aware that the Windows Photo Viewer is still available in W10, but hidden away. That's my default viewer for JPG.


    Restore Windows Photo Viewer in Windows 10

    And, once enabled, is available in Settings > Apps > Default apps.


    Is there a way to default an app for .ps1 files? 274248d1586782515t-how-change-default-app-file-type-screenshot-4-.png
     
  3. Szewczyk Win User
    Setting .PS1 scripts default program to Powershell is soooooooooooo freak'in difficult

    In Windows 10, .PS1 by default program is set to notepad, yeah go wonder, even though the description for a .PS1 file is "Windows Powershell Script", then of course trying to set it to Powershell brings up a dialog that asks "Which app do you want it to
    set to" and of course there is no app named Powershell. Then the dialog wants you to search the computer to find Powershell even though it is Microsoft's major player in scripting, the Windows 10 can't find, I have to hunt and peck to find the executable.
     
    Szewczyk, Oct 14, 2024
    #3
  4. Is there a way to default an app for .ps1 files?

    How to set Microsoft Photos App as default

    Hello,

    We understand the issue you are facing and will assist you.

    I suggest you to follow the steps provided below and check if it helps.

    • Navigate to Start>Settings>System.
    • In the left pane, click on Default Apps.
    • In the right pane, click on Choose default apps by file type.
    • Set the default App to open .jpg files and check for status.

    Hope this helps. Keep us posted on the status for further assistance.
     
    Eeshwar Kumar, Oct 14, 2024
    #4
Thema:

Is there a way to default an app for .ps1 files?

Loading...
  1. Is there a way to default an app for .ps1 files? - Similar Threads - default app ps1

  2. Is there a way to default an app for .ps1 files?

    in Windows 10 Gaming
    Is there a way to default an app for .ps1 files?: I'm asking this question because I already set the default app for .ps1 files to be Windows PowerShell. But that doesn't seem to work because every time I restart the computer, the prompt to select an app pops up.More specifically, I'm trying to automate a script to run in...
  3. Is there an easy way to change Default File Associations?

    in Windows 10 Gaming
    Is there an easy way to change Default File Associations?: I'm trying to change Windows 11's default Notepad app to Notepad++. I changed the default App in Settings > Apps > Default apps > Notepad. Changing the Default App for each file listed under the Notepad app, everything is good.I looked into the files under the Excel App, and...
  4. Is there an easy way to change Default File Associations?

    in Windows 10 Software and Apps
    Is there an easy way to change Default File Associations?: I'm trying to change Windows 11's default Notepad app to Notepad++. I changed the default App in Settings > Apps > Default apps > Notepad. Changing the Default App for each file listed under the Notepad app, everything is good.I looked into the files under the Excel App, and...
  5. Rundll32 created PowerShell .ps1 or .pms1 files

    in Microsoft Windows 10 Store
    Rundll32 created PowerShell .ps1 or .pms1 files: Hello,I need to understand this process tree, from the eldest to the newest:C:\WINDOWS\system32\services.exeC:\WINDOWS\system32\svchost.exe -k wsappx -p -s AppXSvcC:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\SYSTEM32\EDGEHTML.dll",#141...
  6. Rundll32 created PowerShell .ps1 or .pms1 files

    in Windows 10 Gaming
    Rundll32 created PowerShell .ps1 or .pms1 files: Hello,I need to understand this process tree, from the eldest to the newest:C:\WINDOWS\system32\services.exeC:\WINDOWS\system32\svchost.exe -k wsappx -p -s AppXSvcC:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\SYSTEM32\EDGEHTML.dll",#141...
  7. Rundll32 created PowerShell .ps1 or .pms1 files

    in Windows 10 Software and Apps
    Rundll32 created PowerShell .ps1 or .pms1 files: Hello,I need to understand this process tree, from the eldest to the newest:C:\WINDOWS\system32\services.exeC:\WINDOWS\system32\svchost.exe -k wsappx -p -s AppXSvcC:\WINDOWS\system32\rundll32.exe" "C:\WINDOWS\SYSTEM32\EDGEHTML.dll",#141...
  8. is there a way to default file explore to sorting by date

    in Windows 10 Network and Sharing
    is there a way to default file explore to sorting by date: When I download a file and go to email I would like the files to be organized by date (todays date) is that possible https://answers.microsoft.com/en-us/windows/forum/all/is-there-a-way-to-default-file-explore-to-sorting/10b9d017-9323-44df-8fcb-6d5d1e49da16"
  9. >.NBF file in Default apps

    in Windows 10 Support
    >.NBF file in Default apps: Is it possible to remove the .NBF from the list. [img] 72035
  10. On how to run a .ps1 file as Administrator

    in Windows 10 Support
    On how to run a .ps1 file as Administrator: Hello everyone, If you have had a chance of going through the great Brink's Tutorial Apps - Uninstall in Windows 10 (I strongly advice you do), you may have noticed that, if you wish to automatize, at least to a certain extent, the procedure of getting rid of Windows 10...