Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

invisible cmd.exe in WinPE 10

Post Reply
WeDontNeedRoads
Posts: 2
Joined: 2018-12-28 14:28

invisible cmd.exe in WinPE 10

Post by WeDontNeedRoads »

I am running UltraVNC 1.2.2.3, not installed just from cmd.exe in Windows RE/PE 10.0.17763.1 . It works, but for some reason, all of the command prompt windows do not show up in the viewer. I can type in them if I know they are focused, but nothing appears. I am running the 64 bit version of the server, PE has no 32-bit subsystem.

Any thoughts on settings I can tweak so the cmd window is visible?

Below:
left: virtual machine booted into WinPE running winvnc.exe
right: vncviewer into that machine

it just doesn't draw the cmd window. :-?

Image
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: invisible cmd.exe in WinPE 10

Post by Rudi De Vos »

Winpe 10 act as win7 non earo mode but announce himself as WIN8.
Fix for next update,
pre-release (64bit winvnc with pe detection)
https://www.uvnc.eu/download/1224/winvnc_WINPE.zip

Happy New Year
WeDontNeedRoads
Posts: 2
Joined: 2018-12-28 14:28

Re: invisible cmd.exe in WinPE 10

Post by WeDontNeedRoads »

Excellent! That fixed the issue. Thank you very much.
JSmith
8
8
Posts: 19
Joined: 2011-01-04 16:22

Re: invisible cmd.exe in WinPE 10

Post by JSmith »

Hi Rudi,

Do you know when the next release will be? I use both x86 and x64 WinPE versions and will need both flavors to deploy before we can do 1809. :)

Thanks!
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: invisible cmd.exe in WinPE 10

Post by Rudi De Vos »

Changes are already in the last 1.2.24 pre-release.
32/64 bin/installer
JSmith
8
8
Posts: 19
Joined: 2011-01-04 16:22

Re: invisible cmd.exe in WinPE 10

Post by JSmith »

Thanks!
morten_leth
Posts: 2
Joined: 2019-03-15 13:43

Re: invisible cmd.exe in WinPE 10

Post by morten_leth »

Hi Guys

I too am using this, and i am experiencing similar behaviour.
My Windows PE is 1809, latest version, 10.0.17763.1, everything works as it should, i simply do not see any cmd.exe's running on the client.

I downloaded the client from this URL:
http://www.uvnc.com/component/jdownload ... tup/0.html

Is the fix in this release, or should i have another one downloaded?

Kind Regards
Morten Leth Hedegaard
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: invisible cmd.exe in WinPE 10

Post by Rudi De Vos »

Normal is should be in it it was commited a time ago.
Isn't it working ?
morten_leth
Posts: 2
Joined: 2019-03-15 13:43

Re: invisible cmd.exe in WinPE 10

Post by morten_leth »

I was just a tad too quick to reply guys, sorry for that.
I didn't update the vncviewer.exe - after i did everything worked as expected.

Thanks for the reply though, and again sorry for the inconvenience.

Kind Regards
Morten Leth Hedegaard
zdronz
Posts: 1
Joined: 2020-02-14 11:40

Re: invisible cmd.exe in WinPE 10

Post by zdronz »

Hello,

I have tried 1.2.2.4 and 1.2.3.0 with WinPE 10.0.18362.1 and no success, no cmd visible. :(

Maybe some customized settings should set? Could you please share your ini file?

Thank you in advance!
Mad Butcher
Posts: 4
Joined: 2020-07-09 07:52

Re: invisible cmd.exe in WinPE 10

Post by Mad Butcher »

Hello,
I have this issue too.
My WinPE version is 10.0.19041.0 (latest) and I tried uVNC 1.2.4.0 and 1.2.5.1RC. Environment is 64-bits.
I looked at sources and I see "patch" for WinPE in vncOSVersion.cpp:
if (OS_LAYER_ON == true && OS_AERO_ON == false) return true; //WINPE

So this should work, but actually it is not.
Neither cmd nor powershell are visible in the viewer.
I spent some time playing with settings at the Screen Capture tab, but without any improvements.

I join to the zdronz's question, maybe a special setting in the ultravnc.ini is required?

P.S.
I understand that Rudy is now struggling with "NAT", and he has no time, but I think that no one except him can help us)
a0918592302
Posts: 1
Joined: 2020-07-31 09:42

Re: invisible cmd.exe in WinPE 10

Post by a0918592302 »

Dear All,

I have the same issue with latest Winpe version 10.0.19041.0, any one can help?
Already tried UltraVNC version 1.2.4.0 /1.2.5.1, still got the same issue.
Dose any one can help to resolve or advice how to fix invisible cmd.exe in WinPE 10?
Thanks a lot!
Mad Butcher
Posts: 4
Joined: 2020-07-09 07:52

Re: invisible cmd.exe in WinPE 10

Post by Mad Butcher »

It's look here's only one workaround - use previous WinPE.
I checked WinPE from ADK from 1803 to 1903 (1909 has not been released), uvnc work fine on all of then except WinPE from 2004 ADK.
Extracted boot.wim from 2004 RTM releases also don't work with uvnc.

P.S.
Rudi, you are us only hope)
vphilne
Posts: 1
Joined: 2020-08-04 09:35

Re: invisible cmd.exe in WinPE 10

Post by vphilne »

Hi,

After long long long test..... i have find the problem.

It's due to the legacy console (disabled by default)
You just need to re-enable the legacy console.

Just change the DWORD value of "HKCU\Console\ForceV2" from "1" to "0"

Or just add this line in your startnet.cmd
REG ADD HKCU\Console /v ForceV2 /t REG_DWORD /d 1 /f

Regards
Mad Butcher
Posts: 4
Joined: 2020-07-09 07:52

Re: invisible cmd.exe in WinPE 10

Post by Mad Butcher »

Yeah, that's another workaround but no one want to see the legacy console)
Also problem is little more widely there not only invisible console window but also some WPF applications do not shown correctly(
pafa
Posts: 1
Joined: 2020-08-28 05:44

Re: invisible cmd.exe in WinPE 10

Post by pafa »

We have the same problem.

Running the latest WinPE boot image (19041), and the latest UltraVNC, both viewer and client, but the command prompt (or powershell shell) is not visible

Could be fantastic with a fix for this problem (not a workaround)
Neustradamus
20
20
Posts: 54
Joined: 2011-03-26 20:22

Re: invisible cmd.exe in WinPE 10

Post by Neustradamus »

@Rudi: Can you look?
- viewtopic.php?t=36869
Post Reply