473,748 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Use active directory to scan for software on a remote system?

In programs like Hyena, you can use AD to view programs installed on
systems. How could I do something like this in .NET? I know there is a
directory control, but im not sure how to query AD to get the installed
software list on a remote system that is turned on. I posted this to .NET
groups and AD groups because it deals with both, and was not sure which one
I really would get a good answer from.
Mar 31 '06 #1
2 5183
Hi,

You can use the wmi connect to the remote computer and list the
software installed.

List computers in active directory
http://www.vb-tips.com/default.aspx?...3-9c76953e41cf

Use the win32_product wmi class to list the installed software
http://msdn.microsoft.com/library/de...32_product.asp

Ken
----------------------

"Brian Henry" wrote:
In programs like Hyena, you can use AD to view programs installed on
systems. How could I do something like this in .NET? I know there is a
directory control, but im not sure how to query AD to get the installed
software list on a remote system that is turned on. I posted this to .NET
groups and AD groups because it deals with both, and was not sure which one
I really would get a good answer from.

Mar 31 '06 #2
I have not used this tool personally, but I've heard it's pretty good from
some of my colleagues. I'm spoiled, and I've always had SMS at my disposal.
;)

http://www.microsoft.com/Downloads/d...displaylang=en

The tool is gpinventory, and my understanding is that itcan be used to
determine installed software on a system.
"Ken Tucker [MVP]" <Ke**********@d iscussions.micr osoft.com> wrote in message
news:AD******** *************** ***********@mic rosoft.com...
Hi,

You can use the wmi connect to the remote computer and list the
software installed.

List computers in active directory
http://www.vb-tips.com/default.aspx?...3-9c76953e41cf

Use the win32_product wmi class to list the installed software
http://msdn.microsoft.com/library/de...32_product.asp

Ken
----------------------

"Brian Henry" wrote:
In programs like Hyena, you can use AD to view programs installed on
systems. How could I do something like this in .NET? I know there is a
directory control, but im not sure how to query AD to get the installed
software list on a remote system that is turned on. I posted this to .NET
groups and AD groups because it deals with both, and was not sure which
one
I really would get a good answer from.

Mar 31 '06 #3

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

Similar topics

4
3882
by: ASGMikeG | last post by:
Hi, How do I find the user object for the current user in Active Directory i.e. the user running my program ? Regards Michael
1
2386
by: Ollie | last post by:
I know this has been asked before, I have read the answers given and I am unable to get this work ( I don't know that much about AD configuration) I have an asp.net web service that is designed to authenticate and maintain accounts in active directory. It all works fine when the web service is on the same machine as the domain controller but when the web service is on a remote machine it fails on any active directory calls. I have...
0
1298
by: Frank_00001 | last post by:
I'm trying to use Active Directory to get a list of users that are in the same directory as the logon user. I'm trying to do this as a Web App written in C# using Windows Security and Impersonation. When running from the local host I have no problem; but when I try the same thing remotely I get the error "System.Runtime.InteropServices.COMException" on the second hit on Active Directory, the first hit works fine. I used to get the same...
1
4755
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem I have run into I am not sure how to fix, and really not sure what is causing it. Here's what is going on (test server - Windows 2003 Server): I have a page in a folder (under anonymous authentication in IIS6) that has a link on it that...
9
3179
by: Patrick | last post by:
I have an ASP.NET page that searches for someone in the corporate Active Directory. It had been working fine until recently when I changed from Basic Authentication on IIS6 back to Integrated Windows authentication. The error occurs on the FindAll method. The exceptions are as follows. anyway of getting the code working with Integrated Windows authentication (too annoying for user to enter user-name/password). Note I do need to use...
1
3894
by: tangus via DotNetMonster.com | last post by:
Hello all, I'm really struggling with getting some Active Directory code to work in ASP.NET. Can you please provide assistance? I am executing the following code: Dim enTry As DirectoryEntry = New DirectoryEntry("LDAP://domain") Dim mySearcher As New DirectorySearcher(enTry) Dim resEnt As SearchResult mySearcher.Filter = ("(objectClass=*)") mySearcher.SearchScope = SearchScope.Subtree
2
3239
by: Jm | last post by:
Hi All Im not sure of which way to go about this so ill start by explaining what im trying to do and the options ive come up with. ok.. I have a client program which talks to an sql server database whenever a machine is turned on. It reports the client machine status to the server and accepts incoming tcp connections for various functions. During logon the client software will contact active directory services to retrieve the users...
4
12563
by: Von Thep via DotNetMonster.com | last post by:
How can I use WMI with VB.NET to get a remote computers directory size? How can I use a unc_path within WMI? Previously I used FileInfo and DirectoryInfo but this method takes too long because some of the directories are over 30GB's in size. Please help! -- Message posted via http://www.dotnetmonster.com
2
1387
by: Brian Henry | last post by:
In programs like Hyena, you can use AD to view programs installed on systems. How could I do something like this in .NET? I know there is a directory control, but im not sure how to query AD to get the installed software list on a remote system that is turned on. I posted this to .NET groups and AD groups because it deals with both, and was not sure which one I really would get a good answer from.
0
8831
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,...
0
9552
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, 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...
1
9326
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8245
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, 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...
1
6796
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 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...
0
6076
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();...
0
4607
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3315
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 we have to send another system
2
2787
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.