Discussion:
Can't get netsh ras set tracing tapi32 to work in windows7
(too old to reply)
f***@gmail.com
2014-02-19 22:57:12 UTC
Permalink
I have never had an issue tracing tapi, but I can't get it to work on a clients machine. I get this error:

"the syntax supplied for this command is not
valid"

I tried this on a VM of windows 7 on my machine and had the same error, but I think running the command prompt elevated fixed it. But I can't get it to work on another machine at all. If I change "tapi32" to "tapisrv" I can trace that. Very strange. It is like tapi32 is not recognized. But TAPI programs work.
Andreas Marschall [exMVP TAPI]
2014-02-20 00:31:40 UTC
Permalink
"the syntax supplied for this command is not valid"
I tried this on a VM of windows 7 on my machine and had the same error, but I think running the command prompt elevated fixed it. But I can't get it to work on another machine at all. If I change "tapi32" to "tapisrv" I can trace that. Very strange. It is like tapi32 is not recognized. But TAPI programs work.
Hi,
I just tried
netsh ras set tracing tapi32 enable
in a cmd.exe on a Win8pro(x64, Build 9200) and got no error message.
The tapi32.log file was created in the /Windows/tracing/ sub-directory.
I didn't need to elevate the cmd.exe for this.

Are you sure there was no typoo in:
netsh ras set tracing tapi32 enable
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.I-B-A-M.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group / forum so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
f***@gmail.com
2014-02-24 03:24:01 UTC
Permalink
Yes, I was cutting and pasting the command to make sure. I am remoted into that machine, but not sure that would affect anything. I guess I will try a few more things tomorrow.
Andreas Marschall [exMVP TAPI]
2014-02-24 10:49:59 UTC
Permalink
Post by f***@gmail.com
Yes, I was cutting and pasting the command to make sure. I am remoted into that machine, but not sure that would affect anything. I guess I will try a few more things tomorrow.
I just tried it on Win7pro (x64, Build 7601, German) and on Win8.1pro (x64, Build 9600, German) and it worked on both too, again without elevating cmd.exe with admin privs.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.I-B-A-M.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group / forum so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Loading...