Local Administrator Password Solution" (LAPS) | Intune
Автор: Amol Pawar
Загружено: 2024-05-02
Просмотров: 1228
"Local Administrator Password Solution" (LAPS) is a Microsoft solution that automatically manages local account passwords on domain-joined computers. The goal is to mitigate the risk associated with the use of a common local account across multiple machines. When configured, LAPS automatically sets and rotates a unique password for the local Administrator account on each computer.
==============To create local User admin account =========
Define the username
$username = "iamadmin"
Check if the user already exists
if (-not (Get-WmiObject Win32_UserAccount | Where-Object { $_.Name -eq $username })) {
If the user doesn't exist, create a new one with administrator privileges
Define the password for the new user
$password = ConvertTo-SecureString "YourStrongPasswordHere" -AsPlainText -Force
Create a new local user account
$newUser = New-LocalUser -Name $username -Password $password -AccountNeverExpires -UserMayNotChangePassword
Add the new user to the Administrators group
Add-LocalGroupMember -Group "Administrators" -Member $username
Write-Host "User $username created successfully with administrative privileges."
} else {
Write-Host "User $username already exists."
}
=================================================
#office365 #intune #ExchangeOnline #Microsoft365 #VM #azureActiveDirectory
#defenderforoffice #defenderforApps #MCAS #mailflow
Microsoft 365 Setup and configuration
Office365 setup and configuration
Free offie365 admin Course
Free exchange admin course
Free Microsoft 365
exchange online
Microsoft Intune
Endpoint manager
Defender for office
defender for endpoints
Defender for apps
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: