Reverting .ps1 file association back to default on 8.1 ?

Welcome Forums General PowerShell Q&A Reverting .ps1 file association back to default on 8.1 ?

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
3 years, 10 months ago.

  • Author
    Posts
  • #26205

    Participant
    Points: 0
    Rank: Member

    Hi,

    I broke my powershell context menu when right clicking on ps1 files. Can someone send the default reg values for the HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1 settings?

    Right now I just have HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1\shell\Command and nothing else.

    The only settings I can find is for Windows 7 but I wanted to be sure so I didn't break my system more than necessary 🙂

  • #26206

    Member
    Points: 0
    Rank: Member

  • #26207

    Participant
    Points: 2
    Rank: Member

    Jonas,

    From the start screen, type in "File Extension" and select the option to "Change the file type associated with a file extension." when the Set Associations window pops up find the .ps1 extension and set it to open with Powershell ISE or whatever program you intend to use.

The topic ‘Reverting .ps1 file association back to default on 8.1 ?’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort