Skip to content

Commit 8d0d2d1

Browse files
committed
Updated with content from PR 16402
1 parent fa596fb commit 8d0d2d1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

azure-local/manage/manage-secure-baseline.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ The following table explains the rules that aren't compliant and the rationale o
4444
| Interactive logon: Message title for users attempting to log on| Not Compliant | Warning - "" is equal to "" |This must be defined by customer, it does not have drift control enabled.|
4545
| Minimum password length | Not Compliant | Critical - Seven is less than the minumum value of 14. | This must be defined by customer, it does not have drift control enabled in order to allow this setting to align with your organization's policies.|
4646

47-
### Fixing the compliance of the above rules:
47+
### Fixing the compliance for the rules
4848

49-
To fix the above rules you can follow the next commands, altough you can use any other tool of your preference.
49+
To fix the compliance for the rules, run the following commands or use any other tool you prefer:
5050

51-
1- Legal notice: Use the below two commands to define a notice when users are logging in the Servers: Values defined is your oranization's choice.
51+
1. **Legal notice**: Create a notice when users are logging in the `Servers : Values` defined in your oranization. Run the following commands:
5252

53-
```PowerShell
54-
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeCaption" -Value "Legal Notice"
55-
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeText" -Value "LegalNoticeText"
56-
```
53+
```PowerShell
54+
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeCaption" -Value "Legal Notice"
55+
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LegalNoticeText" -Value "LegalNoticeText"
56+
```
5757

58-
2 - Minimum password lenght: Use the below command to set the minimum password lenght policy to 14 characthers on the server. The default value is 7, and any value below 14 will still be flagged by the monitoring baseline policy.
58+
1. **Minimum password length**: Set the minimum password length policy to 14 characthers on the Azure Local machine. The default value is 7, and any value below 14 is still flagged by the monitoring baseline policy. Run the following commands:
5959

60-
```PowerShell
61-
net accounts /minpwlen:14
62-
```
60+
```PowerShell
61+
net accounts /minpwlen:14
62+
```
6363

6464
## Manage security defaults with PowerShell
6565

0 commit comments

Comments
 (0)