Goverlan Complex IT Systems Management Made Easy

Get broad-scope, enterprise-level administration of your users & machines along with industry standard encryption & security. Empower your IT staff with instant access to real-time information and tools to address issues quickly, efficiently and dynamically.

 
Goverlan Forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
smooi

Registered:
Posts: 12
 #1 

I thought I saw that the ability to search for files via a scope action was going to be available on v7.  Is this correct, if so, how do you do it.

GovGuru

Avatar / Picture

Moderator
Registered:
Posts: 585
 #2 
Do you mean the possibility to detect if a particular file exists and report its information or the ability to search the remote file system for a file name?


__________________
GovGuru @ PJ Technologies, Inc.
http://www.goverlan.com
smooi

Registered:
Posts: 12
 #3 
Yes, I'd like to be able to report on the presence ofcertain files that may be located anywhere on a desktop PC.  I need it to do a search since the files are not always located in predictable locates.

Thanks.
GovGuru

Avatar / Picture

Moderator
Registered:
Posts: 585
 #4 
In G7, you can search for files within a parent directory (and sub-directories if specified). However the information of all files within the defined parent directory will be returned to your machines first, then the Scope Action checks for the existence of the file you are looking for.

This means that searching the entire file system or large directory structures of a group of machines is an expensive operation.

Can you at least narrow it down to a parent directory? or to a set of parent directories?




__________________
GovGuru @ PJ Technologies, Inc.
http://www.goverlan.com
smooi

Registered:
Posts: 12
 #5 
Every 3 months or so we're given a list of potential malware files to search for on our PC's.  They could potentially reside anywhere on the local drive.  Typically, they're found in "Program Files" and Windows directories, but that's not always reliable to assume that...

The process can be done on a weekend or after hours so I'm not too concerned about the performance hit.  Hoping to scan 200 machines in a couple days, but we could split them into different groups if necessary.
GovGuru

Avatar / Picture

Moderator
Registered:
Posts: 585
 #6 
Sorry for the late answer on this but I has been a crazy on our side.

Ok, now there is no efficient way to do this using the native features of Goverlan. You can search for a file using the Scope Action, however it should be limited to narrow file system scopes as every file's information will be queried and returned to Goverlan in order to search for the file.  You can't really do that to search entire file systems of remote machines.

So I have create a quick VB script which searches the local file system for a specified file and output results to the console. All we have to do is to use the Run Batch & Script feature of Goverlan Scope Action.

Follow these instructions:

  1. Install the Goverlan v7.01.26 update. This update was just release and has a couple of fixes required to run this solution.

    To gain access to this update, select Help > Online Access > Check for Updates from Goverlan.

    Note that the fix is in the Goverlan Agents, however Goverlan will not automatically update them on your client machines. You need to run a Scope Action to update the Goverlan Agents on your client machines before testing this solution...
     
  2. Download the Search Script files:
    http://www.goverlan.com/Support/Forums/resources/SearchFilesScript.zip

    This zip file includes a VB script and a batch file which calls the script. Expand the content into a dedicated directory on your local machine.
     
  3. Open Goverlan v7, go to any machine in the Administration & Diagnostics feature and expand it.
     
  4. Right-click on the Batch & Script feature and select Manage...
     
  5. Create a new script package, call it 'Search For File' and configure it as follows:


     
    Save your Script Package.
     
  6. Now, create a scope action, define your scope and select the following action for your Action Module:
     
    Add/Remove > Execute Computer Action > Processes > Run a batch or script package
     
    and select the Search for File script package in the argument window.


Now, you can run the scope action and check the script outputs in the configured SearchResult.txt file.


Let me know if this is working as expected.


__________________
GovGuru @ PJ Technologies, Inc.
http://www.goverlan.com
DEJ710

Registered:
Posts: 22
 #7 
Hi GovGuru,

I am trying to use the Search for File vbscript you have written, (thanks by the way...), to try to determine if a particular file exists on a remote PC and would like to configure GoverLAN to report the contents of the following path to assist with this process:

C:\Program Files\Java\jre6\COPYRIGHT

I am trying to determine how many PCs are currently in the state whereby they don't have this file present as they have a failed install of Java (JRE) v1.6.24.

I don't appear to be having much success achieving this so far. Are you able to suggest what the completed Scope Action should like please? A screen shot would be great.

Regards,
Jason
GovGuru

Avatar / Picture

Moderator
Registered:
Posts: 585
 #8 
What is the exact criteria which can be used to achieve the detection?
  • if the COPYRIGHT file within the C:\Program Files\Java\jre6\ directory doesn't exist, report the machine name. 
Is it possible that the jre6 (or java) directory doesn't exists at all?

Is the possible that the jre6 directory exists but not the COPYRIGHT file?

Can we assume that if JRE 1.6.24 hasn't been installed that the JRE6 directory will not exists?

