View Single Post
  #49  
Old July 9th 18, 04:10 AM posted to alt.comp.os.windows-10,alt.msdos.batch,microsoft.public.windowsxp.general
Arlen Holder
external usenet poster
 
Posts: 466
Default What Windwos freeware adds powerful "phone Susan" & "vipw" commands?

On 8 Jul 2018 18:23:14 GMT, Arlen Holder wrote:

Certainly I don't have those computerist skills (maybe Char Jackson has the
skills, or perhaps even Nil, or Diesel, or J.P. Gilliver, or Frank
Slootweg, or Wolf K.).
HKCR,Directory\Shell\runas\command,,,"%11%\cmd.exe /k cd /d ""%1"""
HKCR,Drive\Shell\runas\command,,,"%11%\cmd.exe /k cd /d ""%1"""


One empirical success to report is that we are now successful at opening a
red command window with white letters, where the reason for caring about
the color is to ensure that the user will always realize it's an "admin"
command window (yes, it says so on top also).

The solution for the red window was simple, as suggested by John Kerr-Mudd
in alt.msdos.batch, which was to use the "cmd.exe" "/color" option:
http://img4.imagetitan.com/img.php?image=18_cmdwindow03.jpg

Adding that option to the INF file as shown below, worked fine:
HKCR,Directory\Shell\runas\command,,,"%11%\cmd.exe /T:47 /k cd /d ""%1"""
HKCR,Drive\Shell\runas\command,,,"%11%\cmd.exe /k cd /d /T:47 ""%1"""
http://img4.imagetitan.com/img.php?image=18_cmdwindow04.jpg

Now the only thing left is to figure out how to modify the context menu for
the open admin command window to work no matter where you position the
mouse.
Ads