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  
Hemo2

Avatar / Picture

Registered:
Posts: 100
 #1 

I'm trying to create a Report Scope/Action that will report back on a file name on target computers.  Basically search the target computers for this file name and report back info on it.

I've searched the forums for the best way to 'search for a file' and found the result that uses WMI query.  I tried this, but it is painfully slow and simply unusable to run on hundreds/thousands of computers to search the entire hard drive.

But in Goverlan it appears to me there is another way though.  I 'defined' the "C:\" root folder as an accessible directory.  I then thought I could create a Report Action to retrieve some info on this.  I had no problem 'defining' the root folder (and subfolders) as an accessible folder and I added the computer name, (defined) Name, (defined) Parent Directory, and the (defined) Product Version.

After doing this, I looked and thought how the heck does Goverlan know 'what file name' I'm looking for?!  So I the tried to add a condition.  It is here where the entire program completely bombs out on me.  I perform the below steps:

- Click "Add/Removed" in the condition area
- Select "Set Computer Condition" - "File System" - (defined) "Root folder" name - "Name".  (Basically my logic is to specify the file name I'm searching on as the condition.)  It does add this to the list of conditions.  (I've attached a screen shot of things up to this point.)

However, once I've initially added this 'name' condition, I then have to specify the actual condition.  So I select "=" for the condition and then for the desired value, I enter the exact file name, such as file.exe.  I enter in "file.exe" for the file name and click "OK" to accept this.  It is at this point that the entire Goverlan program bombs out.  I have tried a variety of conditions other than "=", such as "contains", "begins with", etc., but they ALL cause Goverlan to bomb out EVERY time when I click the "OK" button.

Can you not search for file names the way I'm trying to do this?  Is there a "built in action" in Goverlan that can search for file names and report on them?

Attached Images
Click image for larger version - Name: Capture.JPG, Views: 12, Size: 97.75 KB 

RGovern

Avatar / Picture

Moderator
Registered:
Posts: 89
 #2 
Hemo2,

I have reproduced the issue. I will be escalating to the dev team to find out whats going on.

As for searching for file, I have recently come up with a very simple batch file search using the DIR command.

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. 

Let me know if you need further help with the script or scope action.

__________________
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.
RGovern

Avatar / Picture

Moderator
Registered:
Posts: 89
 #3 
Hemo2,

We have identified the issue with the crash when you click OK on the arguments screen of the File System condition.

Here is a link to the fix. 

http://www.pjtec.com/Downloads/dodata/GoverLANv70160930_Setup.exe

NOTE: The method you are using is not an effective way actually search for a file. The File System and Paths options are intended to be used with specific targeted folders. Your method can have a large performance impact on the target disk.

It is advised that you use the script to actually search for a file.

__________________
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.
Hemo2

Avatar / Picture

Registered:
Posts: 100
 #4 
Thank you for the quick turn around on this!  I admit it is a struggle to find the best way to do a file(s) search in Goverlan.  Perhaps an enhancement for a future version?  [smile]
Hemo2

Avatar / Picture

Registered:
Posts: 100
 #5 
A quick followup.  I searched around the internet for VB Scripts and found a few different examples I combined into something that is working fairly well so far.  It is somewhat limited, but functional and fairly fast compared to other options.

Basically I setup a batch file to run CSCRIPT thisscript.vbs and the batch script action in Goverlan is set to output the 'console' text to a file.  The output isn't perfect, but it's functional.  This script gathers a variety of info about the file, which can be reduced if desired.

START_FOLDER = "C:\"
SEARCHFILE = "FILENAME.EXE"

Set oFSO = CreateObject("Scripting.FileSystemObject")

ProcessSubFolders oFSO.GetFolder(START_FOLDER), iCount

Sub ProcessSubFolders(oFolder, iCount)
    If IsAccessible(oFolder) Then
        Set cFiles = oFolder.Files
        For Each oFile In cFiles
            If UCASE(oFile.Name) = SEARCHFILE Then
                 GetFileInfo oFile.Path
                 iCount = iCount + 1
            End If
        Next
        For Each oSubFolder In oFolder.SubFolders
            ProcessSubFolders oSubFolder, iCount
        Next
    End If
End Sub

Function IsAccessible(oFolder)
    On Error Resume Next
    IsAccessible = (oFolder.SubFolders.Count >= 0)
End Function

Sub GetFileInfo(SEARCHFILE)
    Dim FileHeader, FileInfo, FileVersion, strComputer
    Set objNetwork = CreateObject("Wscript.Network")
    strComputer = objNetwork.ComputerName
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.GetFile(SEARCHFILE)
    FileVersion = objFSO.GetFileVersion(SEARCHFILE)
    FileHeader = "Computer Name" & vbTab & "File Name" & vbTab & "Drive" & vbTab & "Parent Folder" & vbTab & "Full Path/Name" & vbTab & "Short Name" & vbTab & "Short Path" & vbTab & "Date Created" & vbTab & "Date Last Accessed" & vbTab & "Date Last Modified" & vbTab & "File Size in bytes" & vbTab & "File Type" & vbTab & "File Version"
    FileInfo =  strComputer & vbTab & UCASE(objFile.Name) & vbTab & objFile.Drive & vbTab & objFile.ParentFolder & vbTab & objFile.Path & vbTab & objFile.ShortName & vbTab & objFile.ShortPath & vbTab & objFile.DateCreated & vbTab & objFile.DateLastAccessed & vbTab & objFile.DateLastModified & vbTab &  objFile.Size & vbTab &  objFile.Type & vbTab &  FileVersion
    Set objStdOut = WScript.StdOut
'   WScript.Echo FileHeader & vbCrLf & FileInfo & vbCrLf
    WScript.StdOut.Write FileHeader & vbCrLf
    WScript.StdOut.Write FileInfo & vbCrLf
End Sub
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