If you just want to find out the computers which do not have a JRE6 directory under the JAVA directory, then do the following:

  1. In your action module property, select Add / Remove > Report Computer Properties > File System > Manage Accessible Directories
  2. Add the C:\Program Files\Java directory item (and call it JAVADIR)
  3. Click on Add/Remove > Report Computer Property > NT Account Name
  4. In the yellow window, click on Add / Remove > Set Computer Condition > File System > JAVADIR > Name :: NOT= :: JRE6
  5. Once your condition is configured, right click on it and select Set Condition Scope.
  6. Set the scope to 'All instances of JAVADIR must pass the condition for the computer object to be accepted'
  7. complete and run.
Let me know if this helps

__________________
GovGuru @ PJ Technologies, Inc.
http://www.goverlan.com
DEJ710

Registered:
Posts: 22
 #9 

Hi GovGuru,

Thanks for your prompt response. Here is the information you require:

if the COPYRIGHT file within the 
C:\Program Files\Java\jre6\ directory doesn't exist, report the machine name. Yes, but also the C:\Program Files\Java\jre6 folder for reference.

  • Is it possible that the jre6 (or java) directory doesn't exists at all? Yes, it is.

Is the possible that the jre6 directory exists but not the COPYRIGHT file? Yes, this is also possible. If it makes it easier, I know that only a failed install will always have the following file called core.zip present instead of the required COPYRIGHT file and others.

Can we assume that if JRE 1.6.24 hasn't been installed that the JRE6 directory will not exists? Yes, this is also correct.

I was also successful in achieving the information I require using a different method via the following Scope Action if it helps. I will also try your method as I believe it will be useful when running other Scope Actions.


GovGuru, I noticed on your posts that you use screenshots. How do you do this please?

Attached Images
Click image for larger version - Name: ScopeAction_Settings.jpg, Views: 35, Size: 107.20 KB 

GovGuru

Avatar / Picture

Moderator
Registered:
Posts: 585
 #10 
I think that you need to edit your profile picture. Do you see this option?
__________________
GovGuru @ PJ Technologies, Inc.
http://www.goverlan.com
DEJ710

Registered:
Posts: 22
 #11 
Thanks GovGuru, but I wasn't referring to my profile/signature. I was trying to include a screen shot of the Scope Action settings as per your Search for File vbscript example (in this same post).
GovGuru

Avatar / Picture

Moderator
Registered:
Posts: 585
 #12 
Well to embed an image inside a thread, you need to click on the Insert Image button of the toolbar and insert the http link to an existing web image. For use, we point to images on our pjtec.com server.

You can also simply click on the Manage Attachment link and upload your image. 

__________________
GovGuru @ PJ Technologies, Inc.
http://www.goverlan.com
RGovern

Avatar / Picture

Moderator
Registered:
Posts: 89
 #13 
Here is a simple alternative to the method above:

http://forums.pjtec.com/post/goverlan-bombs-when-creating-report-action-6593708

create a batch file and copy the following lines of code into it.

REM *************************
cd \
dir /a /b /s %1
REM *************************

Save the batch file as SearchFile.bat

Create a new batch package and enter the following in the RUN section
(path to batch file)\searchfile.bat example.txt

Go to the Output section and check the box that says "Record console output to:"
Here you can enter a file to gather the search results.

Place your batch package in a scope action and run it. 

Searching disks will take a while regardless of what method is used. You may want to subdivide the scope actions into smaller target groups. 

__________________
NOTE: Remember to test all configurations in a lab environment BEFORE testing on productions systems.

"If I asked the people what they wanted, they would have said faster horses..." -Supposedly Henry Ford.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!

What is
Goverlan SureData Technology
Technology?

SUREDATA is a Real-Time & Database-Driven Query Engine that guarantees the most complete and accurate view of your environment.

System management solutions that are database-driven ensure data availability but may not be current. Real-time solutions are responsive and current but they can’t handle offline devices.

With GOVERLAN’s SURE-DATA Technology you don’t have to trade off accuracy for availability - the data is directly queried from the system in real-time, then registered into a database back-end. If a system is offline, GOVERLAN automatically pulls the information from the database.

SURE-DATA gives you the best of both worlds - accuracy and availability of information on every machine, online or offline.

WHAT CAN I DO WITH GOVERLAN?

Live Support & Diagnostics with AD Management

IT Management through Advanced Remote Control

Enterprise Wide Configuration Management

Powerful Agent-Free Systems Management via WMI

Ideal for: Support Teams | System Admins
Goverlan Administration and Diagnostics

GOVERLAN

Administration & Diagnostic

LIVE SUPPORT, DIAGNOSTICS & CONTROL OF SERVERS, USERS, AND WORKSTATIONS WITH AD MANAGEMENT

