Skip to content

Test‐UserRightsAssignmentSeDenyBatchLogonRight

Mike Hiersche edited this page Oct 26, 2023 · 2 revisions

Test-UserRightsAssignmentSeDenyBatchLogonRight

SYNOPSIS

2.2.22 Ensure 'Deny log on as a batch job' to include 'Guests'

DESCRIPTION

This policy setting determines which accounts will not be able to log on to the computer as a batch job. A batch job is not a batch (.bat) file, but rather a batch-queue facility. Accounts that use the Task Scheduler to schedule jobs need this user right.

EXAMPLE

EXAMPLE 1

Test-UserRightsAssignmentSeDenyBatchLogonRight
Number    Name                                                                                                Source                    Pass    
--------- ------------------                                                                                  ------                    ----    
2.2.22    (L1) Ensure 'Deny log on as a batch job' to include 'Guests'                                        Group Policy Settings     True
Clone this wiki locally