473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

WTSOpenServer Windows 2000 Professional issue

Hi,

To get the USERNAME of all process running in local/remote system I am
using the WTSOpenServer and WTSEnumerateProcesses API's but when I invoke
the WTSOpenServer in Windows 200 Professional it s returning 1722(The RPC
server is unavailable.) error, but the same program is working fine in
Windows 2000 Advance Sever and Windows 2003.

Any idea why it is not working in Windows 2000 professional, from net in
found that Windows 2000 professional is not a "Terminal Server" but I found
in the MSDN that the above API will support in Window 2000 Professional.

Can any one can help me out..

Note : I want to get the USERNAME without WMI in both local/remote systems.

Thanks

Manu
Nov 2 '06 #1
1 2094

"Manu" <di******@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
| Hi,
|
|
|
| To get the USERNAME of all process running in local/remote system I am
| using the WTSOpenServer and WTSEnumerateProcesses API's but when I invoke
| the WTSOpenServer in Windows 200 Professional it s returning 1722(The RPC
| server is unavailable.) error, but the same program is working fine in
| Windows 2000 Advance Sever and Windows 2003.
|
|
|
| Any idea why it is not working in Windows 2000 professional, from net in
| found that Windows 2000 professional is not a "Terminal Server" but I
found
| in the MSDN that the above API will support in Window 2000 Professional.
|
|
Well, the API is supported on W2K Pro, that is, the API is there and can be
called, however, the argument must refer to a TS enabled system and W2K PRO
is not such system.

|
| Can any one can help me out..
|
|
|
| Note : I want to get the USERNAME without WMI in both local/remote
systems.
|

If you don't want to use WMI, you'll have to implement a similar
client/server architecture yourself, Windows has no API's that can be used
to query processes running on remote systems.

Willy.


Nov 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Alex | last post by:
I wrote an asp program to send email. I set SMTP as 127.0.0.1 and it worked well in Windows 2000 server but not in Windows 2000 Professional. What is different between server and professional. My...
2
by: Dave | last post by:
I have developed a VB.net application that transfers a SOAP wrapped message to another server securely(using SSL and sever/client certificates). When I run this app from a Windows 2000...
0
by: big A | last post by:
I am experiencing an issue that i have seen posted with various descriptions but lacks any answers. I have .Net Framework 1.1 services that run without issue on windows 2000 professional; however...
5
by: Joseph Barbaro | last post by:
I am trying to install DB2 Universal Database Enterprise Server Edition Version 8.1 (for Windows operating systems on 32-bit systems) on Windows 2000 Advanced Server that can be either standalone...
2
by: umilmi81 | last post by:
I am having a problem creating an ASP.NET application in Visual Studio.NET 2003, installed on Windows XP Professional I get a message stating that I do not have ASP.NET 1.1 installed, so I can not...
0
by: DavidS | last post by:
Have Visual Studio.NET installed on Microsoft 2000 Professional OS. No issue EVER with SQL connections - MDAC components too. Purchased new laptop and have Windows XP Professional SP2 as OS. ...
1
by: Jim Swarr | last post by:
I have a rather annoying issue with VB.net 2005 and Splash Screens. If I configure a Splash Screen from the Application Property tab, it works just as expected when the application is installed...
0
by: Manu | last post by:
Hi, To get the USERNAME of all process running in local/remote system I am using the WTSOpenServer and WTSEnumerateProcesses API's but when I invoke the WTSOpenServer in Windows 200...
3
by: Adam | last post by:
This is my first attempt at using the Terminal Services API, and I'm stumped. I can't get WTSOpenServer to work for the life of me (this is in VS2005, by the way). Specifically, the argument has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.