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.

Multiple Users logged on to same computer

We have been having problems with Windows 10 and its "Lock Screen", that being, Users don't notice the screen and forget they are Logged in, then go home. Then another person comes along and logs in because the screen goes to the login screen from the lock screen. Can't tell you how many times we have had machine problems only to discover that 2 or 3 people were all logged in all with programs still running.

Is there any way PDQ Inventory can scan to see if there are multiple Users logged in to the same computer? It currently will display "Current User" can you get it to display " Current USERS"?

0

Comments

1 comment
Date Votes
  • No, I do not believe that is currently possible. However, I have built a PDQ Deploy package that gives you something similar. It will fail if there is more than 1 user logged on and it will detail those users in the output log.

    <?xml version="1.0" encoding="utf-8"?>
    <AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="12.1.0.0" MinimumVersion="9.0">
    <Package>
    <PackageDefinition name="Definition">
    <CopyMode>Default</CopyMode>
    <InventoryScanProfileId value="null" />
    <RunAs value="null" />
    <ScanAfterDeployment value="false" />
    <Steps type="list">
    <PowerShellStep>
    <CustomCommandLine></CustomCommandLine>
    <Files></Files>
    <Script>$Current_Users = quser
    if ( $Current_Users.Length -gt 2 ) {
    Write-Output $Current_Users
    exit 1
    }</Script>
    <SuccessCodes>0</SuccessCodes>
    <RunAs value="null" />
    <Conditions type="list">
    <PackageStepCondition>
    <Architecture>Both</Architecture>
    <Version>All</Version>
    <TypeName>OperatingSystem</TypeName>
    </PackageStepCondition>
    <PackageStepCondition>
    <IsUserLoggedOn>LoggedOnUser</IsUserLoggedOn>
    <TypeName>LoggedOnUser</TypeName>
    </PackageStepCondition>
    </Conditions>
    <ErrorMode>StopDeploymentFail</ErrorMode>
    <IsEnabled value="true" />
    <Title>Find Computers With Too Many Users</Title>
    <TypeName>PowerShell</TypeName>
    </PowerShellStep>
    <SleepStep>
    <Seconds value="1" />
    <Conditions type="list">
    <PackageStepCondition>
    <Architecture>Both</Architecture>
    <Version>All</Version>
    <TypeName>OperatingSystem</TypeName>
    </PackageStepCondition>
    <PackageStepCondition>
    <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
    <TypeName>LoggedOnUser</TypeName>
    </PackageStepCondition>
    </Conditions>
    <ErrorMode>StopDeploymentFail</ErrorMode>
    <IsEnabled value="true" />
    <Title>Sleep</Title>
    <TypeName>Sleep</TypeName>
    </SleepStep>
    </Steps>
    <Timeout value="60" />
    <UseCustomTimeout value="false" />
    <RetryQueueSettings name="RetryQueueSettings">
    <IsInherited value="false" />
    <IsRetryEnabled value="false" />
    <RetryMaxTries value="72" />
    </RetryQueueSettings>
    </PackageDefinition>
    <Description></Description>
    <FolderId value="1" />
    <Name>Find Computers With Too Many Users</Name>
    <Path>Packages\Find Computers With Too Many Users</Path>
    <Version></Version>
    <PackageDisplaySettings name="DisplaySettings">
    <DisplayType>Normal</DisplayType>
    <IconKey></IconKey>
    <SortOrder value="7" />
    </PackageDisplaySettings>
    </Package>
    </AdminArsenal.Export>
    0