Skip to content

Commit

Permalink
Add recipe for Microsoft LAPS
Browse files Browse the repository at this point in the history
Add recipe for Microsoft Local Administrator Password Solution (LAPS)
  • Loading branch information
sbennell authored May 20, 2021
1 parent 4c42992 commit 2b4aef4
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions Disabled/MicrosoftLAPS.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<ApplicationDef>
<Application>
<Name>Microsoft Local Administrator Password Solution (LAPS)</Name>
<Description>The "Local Administrator Password Solution" (LAPS) provides management of local account passwords of domain joined computers. Passwords are stored in Active Directory (AD) and protected by ACL, so only eligible users can read it or request its reset.</Description>
<Publisher>Microsoft</Publisher>
<AutoInstall>True</AutoInstall>
<UserDocumentation>https://www.microsoft.com/en-us/download/details.aspx?id=46899</UserDocumentation>
<Icon>LAPS.ico</Icon>
<FolderPath>Microsoft\LAPS</FolderPath>
</Application>
<Downloads>
<Download DeploymentType="DeploymentType1">
<PrefetchScript>$URL = ((Invoke-WebRequest "https://www.microsoft.com/en-us/download/confirmation.aspx?id=46899" -UseBasicParsing).Links | Where-Object href -like "*LAPS.x64.msi")[0].href</PrefetchScript>
<URL></URL>
<DownloadFileName>LAPS.x64.msi</DownloadFileName>
<DownloadVersionCheck>[String]$Version = ([String](Get-MSIInfo -Path $DownloadFile -Property ProductVersion)).TrimStart().TrimEnd()</DownloadVersionCheck>
<FullVersion></FullVersion>
<Version></Version>
</Download>
<Download DeploymentType="DeploymentType2">
<PrefetchScript>$URL = ((Invoke-WebRequest "https://www.microsoft.com/en-us/download/confirmation.aspx?id=46899" -UseBasicParsing).Links | Where-Object href -like "*LAPS.x86.msi")[0].href</PrefetchScript>
<URL></URL>
<DownloadFileName>LAPS.x86.msi</DownloadFileName>
<DownloadVersionCheck>[String]$Version = ([String](Get-MSIInfo -Path $DownloadFile -Property ProductVersion)).TrimStart().TrimEnd()</DownloadVersionCheck>
<FullVersion></FullVersion>
<Version></Version>
</Download>
</Downloads>
<DeploymentTypes>
<DeploymentType Name="DeploymentType1">
<DeploymentTypeName>Silent Installer for Microsoft Local Administrator Password Solution x64</DeploymentTypeName>
<InstallationType>MSI</InstallationType>
<Comments>Silent Installer for Microsoft Local Administrator Password Solution x64</Comments>
<Language>English</Language>
<CacheContent>False</CacheContent>
<BranchCache>True</BranchCache>
<ContentFallback>True</ContentFallback>
<OnSlowNetwork>Download</OnSlowNetwork>
<InstallProgram>msiexec /i LAPS.x64.msi /quiet</InstallProgram>
<InstallationMSI>LAPS.x64.msi</InstallationMSI>
<UninstallCmd></UninstallCmd>
<Force32bit>False</Force32bit>
<InstallationBehaviorType>InstallForSystem</InstallationBehaviorType>
<LogonReqType>WhetherOrNotUserLoggedOn</LogonReqType>
<UserInteractionMode>Hidden</UserInteractionMode>
<ReqUserInteraction>False</ReqUserInteraction>
<EstRuntimeMins>15</EstRuntimeMins>
<MaxRuntimeMins>45</MaxRuntimeMins>
<RebootBehavior>BasedOnExitCode</RebootBehavior>
<DetectionMethodType>MSI</DetectionMethodType>
<RequirementsRules>
<RequirementsRule>
<RequirementsRuleType>Existential</RequirementsRuleType>
<RequirementsRuleValue>
<RuleValue>True</RuleValue>
</RequirementsRuleValue>
<RequirementsRuleGlobalCondition>AutoPackage - OSArchitecture x64</RequirementsRuleGlobalCondition>
</RequirementsRule>
</RequirementsRules>
</DeploymentType>
<DeploymentType Name="DeploymentType2">
<DeploymentTypeName>Silent Installer for Microsoft Local Administrator Password Solution x86</DeploymentTypeName>
<InstallationType>MSI</InstallationType>
<Comments>Silent Installer for Microsoft Local Administrator Password Solution x86</Comments>
<Language>English</Language>
<CacheContent>False</CacheContent>
<BranchCache>True</BranchCache>
<ContentFallback>True</ContentFallback>
<OnSlowNetwork>Download</OnSlowNetwork>
<InstallProgram>msiexec /i LAPS.x86.msi /quiet</InstallProgram>
<InstallationMSI>LAPS.x86.msi</InstallationMSI>
<UninstallCmd></UninstallCmd>
<Force32bit>False</Force32bit>
<InstallationBehaviorType>InstallForSystem</InstallationBehaviorType>
<LogonReqType>WhetherOrNotUserLoggedOn</LogonReqType>
<UserInteractionMode>Hidden</UserInteractionMode>
<ReqUserInteraction>False</ReqUserInteraction>
<EstRuntimeMins>15</EstRuntimeMins>
<MaxRuntimeMins>45</MaxRuntimeMins>
<RebootBehavior>BasedOnExitCode</RebootBehavior>
<DetectionMethodType>MSI</DetectionMethodType>
<RequirementsRules>
<RequirementsRule>
<RequirementsRuleType>Existential</RequirementsRuleType>
<RequirementsRuleValue>
<RuleValue>false</RuleValue>
</RequirementsRuleValue>
<RequirementsRuleGlobalCondition>AutoPackage - OSArchitecture x64</RequirementsRuleGlobalCondition>
</RequirementsRule>
</RequirementsRules>
</DeploymentType>
</DeploymentTypes>
<Distribution>
<DistributeContent>True</DistributeContent>
</Distribution>
<Supersedence>
<Supersedence>True</Supersedence>
</Supersedence>
<Deployment>
<DeploySoftware>True</DeploySoftware>
<UpdateSuperseded>True</UpdateSuperseded>
<DeploymentCollection>All Desktop and Server Clients</DeploymentCollection>
</Deployment>
</ApplicationDef>

0 comments on commit 2b4aef4

Please sign in to comment.