Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Prompt won't load after install Ansicon v1.88 #128

Open
jellius opened this issue Apr 12, 2019 · 11 comments
Open

Command Prompt won't load after install Ansicon v1.88 #128

jellius opened this issue Apr 12, 2019 · 11 comments

Comments

@jellius
Copy link

jellius commented Apr 12, 2019

After Installing Ruby and Ruby mine, Installed Ansicon 1.88 and my command windows opens then closes immediately. I am running windows 10 operating system.

@adoxa
Copy link
Owner

adoxa commented Apr 13, 2019

Use the Run dialog to run cmd /d, then you can uninstall. Should it still not work, have a look at HKCU\Software\Microsoft\Command Process\AutoRun. Does ansicon -p work on the command line?

@jellius
Copy link
Author

jellius commented Apr 15, 2019

When I run ansicon -p it closes the command prompt window

@jellius
Copy link
Author

jellius commented Apr 15, 2019

this is the value I have at the path you listed above "(if %ANSICON_VER%==^%ANSICON_VER^% "C:\ANSICON\x64\ansicon" -p)"

@adoxa
Copy link
Owner

adoxa commented Apr 16, 2019

That value is fine, so there's something going wrong with -p. Does just ansicon work? That should start a new instance of cmd, with sequences. What's your version of 10?

@jellius
Copy link
Author

jellius commented Apr 16, 2019

Here's my system information
OS Name Microsoft Windows 10 Enterprise
Version 10.0.17134 Build 17134
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name HOU-5009385-1L
System Manufacturer LENOVO
System Model 20L6S06G00
System Type x64-based PC
System SKU LENOVO_MT_20L6_BU_Think_FM_ThinkPad T480
Processor Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz, 2112 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date LENOVO N24ET44W (1.19 ), 11/7/2018
SMBIOS Version 3.0
Embedded Controller Version 1.11
BIOS Mode UEFI
BaseBoard Manufacturer LENOVO
BaseBoard Model Not Available
BaseBoard Name Base Board
Platform Role Mobile
Secure Boot State On
PCR7 Configuration Elevation Required to View
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "10.0.17134.619"
User Name LPSVCS\e5009385
Time Zone Central Daylight Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 15.8 GB
Available Physical Memory 8.04 GB
Total Virtual Memory 18.2 GB
Available Virtual Memory 9.32 GB
Page File Space 2.38 GB
Page File C:\pagefile.sys
Kernel DMA Protection Off
Virtualization-based security Running
Virtualization-based security Required Security Properties
Virtualization-based security Available Security Properties Base Virtualization Support, Secure Boot, DMA Protection, UEFI Code Readonly, SMM Security Mitigations 1.0, Mode Based Execution Control
Virtualization-based security Services Configured
Virtualization-based security Services Running
Device Encryption Support Elevation Required to View
A hypervisor has been detected. Features required for Hyper-V will not be displayed.

@adoxa
Copy link
Owner

adoxa commented Apr 17, 2019

Okay, that's a bit more than I was expecting. I was really only after the build version, although Enterprise might have something to do with it. Just tried ansicon -p in Home 10.0.17134.648 and that worked fine. Can you check just ansicon? That will let me know if it's the hooking going wrong, or the injection that -p does.

BTW, you shouldn't need ANSICON for Ruby, as that either uses the Windows 10 native sequences or its own parser.

@jellius
Copy link
Author

jellius commented Apr 17, 2019

LOL sorry for the over share. I downloaded Ansicon 1.88. when I try to run to ansicon -p at the command prompt the window closes. I can't bring the command prompt up unless i run it with cmd /d and then when I try to run ansicon after that it closes my command prompt window.

@adoxa
Copy link
Owner

adoxa commented Apr 17, 2019

I don't see how running ansicon closes Command Prompt. Can you have a look at Event Viewer for Application Errors regarding ansicon and cmd? Just to be thorough, could you also try ansicon -l2 %windir%\syswow64\cmd to see what happens with the 32-bit version? If it doesn't work, could you post the log at %temp%\ansicon.log; if it does work, try ansicon -l2 and post that log.

Delete AutoRun from the registry to get your normal Command Prompt back (and do it before attempting the above).

@adoxa
Copy link
Owner

adoxa commented Apr 21, 2019

Just a friendly reminder (a new release is imminent, so it'd be nice to fix this, too).

@blackcrack
Copy link

@jellius works now or works now not ? Did you it tested now ?

@07c0ff3a590b
Copy link

ANSI escape sequences are now officially supported by Windows 10.
Update to the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants