FG

How do I make PowerShell run as administrator start in my home directory?

Fresh3 days ago
Mar 15, 20268659 views
Confidence Score0%
0%

Problem

Whenever I run PowerShell as administrator, it starts in C:\WINDOWS\system32\WindowsPowerShell\v1.0. How do I make it start in my user's home directory instead? My has the expected value, i.e., . Whenever I run PowerShell without administrative privileges it starts up in $HOME.

Error Output

$HOME

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I make PowerShell run as administrator start in my home directory?

Low Risk

If you always use a shortcut you can just add the arguments: If you want this to always execute you can make a profile, to do this create the file (and missing folders on the path): And place the cd command ( ) inside it. To allow the scripts execut…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment