When I use PowerShell ISE, the command prompt, or even Windows Explorer, I can see that there is a folder called C:\Windows\System32\OpenSSH
. However, when I try to access this same folder by opening PowerShell as an Administrator (or not), I can navigate to C:\Windows\System32
, but the OpenSSH
folder does not seem to exist. I’m not sure why this is happening and would appreciate any ideas or suggestions to help me understand this discrepancy.
3 Answers
You are currently experiencing an issue with PowerShell where you are using the 64-bit version of PowerShell ISE and Windows File Explorer, but the 32-bit version of PowerShell (or vice versa, although this is unlikely). This is due to the fact that the “System32” folder on your computer has two versions – one for 32-bit applications and one for 64-bit applications. To learn more about this, you can read about the “File System Redirector” on the Microsoft website.
It is possible that the “OpenSSH” folder on your system only exists in one of these versions, likely the 64-bit one. However, this may not always be the case. At the moment, there may be an “OpenSSH” folder in both versions, but in the past, it was only available in the 64-bit version. This issue may have been resolved by recent updates to Windows.