473,513 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting remote Logon User

Hello,

I'd like to write an application that finds out for every machine in my
network that it is running and if yes, which user is logged on this machine.
I'm asking myself if this is possible at all (security...), even if I am
Administrator on the remote machine!

Regards Alexander
Nov 16 '05 #1
3 3942
You would need to install a Windows Service on each machine, that acts as a
..NET remoting server and has appropriate permissions to obtain the machine
info you want. You would then call this from a remoting client across the
network. Ideally you would encrypt the data returned by the service, and
probably have the server require some sort of password as well. And keep
the source to the clients and servers, and technical documentation of their
APIs, under lock and key with as few people on a "need to know" basis as
possible, as you would be in effect creating a "back door" to sensitive info
on all these machines. Also you would want to consider obfuscating the
assemblies involved.

--Bob

"Alexander Wehrli" <Al*************@discussions.microsoft.com> wrote in
message news:3A**********************************@microsof t.com...
Hello,

I'd like to write an application that finds out for every machine in my
network that it is running and if yes, which user is logged on this
machine.
I'm asking myself if this is possible at all (security...), even if I am
Administrator on the remote machine!

Regards Alexander

Nov 16 '05 #2
All depends on what you mean with your "network", and what OS you have
running on the individual machines.
If you are running in a Domain realm things are less complicated security
wise, but the thing to look at is the System.Management namespace and WMI.

Willy.

"Alexander Wehrli" <Al*************@discussions.microsoft.com> wrote in
message news:3A**********************************@microsof t.com...
Hello,

I'd like to write an application that finds out for every machine in my
network that it is running and if yes, which user is logged on this
machine.
I'm asking myself if this is possible at all (security...), even if I am
Administrator on the remote machine!

Regards Alexander

Nov 16 '05 #3
Hi,

Network means one Domain (company network) and all machines are running on
XP Prof.

WMI is heavy stuff, could you give me a hint, where these informations are
located?

Regards Alexander

"Willy Denoyette [MVP]" wrote:
All depends on what you mean with your "network", and what OS you have
running on the individual machines.
If you are running in a Domain realm things are less complicated security
wise, but the thing to look at is the System.Management namespace and WMI.

Willy.

"Alexander Wehrli" <Al*************@discussions.microsoft.com> wrote in
message news:3A**********************************@microsof t.com...
Hello,

I'd like to write an application that finds out for every machine in my
network that it is running and if yes, which user is logged on this
machine.
I'm asking myself if this is possible at all (security...), even if I am
Administrator on the remote machine!

Regards Alexander


Nov 16 '05 #4

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

Similar topics

3
5214
by: Jacob | last post by:
Hello All, I am trying to serve out some content via IIS that is hosted on a remote fileserver, and am unable to get the delegation working correctly. Our setup is as follows: Local LAN...
1
2035
by: Gary K | last post by:
I am trying to setup remote debugging on my first client-server setup, so hopefully this problem is just stupidity on my part. The client machine is running Windows XP Pro/SP2 with Visual Studio...
4
3869
by: Ulf | last post by:
Hi all, I run into some problems when trying to copy a file to a remote machine. I first create with WMI a share on the remote machine (works fine), then impersonate with admin rights and try...
3
2551
by: rfontaine | last post by:
I have a virtual directory on IIS 5.0 to a remote share on a Windows 2003 file server. The "connect as" is a domain user account. The share as read permission for everyone and the NTFS permission...
14
8648
by: | last post by:
I cannot for the life of me get remove debugging to work. I continue to receive "Error while trying to run project: Unable to start debugging on the web server. Access is denied. Verify that you...
7
2575
by: | last post by:
I'm writing an ASP.NET app, using Visual Studio 2003. VS is running locally on my laptop, but the web app is running on a remote server. My laptop is not in the domain. I do have a domain account....
33
11809
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
8
6655
by: Hayato Iriumi | last post by:
Hello, folks. I have a need to get the value of %windir% on a remote machine. Is it possible to get this value using C#?
2
5474
by: Bhavesh | last post by:
Hi everybody, I have problem in copying file from DatabaseServer to WebServer.Both machines are on LAN. Let me explain in details what i am doing & wht i want to achieve... I am using...
0
7161
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
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7539
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5686
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,...
1
5089
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...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.