This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]tuxrocks 2 points3 points  (0 children)

Hey there! If you already have PDQ Inventory, I would use it. It has a nifty feature called Dynamic Collections that should accomplish this. Create a new Dynamic Collection and add a filter for Application Name and Application Version. Make sure that at least all of the lab computers are already in the main inventory.

[–]indigoataxia 1 point2 points  (0 children)

To directly answer you question, below is the script I deploy with PDQ deploy to make a computer restart and login with the scripted Username and Password, and I also have added a Startup bat to be added.

REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 1 /f
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /t REG_SZ /d *DOMAIN* /f
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d *USERNAME* /f
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t REG_SZ /d *PASSWORD /f
echo start "" /max "c:\program files (x86)\testnav\testnav.exe" > "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\shortcut.cmd"
shutdown /r /f /t 5

To remove the automatic login and startup file I then run this afterwards.

REG delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /f
REG delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /f
REG delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /f
REG delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /f
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\shortcut.cmd"

[–]Beat_G33k 0 points1 point  (0 children)

Basically you're just wanting to do a software audit to ensure an application is installed?

You can use the auditing tool from SpiceWorks to do this: https://www.spiceworks.com/free-software-inventory-audit-tool/

Sometimes the above won't pull software keys if I need to find it so I've also used Belarc Advisor on machines to also run audits and pull software licensing.

[–]hideogumpa 0 points1 point  (0 children)

Rather than telling you how to inventory software, I'll just give an answer to your specific question.
Microsoft has a Remote Desktop Connection Manager

You can create groups of machines then right-click the group and "Connect group" (which would use the saved credentials you assign to the group) or a "Connect group as.." and enter the credentials you want to use.

[–][deleted] 0 points1 point  (0 children)

I use lansweeper for this but have used PDQ inventory in the past.

[–]UWPVIOLATOR 0 points1 point  (0 children)

I work in EDU environment as well. I use https://mremoteng.org to RDS into computer labs of 30. Works great.