View Single Post
Old 11-16-2006   #5 (permalink)
Lucvdv


 
 

Re: "Permission Denied" when invoking PowerShell

On Thu, 16 Nov 2006 17:04:03 +0100, Lucvdv <replace_name@null.net> wrote:

> Just replace the %systemroot% manually, or if you really want to stick to
> %SystemRoot% instead of using the 'hard' path, create a .reg file that sets
> the value as a BINARY(2) type.


I meant HEX(2)


> Something like this:
>
> Windows Registry Editor Version 5.00
>
> [HKEY_CLASSES_ROOT\Folder\shell\PowerShell\command]
> @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
>
> 25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,69,\
>
> 00,6e,00,64,00,6f,00,77,00,73,00,50,00,6f,00,77,00,65,00,72,00,53,00,68,00,\
>
> 65,00,6c,00,6c,00,5c,00,76,00,31,00,2e,00,30,00,5c,00,70,00,6f,00,77,00,65,\
> 00,72,00,73,00,68,00,65,00,6c,00,6c,00,2e,00,65,00,78,00,65,00,00,00


And my newsreader broke the lines here...
There should be no empty lines between.
My System SpecsSystem Spec