I can go to a user by the user name, see which machines they’re logged into, and go directly into remote control and admin tasks. It’s the integration of Goverlan that puts it ahead.

FRONTIER School Division
Ideal for:
Support Teams
System Admins

Find it Fast

Get to any server, user and machine in no time through advanced AD searches, real-time detection of user logged-in workstations, and full support for VDI, RDP & Citrix Sessions.

See Everything

If it can be queried, GOVERLAN can get it!
Access extensive pool of information about your users and systems with the reliability of GOVERLAN's SUREDATA Technology.

Act with Powerful Tools

Access powerful tools to manage all aspects of your systems with real-time, dependable results without user interruption.

I can go to a user by the user name, see which machines they’re logged into, and go directly into remote control and admin tasks. It’s the integration of Goverlan that puts it ahead.

FRONTIER School Division
Ideal for: Support Teams | System Admins | Infrastructure Admins
Goverlan Remote Control

GOVERLAN

Remote Control

IT MANAGEMENT THROUGH ADVANCED REMOTE CONTROL

We really like the ability to see multiple thumbnails of all of our monitored machines at once.

PEKIN Hospital
Ideal for:
Support Teams
System Admins
Infrastructure Admins

The GOVERLAN Remote Control Solution goes beyond standard offerings. It’s no longer just about remote control, it's about IT management through remote control.

"Connect To" made easy

Wildcard AD searches and detection of user machines, enter a partial user or computer name and GOVERLAN does the rest.

Extended Protocols: GovRC, VNC, RDP, Telnet, SSH, Remote CMD, FTP

Extend your reach with behind the scenes management via Telnet, SSH and Windows Remote Command Prompt.

Remote Shadowing

Access Citrix or MS RDP virtual desktop remotely as easily as standard sessions. GOVERLAN supports multi-monitor virtual sessions.

Remote Monitor multiple machines in one view

Remote monitor the screen activity and performance counters of multiple machines in one pane.

Intel® vPRO™ Out-of-Band Management

Gain BIOS level remote control
Reboot machines to a pre-configured ISO image
Repair or install a new OS

Extended Controls

Mask the User’s Screen
Advanced Toolkit
Connections Layout Management
Session Capturing

We really like the ability to see multiple thumbnails of all of our monitored machines at once.

PEKIN Hospital
Ideal for: System Admins | Infrastructure Admins | Compliance
Goverlan Scope Actions

GOVERLAN

Scope Actions

GLOBAL CONFIGURATION MANAGEMENT

Create a fully customized action in less than 5 minutes, save it as a template, and then simply click to run . . . I can also share these customized actions with the team, saving them a great deal of time.

GRAVES COUNTY School District
Ideal for:
System Admins
Infrastructure Admins
Compliance

Use Goverlan Scope Actions when global infrastructure reporting or configuration is required. Execute actions or generate reports on-demand or on a repeating schedule.

It uses a push technology to execute configured actions and reports, on-demand and in real-time, against a pre-configured scope of computers targets and Active Directory objects.

Global Configuration Management

has just become easier

Scope Actions Infographic

with SUREDATA technology

Create a fully customized action in less than 5 minutes, save it as a template, and then simply click to run . . . I can also share these customized actions with the team, saving them a great deal of time.

GRAVES COUNTY School District
Ideal for: System Admins | Infrastructure Admins
Goverlan WMIX

GOVERLAN

WMIX

POWERFULL AGENT-FREE SYSTEMS MANAGEMENT via WMI

WMIX icon

Our average case close time has been cut in half. That's huge in the support world.

ASBURY Automotive Group
Ideal for:
System Admins
Infrastructure Admins

Expand your IT reach with WMI

Advanced Systems Management

Advanced Systems Management

Gain access to extended server management features via vendor specific WMI providers.

blue line
 
Agent-Free Management

Agent-Free Management

Execute queries & Sys Admin tasks without GOVERLAN agents.

blue line
 
Query Builder

WQL Query Builder

Create GPO Filters. Create SCCM Custom Queries. Use with PowerShell Scripts.

blue line
 
Script Generator

Generate WMI Scripts

Quickly generate WMI VB scripts with the click of a button.

Our average case close time has been cut in half. That's huge in the support world.

ASBURY Automotive Group

WHY GOVERLAN?

Per Operator Licensing graphic

PER OPERATOR LICENSING

Priced per operator, not per node. One time cost for licenses.

Effortless to Deploy & Maintain graphic

FAST, EFFORTLESS TO DEPLOY & MAINTAIN

GOVERLAN's small, stable agents can be automatically installed and maintained. GOVERLAN automatically detects your Active Directory configuration.

Reduce Time-to-Resolution graphic

REDUCE
TIME-TO-RESOLUTION

Get to the root of a problem quickly and resolve client issues more efficiently, with minimal or no user interruption.

Satisfied GOVERLAN Customers

Request Price Quote