ConEmu icon indicating copy to clipboard operation
ConEmu copied to clipboard

Use Hidden Start to Launch cmd.exe

Open numeralnathan opened this issue 2 years ago • 1 comments

  • Please do not post problems found in old builds, update first. ConEmu versions has following format YYMMDD, so if you are using old build, there are chances that your problem was fixed long ago. https://conemu.github.io/en/OldBuild.html.

Versions

ConEmu build: 210912 x64 stable OS version: Windows 10 21H1 build 19043.1288 Used shell: cmd

Problem description

I have a link pinned to my taskbar that starts a cmd.exe with elevated privileges. This link uses Hidden Start to start the cmd so that I do not get a "User Account Control" dialog box.

I would like to setup a task in ConEmu that uses Hidden Start to start a cmd with elevated privileges. I created a new task and called it Shells::cmd (Admin 2). In the command box, I put "C:\Program Files\Hidden Start\hstart64.exe" /ELEVATE /NOUAC cmd.exe. This creates a tab for Hidden Start. Hidden Start runs cmd in a separate window and the tab for Hidden Start closes since Hidden Start exited.

How do I start cmd with Hidden Start and have the cmd console show up as a tab in ConEmu?

numeralnathan avatar Oct 20 '21 22:10 numeralnathan

I don't know what's hstart64.exe is, my guess - not a console application.

You may try to run instead of cmd.exe something like ConEmuC64.exe /ATTACH /ROOT cmd.exe. Then it will try to create new tab in ConEmu.

Maximus5 avatar Nov 01 '21 23:11 Maximus5