Solved

Searching a folder on domain attached workstations

Posted on 2014-02-26
2
256 Views
Last Modified: 2014-03-03
Hi

I need to search for an NTFS folder by the name of 'ABC' on all the workstations ( XP/Vista/Windows 7) connected to my 2003 AD domain and output the results on a shared drive.

I have SCCM 2012 but can't find any option to search for folder name string using local machine agents.

A script run via GPO seems like an option? Pls advise!!
0
Comment
Question by:fahim
2 Comments
 
LVL 31

Accepted Solution

by:
merowinger earned 400 total points
ID: 39891125
As a very simply Methode, you could create a Batch file like this

dir /s ABC > C:\searchresult_%computername%.txt
xcopy C:\searchresult_%computername%.txt \\server\share

Open in new window


Execute it as a package via SCCM on all Clients and make sure the the user or computeraccount executing the script on the Clients has access to copy the file to the Folder \\server\share
0
 
LVL 9

Assisted Solution

by:VirastaR
VirastaR earned 100 total points
ID: 39891732
Hi,

As per this the Search Folder feaure is removed in SCCM 2012.

Is there a way to recursively search thru SCCM 2012 collection folders?

Hope that helps too :)
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question