New
#10
Anyone knows how to run this PowerShell *as admin*?
Hello chok,
Do you mean this below?
How to Add Open PowerShell window here as administrator context menu in Windows 10
Thanks for the info and .reg downloads, Brink.
What could well be useful as a 'linkback' to your article(s) as an additional download would be a .url file. Getting back to the source wouldn't leave the .regs orphaned as much as they are.
Something like:
[InternetShortcut]
URL=https://www.tenforums.com/tutorials/60175-open-powershell-window-here-context-menu-add-windows-10-a.html
IconFile=https://www.tenforums.com/favicon.ico
IconIndex=1
Saved as, say, Remove_Open_PowerShell_window_here_context_menu.url
PS Regedit alterations like these can't be automated/aren't scriptable? Dangerous, I know, but..
- - - Updated - - -
Thanks for the info and .reg downloads, Brink.
What could well be useful as a 'linkback' to your article(s) as an additional download would be a .url file. Getting back to the source wouldn't leave the .regs orphaned as much as they are.
Something like:
[InternetShortcut]
URL=https://www.tenforums.com/tutorials/60175-open-powershell-window-here-context-menu-add-windows-10-a.html
IconFile=https://www.tenforums.com/favicon.ico
IconIndex=1
Saved as, say, Remove_Open_PowerShell_window_here_context_menu.url
PS Regedit alterations like these can't be automated/aren't scriptable? Dangerous, I know, but..
Hello Brink, thank you for useful tutorial, I found several same tutorials by googling out but your is better because it also includes an icon into context menu!
However you might want to update this thread because it doesn't work out of the box. one also need to change "command" sub directory permissions in registry editor in order to make it work.
System: Windows 10 x64 1903 (18362.365)
Is it possible to set the owner and permissions with a script? I would like to add this to a collection of tweaks that I am assembling into a monster batch script that I run when setting up a new computer or updating an existing one, but I don't want to have to manually set registry permissions first. The script to set permissions can be batch, powershell, vbscript, or anything else that can be called from a .bat file. I would prefer not to have to download and install any 3rd-party software if at all possible, just use what comes with a clean install of Windows.
Hello Brink,
Do you know if there are any possible issues if we leave "Administrators" group as owners of those registry keys?
and also to leave them have "Full control" on keys.
After successfully applying reg key, I will set permissions back to what it was before, but I'm wondering whether that's necessary and if so why?