Powershell Directories

On a 32-bit OS, Powershell is installed in:

  • C:\Windows\System32\WindowsPowerShell\v1.0
  • With the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1

On a 64-bit OS, Powershell installs 2 versions:

  1. A 64-bit version with the same directory and registry key as the 32 bit version (above)
  2. A 32-bit version installed in:
  • C:\Windows\SysWOW64\WindowsPowerShell\v1.0
  • With the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\PowerShell\1

In Vista or W7, if you don’t have access to

  • HKEY_LOCAL_MACHINE\Software\…

it gets redirected to

  • HKEY_USERS\<User SID>_Classes\VirtualStore\Machine\Software\…

And if you don’t have access to the directory c:\windows\system32, it gets redirected to:

  • C:\Users\Owner\AppData\Local\VirtualStore\Windows\System32

and C:\Windows\SysWOW64 gets redirected to

  • C:\Users\Owner\AppData\Local\VirtualStore\Windows\SysWOW64

Leave a Reply

CAPTCHA Image Audio Version
Reload Image