Link to home
Create AccountLog in
Windows OS

Windows OS

--

Questions

--

Followers

Top Experts

Avatar of fieldj
fieldj🇬🇧

Install-WindowsFeature Powershell cmdlet results in 'How do you want to open this file' popup.
Running Install-WindowsFeature Powershell cmdlet results in 'How do you want to open this file?'

Hi all,

I have a fresh Windows 2016 server build.  I am trying to install some Windows Features via Powershell.

When trying to run the Install-WindowsFeature cmdlet, it pops up with the 'How do you want to open this file?'

User generated image
User generated image
Can someone help me resolve this?  Searching around Google, i have only come across a few mentions of other people experiencing this, but without an obvious fix.

E.G: https://www.reddit.com/r/PowerShell/comments/7o8nee/powershell_cmdlets_prompt_how_do_you_want_to_open/

This may or may not be significant, but I also noticed that when i press tab (to try and autocomplete the commands) it adds a ."\" to the front of the command.  It also seems to cycle through a list of files as opposed to the expected list of features.

User generated image

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of Michael PfisterMichael Pfister🇩🇪

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of fieldjfieldj🇬🇧

ASKER

Oh...well that is embarrassing!!!

Thank you very much for the fix, I must have accidently created that file somehow....duh.

Avatar of fieldjfieldj🇬🇧

ASKER

Perfect answer - thanks

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Windows OS

Windows OS

--

Questions

--

Followers

Top Experts

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.