Windows OS
--
Questions
--
Followers
Top Experts
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?'


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.
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?'
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.
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
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Oh...well that is embarrassing!!!
Thank you very much for the fix, I must have accidently created that file somehow....duh.
Thank you very much for the fix, I must have accidently created that file somehow....duh.
Perfect answer - thanks






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
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.