forked from asjimene/CMPackager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe for Microsoft Local Administrator Password Solution (LAPS)
- Loading branch information
Showing
1 changed file
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |