Page 2 of 2 FirstFirst 12
  1.    4 Weeks Ago #11
    Join Date : Jul 2017
    Posts : 11
    Windows 10 Enterprise S
    Thread Starter

    Ok.. No more responding without sleep. I didn't begin to think about your reply in the linked post. Lack of sleep does strange things to me.

    I did get it to work.

    psexec is here: C:\Windows\System32\

    I created the script, changed the path, renamed the compiled exe, then dropped it in sys32.

    Result: C:\Windows\System32\syscmd.exe that executes
    Code:
    Run, *runas "C:\Windows\System32\PsExec.exe" -s -i -d -w %HOMEDRIVE% -high %windir%\system32\cmd.exe /k
    exit
    It works great. Thanks so much for the help and the new tools (AHK and Right Click Configurator) !!

    I had been searching for a better context menu tool. I'm looking into AHK script. Never used it before as I never had the need.
      My ComputerSystem Spec
  2.    4 Weeks Ago #12
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,044
    Win 10 Pro (1703)

    That's great. At one level AHK is simple, at another, you can create whole programs with it. And at another, it can manipulate existing Windows, click buttons, operate on processes...

    So it's a simple scripting language, a tool to manipulate Windows at a GUI and process level, and a programming language.

    SciTE4AutoHotkey Editor - syntax sensitive editor
    AutoIt3 Window Spy - tool to identify elements in existing Windows and GUI

    Try (free)
    https://www.askvg.com/right-click-co...-context-menu/
    The venerable Context Edit is thorough, but dated.

    Generally tools that offer the flexibility of the one I used are commercial (I got it as a giveaway).

    Right Click Enhancer now seems commercial- the version I have is free with an option to upgrade to add freedom to add your own.

    Then there are various tools that add fixed functions to the context menu.

    FileMenu Tools
    Click image for larger version. 

Name:	1.jpg 
Views:	3 
Size:	100.4 KB 
ID:	160282
    Has more features than you think, but would take time to get used to it. For a long time I though it just added fixed items or disabled items, but it looks as though you can add your own. Adds separators too.

    Nothing like as intuitive as the one I used.

    - you might consider seeing if you could use a parameter (as in my Notepad example) to pass in the folder or disk to cmd.exe so the command prompt opens at the folder or disk if that's relevant.
    Last edited by dalchina; 4 Weeks Ago at 02:01.
      My ComputerSystem Spec
  3.    3 Weeks Ago #13
    Join Date : Jul 2017
    Posts : 11
    Windows 10 Enterprise S
    Thread Starter

    I will play around with the parameters to get it to open where I right click. I was going to bypass UAC BUT decided to keep it save I do something dangerous while not paying attention to access levels.

    Seriously THANKS. I finding myself doing things with things owned by SYSTEM and TrustedInstaller. Being able to get a system level CMD easily to launch apps or exec commands with access that equals SU saves me time.

    My next project is adding runas System &/or runsas TrustedInstaller to *.lnk and *.exe context menus.

    I'll try my hand before I create another post though. Maybe I'll get it on the 1st or try??

    Thanks again for all your help. Greatly appreciated.


    Side note: I purchased Right Click Configurator. I have no problem spending on things that simplify my task.
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Edge context menu bigger than windows context menu
Hi guys, is there any tweak to reduce the size of edge context menu. Make it same size as windows context menu(desktop right click, file explorer). The other modern apps also have larger context menu as compared to windows. Thanks
Browsers and Email
Antivirus / Windows 10 / Start Menu, Metro Apps, Context menu issues
Hi I wondered if anyone out there has had a similar experience to me... For some weeks now I have had problems where the START MENU wouldn't launch, metro apps (OneDrive, Tweetium, Money, News etc) would fail to launch (just a blank window...
AntiVirus, Firewalls and System Security
Start Menu context menu on Windows 10
Hi All, Thanks for visiting my thread. I'm rebuilding all computers to Windows 10 at the School I work at. I've been able to lock down everything using Group Policy and Registry tweaks apart from two niggling little issues. 1. I can't get rid...
General Support
Black Context Menu for Taskbar and Old Context Menu for Desktop
Hello. Today I got an update, and I noticed afterwards that the Windows 10 context menu when you right click the desktop went back to the old version and not the Windows 10 version. Also, the context menu for right clicking in the taskbar turned...
Customization
Solved Network map context menu (Fix Icon and context menu)
For all those that have a blank icon in network router and the non working network map feature as it is removed from windows 8/10 (this plug and play driver bug never got corrected from microsoft, imo) here is a reg file that fixes both of the 3...
Network and Sharing
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:41.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums