I just typed in wmic RDToggle get AllowTSConnections. My cmd window ran the command fine; in my case it stated this
C:\Windows\System32> wmic RDToggle get AllowTSConnections
C:\Windows\System32> (Blinking cursor)
I dont know what to tell you.
Type ipconfig/all and post that, then type netstat and post that too. I'll take a look into it for you. Also, I haven't messed with command line in ages so I am venturing in to old seas again. I'll have to read up and familiarize myself. I'll be back in an hour!
I came back and found something relevant to your problem. I was trying to replicate your problem on my PC and couldn't exactly do it. Give this a shot:
The behavior seems to be caused by a failure to mofcomp specific mof/mfl
files on that machine. The logs in %windir%\system32\wbem\logs might give
you a clue why the root\cimv2 namespace is missing. If that doesn't help,
try to rebuild the WMI repository by running the following batch.
Net stop winmgmt /y
If exist "%windir%\system32\wbem\repository.old" rmdir /s/q
for /f %s in ('dir /b /s %windir%\system32\wbem*.dll') do regsvr32 /s %s
Microsoft WMI Test Engineer
All credit goes to Andy Cheung.
PS: What OS are you running?
Here's some useful bits and pieces for WMIC that you might be interested in...