Powershell with Admin level in the context menu of Windows ??

Jun 2, 2018
Reaction score
Hello all(e) and all ! Oh ! I thin in English does not work ;)
I really like the ability to open a folder or disk (see my screenshots) in the powershell with the context menu of Windows with the shift key.
But alas, it only works in user mode, not in Administrator mode...
The command used on Registery for the context menu is like :

@="powershell.exe -noexit -command Set-Location -literalPath '%V'"
@="powershell.exe -noexit -command Set-Location -literalPath '%V'"

Is it possible to have the same command in administrator mode ?
It's for add to the registery of my Windows 10...
I do not want to go through the start menu or search Cortana. That I know how to do:p
I do not want a silent mode either, just opening in admin mode with the habitual warning message !

Thanks in advance for your suggestions
Disk -> Menu Contextuel 2.png
Folder -> Menu Contextuel.png
Sep 26, 2017
Reaction score
Don't know if it helps but for my needs I didn't put it in any context menu but right-clicked the Start button, clicked Windows PowerShell (Admin) to open it then right-clicked the icon on the Taskbar and chose Pin to taskbar.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question