Hardening Baselines
The Desktop, Laptop, Server and CIS Level 1 overlay baselines send Windows hardening settings from the hardening catalog. Firewall, AppLocker and audit switch settings come from other baselines. Assign one next to a firewall baseline when you want both.
| Baseline | Settings | Use it for |
|---|---|---|
| Desktop | 128 | Office desktops. The Microsoft security baseline and CIS Level 1 settings that rarely affect users. |
| Laptop | 130 | Laptops. The Desktop settings with a 10-minute screen lock and a password on wake from sleep. |
| Server | 115 | Member servers. The Desktop settings that apply to servers. |
| CIS Level 1 overlay | 90 | Assign it on top of one of the three to reach CIS Level 1. |
The overlay sends the settings most likely to stop something working. It refuses NTLMv1, allows only AES for Kerberos, turns TLS 1.0 and 1.1 off and blocks with attack surface reduction rules. Try it on a few computers in Manage first. The overlay never repeats a setting of the other three, so the two baselines cannot set one value two ways.
Do not assign Server to a domain controller. Password policy and user rights are never set on a domain controller, because there the domain policy decides them.
Assign and enforce
Assign and enforce these baselines like any other. See Assign a Security Baseline.
- In Manage, nothing changes on the computers. Check Security Baselines reads each baseline back on its computers once a day. Check Settings Now on the Assignments list reads the selected assignments back at once.
- In Enforce, Enforce Now sends the settings with Apply Hardening Settings. Each run can be undone from Activity.
Baseline settings reading
Each computer in Manage files a Baseline settings reading. The reading is green when every setting is as the baseline says. It is amber when a setting differs, and the reading lists each one. Example: "2 settings differ from the baseline: audit-pnp is none (baseline: success), smb1 is on (baseline: off)".
A baseline can hold Windows and Mac settings together. Each computer is checked only against the settings that exist on it. A Windows setting such as smb1 does not apply to a Mac. A Mac setting such as gatekeeper does not apply to a Windows computer. A setting that does not apply is not checked on that computer. It does not count as a pass or a fail, so it never turns a reading amber or lowers a compliance score. When none of a baseline's settings apply to a computer, the baseline is not checked there.
The reading counts in Compliance for Cyber Essentials Secure configuration, CIS 4.1, ISO 27001 A.8.9 and SOC 2 CC7.1. Each differing setting also counts against the controls of its CIS safeguard. A differing audit setting fails CIS 8.2 and ISO 27001 A.8.15. A differing password setting fails CIS 5.2 and Cyber Essentials User access control.
Setting rules
- A value already stricter than the baseline counts as a match. A lockout duration of 30 minutes matches a baseline of 15, and the computer keeps 30.
- A setting that does not apply to the computer reads
naand is skipped. Example: the sleep password settings on a server. - A service setting turns the service off and sets it to Disabled. A computer without the service matches.
- A deny user right adds Guests to the accounts already denied. An allow user right is set to exactly the accounts listed.
- The run changes nothing when a user right lists an account Windows cannot name as a SID.
Edit a baseline
Security > Baselines, then Edit. The Hardening Settings box holds name=value pairs separated by semicolons. It takes up to 4000 characters. Any setting below can be added, removed or changed. A value outside the setting's secure range needs an approval each time it is sent.
Settings
Each setting shows the value the baselines send, the baselines that use it, and what it can stop working.
Accounts
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
guest=disabled |
Disable the Guest account | Desktop, Laptop, Server | Nothing that is expected; anonymous guest access to shares stops |
lsa-blankpassword=1 |
Accounts with a blank password can only sign in at the keyboard | Desktop, Laptop, Server | Nothing expected; blank-password accounts cannot sign in over the network |
logon-nomsaccount=3 |
Microsoft accounts cannot be added or used to sign in | CIS Level 1 | People who sign in with a personal Microsoft account cannot |
Attack surface reduction
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
asr-on=1 |
Attack surface reduction rules apply | CIS Level 1 | Each rule below can block a line-of-business macro or tool; run them in audit first if unsure |
asr-lsass=1 |
Block credential stealing from LSASS | CIS Level 1 | Some password managers and monitoring tools that read LSASS are blocked |
asr-emailexe=1 |
Block programs and scripts from mail and webmail | CIS Level 1 | Executables sent by mail cannot be run straight from the mail |
asr-officechild=1 |
Block Office apps from starting other programs | CIS Level 1 | Macros and add-ins that start other programs are blocked |
asr-officeinject=1 |
Block Office apps from injecting code into other processes | CIS Level 1 | A few Office add-ins are blocked |
asr-officeexe=1 |
Block Office apps from creating programs | CIS Level 1 | Macros that write out programs are blocked |
asr-scriptdownload=1 |
Block JavaScript and VBScript from starting downloaded programs | CIS Level 1 | Old install scripts written in VBScript may be blocked |
asr-obfuscated=1 |
Block scripts that look obfuscated | CIS Level 1 | Some packed admin scripts are blocked |
asr-officewin32=1 |
Block Windows API calls from Office macros | CIS Level 1 | Macros that call Windows directly are blocked |
asr-wmipersistence=1 |
Block persistence through WMI event subscriptions | CIS Level 1 | Management tools that create WMI subscriptions are blocked |
asr-vulnerabledrivers=1 |
Block vulnerable signed drivers | CIS Level 1 | Old hardware utilities with a known-bad driver stop loading it |
asr-usb=1 |
Block untrusted and unsigned programs on USB drives | CIS Level 1 | Unsigned tools run from a USB stick are blocked |
asr-adobechild=1 |
Block Adobe Reader from starting other programs | CIS Level 1 | PDF workflows that launch other programs are blocked |
Audit policy
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
lsa-auditsubcategories=1 |
Use the detailed audit subcategories | Desktop, Laptop, Server | Old-style audit categories set in Group Policy stop applying; the detailed ones win |
audit-credentialvalidation=both |
Record credential validation (success and failure) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-appgroupmgmt=both |
Record application group management (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-securitygroupmgmt=success |
Record security group management (success) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-useraccountmgmt=both |
Record user account management (success and failure) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-pnp=success |
Record plug and play events (success) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-accountlockout=failure |
Record account lockout (failure) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-groupmembership=success |
Record group membership (success) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-logoff=success |
Record logoff (success) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-logon=both |
Record logon (success and failure) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-otherlogon=both |
Record other logon/logoff events (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-speciallogon=success |
Record special logon (success) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-detailedfileshare=failure |
Record detailed file share (failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-fileshare=both |
Record file share (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-otherobjectaccess=both |
Record other object access events (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-removablestorage=both |
Record removable storage (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-auditpolicychange=success |
Record audit policy change (success) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-authnpolicychange=success |
Record authentication policy change (success) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-authzpolicychange=success |
Record authorization policy change (success) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-mpssvcrule=both |
Record mpssvc rule-level policy change (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-otherpolicychange=failure |
Record other policy change events (failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-sensitiveprivilege=both |
Record sensitive privilege use (success and failure) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-ipsecdriver=both |
Record ipsec driver (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-othersystem=both |
Record other system events (success and failure) | CIS Level 1 | The Security event log fills faster; size it so it keeps at least a week |
audit-securitystate=success |
Record security state change (success) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-securityextension=success |
Record security system extension (success) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
audit-systemintegrity=both |
Record system integrity (success and failure) | Desktop, Laptop, Server | The Security event log fills faster; size it so it keeps at least a week |
Credentials
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
wdigest=off |
Do not keep plain-text passwords in memory for WDigest | Desktop, Laptop, Server | Old web servers that only offer Digest sign-in prompt for a password |
lmcompat=5 |
Send NTLMv2 only and refuse LM and NTLMv1 | CIS Level 1 | Old NAS boxes, printers and scanners that only speak NTLMv1 can no longer sign in |
lsa-runasppl=1 |
Run the Local Security Authority as a protected process | Desktop, Laptop, Server | Unsigned LSA plug-ins (old smart card or password filter add-ins) stop loading; needs a restart |
lsa-nolmhash=1 |
Do not store LAN Manager password hashes | Desktop, Laptop, Server | Nothing current; LM hashes are only made at the next password change |
lsa-nonetworkcredentials=1 |
Do not keep saved network passwords and credentials | CIS Level 1 | Saved passwords for mapped drives, Remote Desktop and websites stop being kept; users type them again |
msv-ntlmminclientsec=537395200 |
NTLM connections this computer makes need NTLMv2 session security and 128-bit encryption | Desktop, Laptop, Server | Very old servers that cannot do 128-bit NTLM session security cannot be reached |
msv-ntlmminserversec=537395200 |
NTLM connections to this computer need NTLMv2 session security and 128-bit encryption | Desktop, Laptop, Server | Very old clients that cannot do 128-bit NTLM session security cannot connect |
msv-nullsessionfallback=0 |
No NULL session fallback for the local system | Desktop, Laptop, Server | Nothing expected |
lsa-pku2uonlineid=0 |
Do not use online identities for peer sign-in | CIS Level 1 | Signing in to another home computer with a Microsoft account (PKU2U) stops working |
kerberos-encryption=2147483640 |
Kerberos uses AES only | CIS Level 1 | Service accounts and old devices that only have RC4 or DES Kerberos keys can no longer sign in |
credssp-oracle=0 |
Only patched CredSSP peers (encryption oracle protection) | Desktop, Laptop, Server | Remote Desktop to or from computers missing the 2018 CredSSP update fails |
credssp-protectedcreds=1 |
Remote hosts can take non-exportable credentials (Remote Credential Guard) | CIS Level 1 | Nothing expected; Remote Credential Guard becomes available |
Domain controller
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
ldap-serversigning=2 |
A domain controller requires LDAP signing | CIS Level 1 | Applications that bind to LDAP without signing (simple binds over 389) fail |
Domain member
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
netlogon-signorseal=1 |
Secure channel data is always signed or encrypted | Desktop, Laptop, Server | Nothing current (the Windows default since 2000) |
netlogon-seal=1 |
Encrypt secure channel data when possible | Desktop, Laptop, Server | Nothing current (Windows default) |
netlogon-sign=1 |
Sign secure channel data when possible | Desktop, Laptop, Server | Nothing current (Windows default) |
netlogon-strongkey=1 |
Secure channel needs a strong session key | Desktop, Laptop, Server | Domain controllers older than Windows 2000 cannot be used |
netlogon-passwordchange=0 |
The computer account password changes on schedule | Desktop, Laptop, Server | Nothing current (Windows default); images that relied on a frozen machine password lose trust after a restore |
ldap-clientsigning=1 |
Ask for LDAP signing | Desktop, Laptop, Server | Nothing current (Windows default) |
Firewall
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
fw-domain-on=1 |
Windows Firewall on for the domain profile | Desktop, Laptop, Server | Nothing expected; the firewall cannot be turned off locally while this is set |
fw-domain-inbound=1 |
Block inbound connections without a rule (domain) | Desktop, Laptop, Server | Nothing expected (Windows default); outbound is never set here so a firewall baseline keeps its own outbound choice |
fw-domain-nonotify=1 |
No pop-up when a program is blocked (domain) | CIS Level 1 | Users are not asked to allow a blocked program; an administrator adds the rule |
fw-domain-logsize=16384 |
Firewall log at least 16 MB (domain) | CIS Level 1 | Uses up to 16 MB of disk |
fw-domain-logdropped=1 |
Log dropped packets (domain) | CIS Level 1 | More disk writes on busy computers |
fw-domain-logallowed=1 |
Log allowed connections (domain) | CIS Level 1 | More disk writes on busy computers |
fw-private-on=1 |
Windows Firewall on for the private profile | Desktop, Laptop, Server | Nothing expected; the firewall cannot be turned off locally while this is set |
fw-private-inbound=1 |
Block inbound connections without a rule (private) | Desktop, Laptop, Server | Nothing expected (Windows default); outbound is never set here so a firewall baseline keeps its own outbound choice |
fw-private-nonotify=1 |
No pop-up when a program is blocked (private) | CIS Level 1 | Users are not asked to allow a blocked program; an administrator adds the rule |
fw-private-logsize=16384 |
Firewall log at least 16 MB (private) | CIS Level 1 | Uses up to 16 MB of disk |
fw-private-logdropped=1 |
Log dropped packets (private) | CIS Level 1 | More disk writes on busy computers |
fw-private-logallowed=1 |
Log allowed connections (private) | CIS Level 1 | More disk writes on busy computers |
fw-public-on=1 |
Windows Firewall on for the public profile | Desktop, Laptop, Server | Nothing expected; the firewall cannot be turned off locally while this is set |
fw-public-inbound=1 |
Block inbound connections without a rule (public) | Desktop, Laptop, Server | Nothing expected (Windows default); outbound is never set here so a firewall baseline keeps its own outbound choice |
fw-public-nonotify=1 |
No pop-up when a program is blocked (public) | CIS Level 1 | Users are not asked to allow a blocked program; an administrator adds the rule |
fw-public-logsize=16384 |
Firewall log at least 16 MB (public) | CIS Level 1 | Uses up to 16 MB of disk |
fw-public-logdropped=1 |
Log dropped packets (public) | CIS Level 1 | More disk writes on busy computers |
fw-public-logallowed=1 |
Log allowed connections (public) | CIS Level 1 | More disk writes on busy computers |
fw-public-nolocalrules=0 |
Rules added on the computer are ignored on public networks | CIS Level 1 | Programs that add their own firewall rules (Teams, games, a firewall baseline's local rules) stop working on public networks |
fw-public-nolocalipsec=0 |
Local connection security rules are ignored on public networks | CIS Level 1 | Local IPsec rules stop applying on public networks |
Malware protection
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
elam-policy=3 |
Start only good and unknown boot drivers (early launch antimalware) | Desktop, Laptop, Server | Boot drivers the antimalware marks bad no longer load |
def-pua=1 |
Block potentially unwanted applications | Desktop, Laptop, Server | Bundled adware installers and some free tools are blocked |
def-noturnoff=0 |
Microsoft Defender cannot be turned off by policy | Desktop, Laptop, Server | Nothing; another antivirus still takes over as usual |
def-realtime=0 |
Real-time protection cannot be turned off by policy | Desktop, Laptop, Server | Nothing; another antivirus still takes over as usual |
def-behaviour=0 |
Behavior monitoring stays on | Desktop, Laptop, Server | Nothing expected |
def-scripts=0 |
Scripts are scanned | Desktop, Laptop, Server | Nothing expected |
def-downloads=0 |
Downloaded files and attachments are scanned | Desktop, Laptop, Server | Nothing expected |
def-removable=0 |
Removable drives are scanned | Desktop, Laptop | Full scans take longer with a big USB drive attached |
def-email=0 |
Mail files are scanned | Desktop, Laptop | Scans take longer on computers with large local mail files |
def-networkprotection=1 |
Block connections to dangerous websites from any program | CIS Level 1 | Some sites a web filter allows are blocked by Defender; check with your proxy |
smartscreen=1 |
SmartScreen checks downloaded programs | Desktop, Laptop | Users see a warning before running an unknown download |
Network
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
llmnr=off |
Turn LLMNR name resolution off | Desktop, Laptop, Server | Names with no DNS record stop resolving on networks without DNS |
net-sourcerouting=2 |
Drop source-routed IPv4 packets | Desktop, Laptop, Server | Nothing expected |
net-sourcerouting6=2 |
Drop source-routed IPv6 packets | Desktop, Laptop, Server | Nothing expected |
net-icmpredirect=0 |
Ignore ICMP redirects | Desktop, Laptop, Server | Nothing expected on a normal network |
net-netbiosrelease=1 |
Keep the NetBIOS name when another computer asks for it | Desktop, Laptop, Server | Nothing expected |
net-nobridge=0 |
Users cannot bridge networks on the domain network | Desktop, Laptop | Users cannot set up a network bridge |
net-nosharing=0 |
Users cannot share the internet connection on the domain network | Desktop, Laptop | Users cannot turn on Internet Connection Sharing |
net-elevatelocation=1 |
Domain users elevate to set a network as private | CIS Level 1 | Users cannot mark a network as private without an administrator |
rpc-restrictclients=1 |
Unauthenticated RPC clients are refused | CIS Level 1 | Old software that calls RPC without signing in fails |
Network access
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
lsa-restrictanonymoussam=1 |
Do not let anonymous users list local accounts | Desktop, Laptop, Server | Nothing current; very old tools that list accounts without signing in fail |
lsa-restrictanonymous=1 |
Do not let anonymous users list accounts and shares | Desktop, Laptop, Server | Old browse lists and NT4-era tools that list shares without signing in fail |
lsa-everyoneanonymous=0 |
Anonymous users are not members of Everyone | Desktop, Laptop, Server | Shares that rely on Everyone for anonymous access stop working for anonymous users |
sec-anonnamelookup=0 |
Anonymous users cannot translate account names and SIDs | Desktop, Laptop, Server | Nothing expected |
Password policy
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
minpwlen=14 |
Local passwords are at least 14 characters | Desktop, Laptop, Server | Local passwords shorter than 14 have to be changed at the next change; a domain policy wins for domain accounts |
lockout=5 |
Lock a local account after 5 wrong passwords | Desktop, Laptop, Server | Someone can lock a local account by guessing; the built-in Administrator is not locked out |
sec-passwordhistory=24 |
Remember the last 24 local passwords | CIS Level 1 | Users cannot go back to a recent password |
sec-maxpasswordage=365 |
Local passwords expire after a year | CIS Level 1 | Local accounts must change their password each year; Cyber Essentials does not ask for expiry |
sec-minpasswordage=1 |
A local password cannot be changed again for a day | CIS Level 1 | A user who mistypes a new password waits a day to change it again |
sec-complexity=1 |
Local passwords need three kinds of character | CIS Level 1 | Long pass-phrases of plain words are refused |
sec-cleartext=0 |
Never store passwords with reversible encryption | Desktop, Laptop, Server | Nothing expected; CHAP and Digest sign-in that needed it stop |
sec-lockoutduration=15 |
A locked local account stays locked for 15 minutes | Desktop, Laptop, Server | A locked-out user waits 15 minutes or asks an administrator |
sec-lockoutreset=15 |
Wrong-password count resets after 15 minutes | Desktop, Laptop, Server | Nothing expected |
Printing
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
printers-adminonlydrivers=1 |
Only administrators install printer drivers | Desktop, Laptop, Server | Users cannot add a printer whose driver is not already installed |
printers-pointprintwarn=0 |
Point and Print shows a warning and asks to elevate on install | Desktop, Laptop, Server | Users see an elevation prompt when adding a shared printer |
printers-pointprintupdate=0 |
Point and Print shows a warning and asks to elevate on update | Desktop, Laptop, Server | Users see an elevation prompt when a printer driver updates |
printers-redirectionguard=1 |
The print spooler is protected from redirection | CIS Level 1 | Very old printer drivers may fail to install |
printers-copyfiles=1 |
Printer drivers only copy files Windows knows | CIS Level 1 | A few old printer drivers that copy extra files fail |
Privacy
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
telemetry-required=1 |
Windows sends required diagnostic data only | CIS Level 1 | Windows Update for Business reports and some Intune features need optional data |
Remote Desktop
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
rdpnla=on |
Remote Desktop asks for sign-in before the session starts | Desktop, Laptop, Server | Very old Remote Desktop clients (before RDP 6) cannot connect |
rdp-encryption=3 |
Remote Desktop uses high encryption | Desktop, Laptop, Server | Very old Remote Desktop clients cannot connect |
rdp-tls=2 |
Remote Desktop uses TLS | Desktop, Laptop, Server | Very old Remote Desktop clients cannot connect |
rdp-nla=1 |
Remote Desktop needs sign-in first (policy) | Desktop, Laptop, Server | Very old Remote Desktop clients cannot connect |
rdp-encryptrpc=1 |
Remote Desktop RPC traffic is encrypted | Desktop, Laptop, Server | Nothing expected |
rdp-promptpassword=1 |
Remote Desktop always asks for the password | CIS Level 1 | Saved Remote Desktop passwords are ignored on this computer |
rdp-nodrives=1 |
No drive redirection in Remote Desktop | CIS Level 1 | Users cannot copy files through their own drives in a Remote Desktop session |
rdp-nosavedpasswords=1 |
Remote Desktop cannot save passwords | CIS Level 1 | Users type the password at each connection |
rdp-noassistance=0 |
No Windows Remote Assistance invitations | Desktop, Laptop, Server | Windows Remote Assistance (msra) cannot be offered by users; xAssets remote support is not affected |
rdp-nounsolicited=0 |
No unsolicited Windows Remote Assistance | Desktop, Laptop, Server | Help desk staff cannot offer Windows Remote Assistance |
Remote management
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
winrm-client-nobasic=0 |
WinRM client does not use Basic sign-in | Desktop, Laptop, Server | Scripts that use Basic sign-in to WinRM or Exchange Online PowerShell v1 fail |
winrm-client-encrypted=0 |
WinRM client never sends unencrypted traffic | Desktop, Laptop, Server | Nothing expected (Windows default) |
winrm-client-nodigest=0 |
WinRM client does not use Digest sign-in | Desktop, Laptop, Server | Scripts that use Digest sign-in to WinRM fail |
winrm-service-nobasic=0 |
WinRM service does not accept Basic sign-in | Desktop, Laptop, Server | Tools that connect to this computer's WinRM with Basic sign-in fail |
winrm-service-encrypted=0 |
WinRM service never accepts unencrypted traffic | Desktop, Laptop, Server | Nothing expected (Windows default) |
winrm-service-norunas=1 |
WinRM does not keep RunAs credentials for plug-ins | Desktop, Laptop, Server | WinRM plug-ins configured with RunAs credentials stop working |
Removable media
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
autorun=off |
Turn AutoRun off for every drive | Desktop, Laptop, Server | Discs and USB drives no longer start their installer when inserted |
autorun-noautorun=1 |
Never run autorun commands | Desktop, Laptop, Server | Discs no longer start their own installer |
autoplay-nonvolume=1 |
No AutoPlay for cameras and phones | Desktop, Laptop, Server | Plugging in a phone or camera no longer opens a prompt |
SMB
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
smb1=off |
Turn the SMBv1 protocol off | Desktop, Laptop, Server | Very old devices (Windows XP, old NAS and scanners) cannot reach shares on this computer |
smb-client-signing=1 |
Always sign SMB traffic this computer sends | Desktop, Laptop, Server | NAS boxes and old servers that cannot sign SMB cannot be reached; file copies can be a little slower |
smb-server-signing=1 |
Always sign SMB traffic this computer answers | Desktop, Laptop, Server | Scanners and old clients that cannot sign SMB cannot reach shares here |
smb-client-signifagreed=1 |
Sign SMB traffic sent when the server agrees | Desktop, Laptop, Server | Nothing expected (Windows default) |
smb-server-signifagreed=1 |
Sign SMB traffic answered when the client agrees | Desktop, Laptop, Server | Nothing expected |
smb-client-plaintext=0 |
Never send an unencrypted password to an SMB server | Desktop, Laptop, Server | Ancient SMB servers that only take plain-text passwords cannot be reached |
smb-server-nullsessions=1 |
No anonymous access to named pipes and shares | Desktop, Laptop, Server | Nothing expected (Windows default) |
smb-insecureguest=0 |
Do not connect to shares as an anonymous guest | Desktop, Laptop, Server | NAS boxes that only offer guest access stop opening |
smb-forcedlogoff=1 |
SMB sessions close when sign-in hours end | CIS Level 1 | Nothing unless sign-in hours are set on accounts |
smb-spnvalidation=1 |
Check the name the SMB client asked for (SPN validation) | CIS Level 1 | Clients that reach shares by an alias without an SPN may be refused |
Services
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
spooler=stopped |
Stop the Print Spooler and keep it off | None | Nothing can print from or through this computer |
svc-xblauthmanager=disabled |
Turn off the Xbox Live Auth Manager service | Desktop, Laptop | Xbox games and the Xbox app cannot sign in |
svc-xblgamesave=disabled |
Turn off the Xbox Live Game Save service | Desktop, Laptop | Xbox game saves stop syncing |
svc-xboxgipsvc=disabled |
Turn off the Xbox Accessory Management service | Desktop, Laptop | Xbox controllers lose accessory updates |
svc-xboxnetapisvc=disabled |
Turn off the Xbox Live Networking service | Desktop, Laptop | Xbox multiplayer stops |
svc-rpclocator=disabled |
Turn off the Remote Procedure Call Locator service | Desktop, Laptop | Nothing expected |
svc-simptcp=disabled |
Turn off the Simple TCP/IP Services service | Desktop, Laptop | The echo, daytime and quote services stop (if installed) |
svc-wmpnetworksvc=disabled |
Turn off the Windows Media Player Network Sharing service | Desktop, Laptop | Media Player library sharing stops |
svc-ssdpsrv=disabled |
Turn off the SSDP Discovery service | CIS Level 1 | Network discovery of UPnP devices (some printers, media players) stops |
svc-upnphost=disabled |
Turn off the UPnP Device Host service | CIS Level 1 | This computer cannot host UPnP devices |
svc-icssvc=disabled |
Turn off the Windows Mobile Hotspot service | CIS Level 1 | Users cannot share the connection as a mobile hotspot |
svc-sharedaccess=disabled |
Turn off the Internet Connection Sharing service | CIS Level 1 | Internet Connection Sharing and some Hyper-V default switch networking stop |
svc-remoteaccess=disabled |
Turn off the Routing and Remote Access service | CIS Level 1 | This computer cannot route or accept dial-in or VPN |
svc-sshd=disabled |
Turn off the OpenSSH SSH Server service | CIS Level 1 | SSH into this computer stops |
svc-lxssmanager=disabled |
Turn off the Windows Subsystem for Linux (WSL 1) service | CIS Level 1 | WSL 1 distributions stop |
svc-w3svc=disabled |
Turn off the World Wide Web Publishing service | CIS Level 1 | IIS websites on this computer stop |
svc-iisadmin=disabled |
Turn off the IIS Admin service | CIS Level 1 | IIS 6 management stops |
svc-ftpsvc=disabled |
Turn off the Microsoft FTP Service service | CIS Level 1 | FTP to this computer stops |
svc-wmsvc=disabled |
Turn off the Web Management Service service | CIS Level 1 | IIS remote management stops |
svc-irmon=disabled |
Turn off the Infrared monitor service | CIS Level 1 | Infrared file transfer stops |
Sign-in
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
inactivitylock=900 |
Lock the screen after 15 minutes idle (10 on a laptop) | Desktop, Laptop, Server | Wall displays and kiosks lock; set an exemption for them |
credui-enumadmins=0 |
Do not list administrator accounts on the elevation prompt | Desktop, Laptop, Server | Users type the administrator name on the elevation prompt |
logon-hidelastuser=1 |
Do not show the last signed-in user | CIS Level 1 | Users type their user name at every sign-in |
logon-requirecad=0 |
Ctrl+Alt+Del is needed to sign in | Desktop, Laptop, Server | Users press Ctrl+Alt+Del before signing in |
logon-noshutdown=0 |
A server cannot be shut down from the sign-in screen | Server | Shutting down needs a sign-in |
sleep-password-battery=1 |
Ask for a password on wake (on battery) | Laptop | Users sign in again after the lid is opened |
sleep-password-plugged=1 |
Ask for a password on wake (plugged in) | Laptop | Users sign in again after sleep |
lock-nocamera=1 |
No camera on the lock screen | CIS Level 1 | The camera cannot be opened from the lock screen |
lock-noslideshow=1 |
No slide show on the lock screen | CIS Level 1 | The lock screen slide show stops |
Software install
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
installer-noelevated=0 |
Installers never run with system rights for standard users | Desktop, Laptop, Server | Users can no longer install MSI packages that relied on this |
installer-nousercontrol=0 |
Users cannot change install options | Desktop, Laptop, Server | Nothing expected |
consumer-features=1 |
No consumer apps and suggestions installed by Windows | Desktop, Laptop | Windows no longer adds suggested Store apps (Enterprise and Education editions only) |
TLS
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
tls-ssl20-server=0 |
SSL 2.0 off for connections this computer answers | Desktop, Laptop, Server | Nothing current; needs a restart |
tls-ssl20-client=0 |
SSL 2.0 off for connections this computer makes | Desktop, Laptop, Server | Nothing current; needs a restart |
tls-ssl30-server=0 |
SSL 3.0 off for connections this computer answers | Desktop, Laptop, Server | Nothing current; needs a restart |
tls-ssl30-client=0 |
SSL 3.0 off for connections this computer makes | Desktop, Laptop, Server | Nothing current; needs a restart |
tls-tls10-server=0 |
TLS 1.0 off for connections this computer answers | CIS Level 1 | Old clients and servers (Windows 7, SQL Server 2008, old Java and embedded devices) that only speak TLS 1.0 cannot connect; needs a restart |
tls-tls10-client=0 |
TLS 1.0 off for connections this computer makes | CIS Level 1 | Old clients and servers (Windows 7, SQL Server 2008, old Java and embedded devices) that only speak TLS 1.0 cannot connect; needs a restart |
tls-tls11-server=0 |
TLS 1.1 off for connections this computer answers | CIS Level 1 | Old clients and servers (Windows 7, SQL Server 2008, old Java and embedded devices) that only speak TLS 1.1 cannot connect; needs a restart |
tls-tls11-client=0 |
TLS 1.1 off for connections this computer makes | CIS Level 1 | Old clients and servers (Windows 7, SQL Server 2008, old Java and embedded devices) that only speak TLS 1.1 cannot connect; needs a restart |
dotnet-strongcrypto=1 |
.NET Framework programs use strong cryptography | Desktop, Laptop, Server | Old .NET programs fixed to TLS 1.0 move to TLS 1.2; programs talking to servers with only TLS 1.0 fail |
dotnet-systemtls=1 |
.NET Framework programs use the TLS versions Windows allows | Desktop, Laptop, Server | As above |
dotnet-strongcrypto-32=1 |
.NET Framework programs use strong cryptography (32-bit) | Desktop, Laptop, Server | Old .NET programs fixed to TLS 1.0 move to TLS 1.2; programs talking to servers with only TLS 1.0 fail |
dotnet-systemtls-32=1 |
.NET Framework programs use the TLS versions Windows allows (32-bit) | Desktop, Laptop, Server | As above |
User Account Control
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
uac-enablelua=1 |
Keep User Account Control on | Desktop, Laptop, Server | Nothing expected; old programs that need full rights ask to elevate; needs a restart |
uac-consentadmin=2 |
Ask administrators on the secure desktop before raising rights | Desktop, Laptop, Server | Administrators see a consent prompt for every elevation |
uac-consentuser=0 |
Standard users cannot elevate; the request is refused | CIS Level 1 | Help desk staff can no longer type an admin password on a user's elevation prompt |
uac-builtinadmin=1 |
The built-in Administrator also gets UAC prompts | Desktop, Laptop, Server | Scripts run as the built-in Administrator need to be elevated |
uac-installerdetection=1 |
Installers ask to elevate | Desktop, Laptop, Server | Nothing expected |
uac-secureuiapaths=1 |
Only accessibility tools in secure folders can raise rights | Desktop, Laptop, Server | Nothing expected (Windows default) |
uac-securedesktop=1 |
Elevation prompts show on the secure desktop | Desktop, Laptop, Server | Remote support tools cannot see or click the elevation prompt |
uac-virtualization=1 |
Old programs write to a per-user copy of protected folders | Desktop, Laptop, Server | Nothing expected (Windows default) |
uac-remotelocaladmin=0 |
Local accounts get no admin rights over the network | CIS Level 1 | Remote administration with LOCAL accounts (agentless scans, PsExec, admin shares) stops; domain accounts are not affected |
User rights
| Setting | Effect | Baselines | Can break |
|---|---|---|---|
right-actasos=none |
No account may act as part of the operating system | Desktop, Laptop, Server | Nothing expected |
right-createtoken=none |
No account may create access tokens | Desktop, Laptop, Server | Nothing expected |
right-credman=none |
No account may read Credential Manager as a trusted caller | Desktop, Laptop, Server | Nothing expected |
right-lockmemory=none |
No account may lock pages in memory | Desktop, Laptop | Programs set up to lock memory (SQL Server, some games) lose it; servers are left alone |
right-takeownership=*S-1-5-32-544 |
Only administrators may take ownership of files | Desktop, Laptop, Server | Nothing expected (Windows default) |
right-remoteshutdown=*S-1-5-32-544 |
Only administrators may shut the computer down remotely | Desktop, Laptop, Server | Nothing expected |
right-firmware=*S-1-5-32-544 |
Only administrators may change firmware values | Desktop, Laptop, Server | Nothing expected (Windows default) |
right-debug=*S-1-5-32-544 |
Only administrators may debug programs | CIS Level 1 | Developers who are not administrators cannot attach a debugger |
right-loaddriver=*S-1-5-32-544 |
Only administrators may load drivers | CIS Level 1 | Print Operators on a server lose it |
right-securitylog=*S-1-5-32-544 |
Only administrators may manage the security log | CIS Level 1 | Exchange and some SIEM collectors that were granted this right lose it |
right-profileprocess=*S-1-5-32-544 |
Only administrators may profile a process | CIS Level 1 | Nothing expected |
right-denynetwork=*S-1-5-32-546 |
Guests cannot sign in over the network | Desktop, Laptop, Server | Nothing expected; accounts already denied stay denied |
right-denybatch=*S-1-5-32-546 |
Guests cannot run scheduled tasks | Desktop, Laptop, Server | Nothing expected |
right-denyservice=*S-1-5-32-546 |
Guests cannot run services | Desktop, Laptop, Server | Nothing expected |
right-denylocal=*S-1-5-32-546 |
Guests cannot sign in at the keyboard | Desktop, Laptop, Server | Nothing expected |
right-denyrdp=*S-1-5-32-546 |
Guests cannot sign in by Remote Desktop | Desktop, Laptop, Server | Nothing expected |
right-network=*S-1-5-32-544+*S-1-5-32-555 |
Only administrators and Remote Desktop Users may connect over the network | CIS Level 1 | Other users can no longer open shares on this workstation; Backup Operators lose network access |
right-rdp=*S-1-5-32-544+*S-1-5-32-555 |
Only administrators and Remote Desktop Users may sign in by Remote Desktop | CIS Level 1 | Accounts given Remote Desktop rights directly (not through the group) lose them |
right-interactive=*S-1-5-32-544+*S-1-5-32-545 |
Only administrators and users may sign in at the keyboard | CIS Level 1 | Guest and Backup Operators cannot sign in at the keyboard |