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 3 3960
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.m icrosoft.com> wrote in
message news:3A******** *************** ***********@mic rosoft.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
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.Manageme nt namespace and WMI.
Willy.
"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in
message news:3A******** *************** ***********@mic rosoft.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
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.Manageme nt namespace and WMI.
Willy.
"Alexander Wehrli" <Al************ *@discussions.m icrosoft.com> wrote in message news:3A******** *************** ***********@mic rosoft.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
Windows 2000 domain (mixed-mode): MYDOMAIN (mydomain.net)
Windows 2003 Server w/IIS6: WEB01
Windows 2000 Server hosting files: FILE01
Windows XP Pro client workstation: CLIENT01
|
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 .NET 2002 and the server is
Windows Server 2003 with the Server Components installed from VS. Both
machines are in the domain, and the user is an administrator of both machines
and has been added to the VS Developers group & the Debugger Users group...
|
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 to copy the file using the
File.Copy method. But the exception always returns a "(local)file not
found" message. Could someone give me a hint where I make a mistake in
the following code ? many thx in advance :)
|
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 is set so the user as access
to the directory. I get the stop sign with the status "logon failure: the
user has not been granted the request type logon"
The local policies on the file server for allow access from the network
contains the...
|
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 are an administrator or
member of the Debugger Users".
I have followed
(ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vsdebug/html/vxtbsHTTPServer
Errors.htm). I have seen...
| |
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. I had no issue creating the web app on the remote server after authenticating with the domain account, but I can't debug. It complains that I don't have rights. My domain account is in the administrators group on the remote machine. I also have...
|
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 (NT_AUTHORITY\SYSTEM).
I understand that when the service starts, no user may be logged in, but
that's ok, as the app I am monitoring can only be run by a logged in user.
Do I need to use WMI to get the user context of Explorer.exe or is there a...
|
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#?
|
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 sqlserver 2000 & asp.net 2005 for my project..
I have written one stored procedure which creates one Text file on
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |