How to get the real path of Desktop in Windows Explorer?

This bothers me for ages, and I could not find the solution yet.

  1. Open Windows Explorer.
  2. Click on Desktop in the left sidebar.
  3. Click on "Desktop" in the address bar.

Result: Instead of C:\...\ it displays only Desktop.

Desktop Windows Explorer

Instead I would like to get the real physical path:

C:\Users\MyName\Desktop\

How to achieve this (settings in the Windows registry)?


It's not possible to change this particular aspect of Windows' behaviour from the GUI but there is a nice workaround that doesn't require any third-party software:

  1. Open Windows Explorer: Windows+E.
  2. While holding Shift, perform a Right click 🖱️ on the Desktop folder, then choose Copy as path from the context menu:

enter image description here

The full path of your Desktop folder is now copied to the clipboard and can be pasted into the address bar or wherever you require it.

Note that the path will include quotation marks that you'll need to remove in order for it to work properly in Windows Explorer.

This should give you something like this:

"C:\Users\Kai\Desktop"


Using %UserProfile%\Desktop reveals the Desktop path.

So I solved it with this Autohotkey script:

; Save Dialog: hitting CTRL D opens desktop
^d::
    ControlFocus, DirectUIHWND2, A
    SendInput, % "!d%userprofile%\Desktop{enter}!n"
return

OR:

; Windows explorer, hitting CTRL D goes to address bar and shows the full desktop path
#IfWinActive ahk_class CabinetWClass
    ^D::
        Send !D
        String := "%UserProfile%\Desktop"
        SendRaw %String%
        Send {ENTER}
        Send !D
    return
#IfWinActive

Hitting CTRL D does focus the address bar now and reveals the path:

AHK Ctrl D path in address bar

Finally one Windows problem less 👍