Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Identify Non-Standard Local Accounts

I am attempting to generate a Dynamic Collection to show PCs that have local accounts present other than Guest and Administrator.  This is what I've got thus far, but it doesn't seem to be working.  I'm not seeing any other variables in here that I can use.  Any assistance would be amazing!

0

Comments

2 comments
Date Votes
  • Import this XML. It's working for me in Inventory 13.1.0.0

     

    <?xml version="1.0" encoding="utf-8"?>
    <AdminArsenal.Export Code="PDQInventory" Name="PDQ Inventory" Version="13.1.0.0" MinimumVersion="4.0">
    <Collection>
    <ReportDefinition name="Definition">
    <RootFilter name="Filter">
    <Comparison>All</Comparison>
    <Filters type="list">
    <ValueFilter>
    <Table>LocalUser</Table>
    <Column>UserName</Column>
    <Comparison>!Equals</Comparison>
    <Value>Administrator</Value>
    </ValueFilter>
    <ValueFilter>
    <Table>LocalUser</Table>
    <Column>UserName</Column>
    <Comparison>!Equals</Comparison>
    <Value>Guest</Value>
    </ValueFilter>
    </Filters>
    </RootFilter>
    <ReportDefinitionTypeName>BasicReportDefinition</ReportDefinitionTypeName>
    <Columns type="list">
    <Column>
    <Column>ComputerId</Column>
    <Summary></Summary>
    <Table>Computer</Table>
    <Title></Title>
    </Column>
    </Columns>
    </ReportDefinition>
    <IsDrilldown value="false" />
    <CanShare value="null" />
    <Created>2017-07-24T16:04:19.0000000-04:00</Created>
    <Description></Description>
    <Error></Error>
    <Id value="794" />
    <ImportedPath></ImportedPath>
    <IsEnabled value="true" />
    <Modified>2017-07-24T16:05:12.0000000-04:00</Modified>
    <Name>Non-Standard Local Accounts</Name>
    <ParentId value="null" />
    <Path>Non-Standard Local Accounts</Path>
    <TypeName>DynamicCollection</TypeName>
    <Type>DynamicCollection</Type>
    <Children type="list" />
    </Collection>
    </AdminArsenal.Export>
    1
  • Worked well!  Was able to tweak your design into other templates I've been trying to build.

     

    Thx!!!!

    0