#txadmin console error

1 messages ¡ Page 1 of 1 (latest)

near coral
#

how can i fix this? i have windows 10

near coral
#

please help me

magic acorn
#

WMIC can be installed via the “Turn Windows features on or off” app. Although it’s on its best way to being marked as deprecated, so I don’t know how long this is still going to work

magic acorn
#

You can also open it via the control panel

near coral
#

in which control panel?

magic acorn
#

Just type in the search bar “control panel”

#

On the top right select “Large Icons”

#

And then you need to go to programs and features

near coral
#

and next?

magic acorn
#

Do you see a list with checkboxes?

near coral
#

yes

magic acorn
#

Now scroll down until you reach the “w”. The list is sorted alphabetical

#

What do you see?

near coral
winged ploverBOT
# near coral

:rocket: Congratulations @near coral, you leveled up to <@&828359841512816671>!

magic acorn
#

Auf Deutsch wirds natĂźrlich einfacher

near coral
#

das stimmt 😂

lone sedge
#

English in this Discord.

magic acorn
#

What if I write in English and the same sentence in German?

winged ploverBOT
magic acorn
lone sedge
#

Thats fine :P

near coral
magic acorn
#

So Windows Server and not Windows 10?

near coral
#

Windows Server 2022 Standard is installed on the server

magic acorn
#

In that case

#

Open PowerShell as an Administrator

near coral
#

yes

magic acorn
#

Install-WindowsFeature -Name RSAT-WMI

near coral
magic acorn
#

Try

#

Get-WindowsFeature | Where-Object {$_.Name -like "WMI"}

near coral
#

he didn't answer anything.

magic acorn
#

Give me one minute

near coral
#

okay xD

magic acorn
#

I’ll try on my server

near coral
#

ty

magic acorn
#

I think I found the right one

#

Install-WindowsFeature -Name RSAT-Role-Tools -IncludeAllSubFeature

#

Then you have to restart the server

near coral
#

restart now?

magic acorn
#

Positive

near coral
#

and after the restart?

magic acorn
#

Try

#

wmic computersystem get name,model,manufacturer

#

If that works you’ve installed wmic

near coral
magic acorn
#

I think so

near coral
magic acorn
#

And cmd?

near coral
magic acorn
#

Hmm

#

sc query winmgmt

#

Please run this in cmd

near coral
magic acorn
#

Search in the start menu for
“Dienste”

near coral
#

yes

magic acorn
#

Then try to find “winmgmt”

#

If that service is stoped, start it and if it’s already started I don’t really know what to do

winged ploverBOT
near coral
#

I can only find this under "w".

magic acorn
#

I think it’s “WMI-Leistungsadapter”

#

¯_(ツ)_/¯

#

Then try the wmic command again in cmd

near coral
magic acorn
#

Let’s try

#

C:\Windows\System32\wbem\wmic.exe

#

In cmd

near coral
magic acorn
#

Alright

#

Then it’s simple

#

Press windows and r at the same time

#

Then type

#

SystemPropertiesAdvanced

near coral
#

okay

#

and now?

magic acorn
#

Could you send a screenshot?

near coral
magic acorn
#

Go to “Umgebungsvariablen”

near coral
winged ploverBOT
magic acorn
#

Then select path

#

And click “bearbeiten”

near coral
magic acorn
#

Add a new entry for

#

C:\Windows\System32\wbem

#

After that hit ok and you should be all set

near coral
#

and now?

magic acorn
#

Click ok and close all the windows

near coral
#

okay

magic acorn
#

You shouldn’t be getting any errors in tx anymore

near coral
magic acorn
#

Try running in cmd

#

C:\Windows\System32\chcp.com

near coral
magic acorn
#

Alright then you do the same thing with the “umgebungsvariablen”

near coral
#

it's still coming

magic acorn
#

You have to add a new entry to path

#

Add:

#

C:\Windows\System32

near coral
magic acorn
near coral
#

okay

magic acorn
near coral
#

it works

magic acorn
#

Wonderful

near coral
#

thanks you

magic acorn
#

No problem

lone sedge
#

@magic acorn Possible for you to write a quick guide in English that explains the steps to fix this issue? So we can reuse it in the future :P

magic acorn
#

Sure

#

Give me a minute

lone sedge
#

Ofc take your time, appreciate it

magic acorn
#

Step 1. Verify WMIC Installation

1.    Open Command Prompt or PowerShell.
2.    Type:

C:\Windows\System32\wbem\wmic.exe

3.    If there appeared new line with “wmic”, skip to Step 3. If the file is missing, continue.

Step 2. Reinstall WMIC
1. Open PowerShell as Administrator.
2. Run the following command to install WMI-related features:

Install-WindowsFeature -Name RSAT-Role-Tools -IncludeAllSubFeature

3.    Restart the computer to apply changes.

Step 3. Check Step 1.

If WMIC is installed but not recognized:
1. Open the System Properties (via SystemPropertiesAdvanced in Win + R).
2. Go to Environment Variables → System Variables → Select Path → Edit.
3. Ensure the following path exists:

C:\Windows\System32\wbem

4.    If missing, add it, and restart your system.

CHCP.COM

Step 1. Verify CHCP.COM Installation

1.    Open Command Prompt or PowerShell.
2.    Run:

C:\Windows\System32\chcp.com

3.    If the chcp command works, proceed to Step 3. If the file is missing, continue.

Step 2. Reinstall CHCP.COM

1.    Run System File Checker (SFC):
•    Open Command Prompt as Administrator.
•    Run:

sfc /scannow

•    This will scan and restore missing system files.

2.    Install Windows Update:
•    Open Settings → Update & Security → Windows Update → Check for Updates.
•    Install any pending updates to ensure all system utilities are restored.

Step 3. Check System Path

Ensure the System32 directory is correctly referenced in the system environment variables:
1. Open the Environment Variables editor (as described in WMIC’s Step 3).
2. Confirm the path:

C:\Windows\System32

3.    Add it if missing, and restart the system.
  1. Verifying Installation

After following the steps above, verify the commands:
• WMIC:

wmic

You should see the wmic:root\cli> prompt.

•    CHCP:

chcp

This should display the active code page (e.g., Active Code Page: 850).

#

It’s not pretty but it’ll do

#

And if you’re kind enough to give some credits that would be appreciated

lone sedge
#

Thanks a lot, I will see what I can do to reproduce the issue and put it in my own docs

magic acorn
#

Alright