Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » Configure log on as a batch job permissions on any server
  • Remote Desktop Connection Windows 10 min
    Fix Remote Desktop Connection issues (Error 0x204) Windows
  • windows 7 stuck at loading screen thumbnail
    Disable the Windows welcome screen and shutdown screen Windows
  • Jenkins
    How to Install Jenkins Automation Server on Ubuntu 20.04 LTS Linux
  • image 64
    Windows Local Account Authorization and Access Control Windows
  • savds
    VM is not accessible: Fix Taking ownership of a VM failed Virtualization
  • screenshot 2020 03 13 at 20.24.17
    How to install Cygwin packages from the command line Windows Server
  • screenshot 2020 02 08 at 17.31.28
    How to perform Password Change with OWA Network | Monitoring
  • Fix this PC cannot run Windows 11
    Bypass unsupported CPU and Processor by upgrading to Windows 11 via Windows Update Virtualization

Configure log on as a batch job permissions on any server

Posted on 16/03/202121/05/2025 Christian By Christian No Comments on Configure log on as a batch job permissions on any server
Server permission settings

Log on as a batch job. This security setting allows a user to be logged on by means of a batch-queue facility and is provided only for compatibility with older versions of Windows. For example, when a user submits a job by means of the task scheduler, the task scheduler logs that user on as a batch user rather than as an interactive user. Default: Administrators and Backup Operators. Please visit the following links for more on Group Policy Objects and GPO. In this article, we shall discuss how to configure log on as a batch job permissions on any server.

I needed to grant an MBAM read only server "MBAM-RO-SVC" logon as a batch job permission and because of this, I decided to create this article for you to benefit from it. This is an MBAM Read-only service account which will have access to the reports area of the Administration and Monitoring Website.

You may need to configure “log on as a batch job” because the task scheduler job needs to run regardless of whether a user is logged on or runs in the background without opening a user session.

To learn more about these switches, see “All about GPUpdate Switches: GPUpdate vs GPUpdate /force“, what is Registry Editor and how to access the registry hives, and how to search through Windows Registry, what is Registry Editor and how to access the registry hives and how to search through Windows Registry.

Why do we need this settings configured?

As a result, the account used must be enforced or required for interactive logon, and this configuration is necessary. Please take a look at this link for more information.

For Scheduled Task as shown below, the scheduled task requires the “Log on as a batch job” right for a service account because this permission allows the account to run tasks in the background without interactive logon, which is essential for executing scheduled tasks.

logon as batch job

In the context of MBAM, The Log on as a batch job permission is required for the IIS account in MBAM (Microsoft BitLocker Administration and Monitoring) setup because it allows background processes to run under a specific account without requiring interactive logon. This is essential for web applications and services that need to execute automated tasks such as encryption key management and reporting.

During MBAM setup, IIS hosts web applications that facilitate BitLocker administration, including self-service portals and monitoring tools. These applications often rely on scheduled tasks or background processes to function correctly. And granting the IIS account the Log on as a batch job right ensures that these tasks can run securely and efficiently.

Please see Unable to run downloaded Programs due to Defender SmartScreen, how to retrieve Recent Windows Update: How to create batch script files, and how to Manage Microsoft Defender Antivirus with Argon ACMP.

Configure log on as a batch job permissions on any server

To fix this, search for the “secpol.msc” from the windows search as shown below. Alternatively, launch the run dialog wizard and enter “secpol.msc” and hit ok. Regardless of the step, you chose to use, this will open the Local Security Policy console. “

Note: You can also access this from the Group Policy Management Editor dialog box, under Computer Configuration, expand Policies, Windows Settings, Security Settings, and Local Policies, and then click User Rights Assignment

Batch job access control
If you configure the Log on as a batch job setting using domain-based Group Policy settings. The computer cannot assign the user right to accounts used for scheduled jobs in the Task Scheduler.

Locate the Local Policies, and then click User Rights Assignment. On the right pane of the window, double-click on log on as a batch job

Server user privileges

This will open up the Log on as a batch job Properties window. Click on Add Users or Group as shown below.

Note: When the log on as a batch job is grayed out, ensure to add your account as a member of the local administrator group on the PC.

Logon rights configuration

This will open up the wizard below to select users, computers, service accounts or groups. Here is how to fix “Error 1385: The user has not been granted the requested logon type at this time“.

Since we are interested in adding an MBAM service account, when I am done, I will click on OK.

Logon rights configuration

As you can see, the service account has been added. Click on Ok to close this window.

Screenshot-2021-03-16-at-22.15.59

As you can see the policy has been configured and that is all that needs to be done.

Screenshot-2021-03-16-at-22.16.52

Please, see Batch rename multiple files on Windows. Also, see the different Windows Logon Types, and how to Fix missing path and delete a Veeam Backup Repository.

FAQs

Why does my Scheduled Task succeed for .txt files but fail for .pdf, .png, or modifying spaces in a .csv file, even with modify rights and inherited folder permissions?

This is because the non-admin account lacks elevated privileges or access to specific apps or system components required to handle .pdf, .png, or .csv operations. Tasks run successfully under local admin accounts due to broader permissions and elevated access.

Why does a Scheduled Task require the “Log on as a batch job” right for a service account?

The “Log on as a batch job” right allows the service account to run tasks in the background without interactive logon.

I hope you found this blog post helpful on how to configure log on as a batch job permissions on any server. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Permission, Windows 10

Post navigation

Previous Post: Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B
Next Post: How to alter a DATABASE compatibility level

Related Posts

  • GPO Blocked Downloads 3
    How to Block downloads on Microsoft Edge using GPO on Windows Server 2019 and 2022 Windows
  • Screenshot 2020 11 09 at 11.26.54
    The logon attempt failed for the remote desktop connection Windows Server
  • Expired Evaluation Configuration Manager to Full Version
    Upgrade Expired Evaluation Configuration Manager to Full Version Windows Server
  • windows update 03
    How to target WSUS clients with the registry keys Windows Server
  • How To Enable Single Sign On (SSO) For Windows Admin Center
    Setup Windows Admin Center Modern Gateway for Single Sign-On Windows Server
  • screenshot 2020 03 20 at 16.10.20
    How to install Ansible on Windows with Cygwin Windows Server

More Related Articles

GPO Blocked Downloads 3 How to Block downloads on Microsoft Edge using GPO on Windows Server 2019 and 2022 Windows
Screenshot 2020 11 09 at 11.26.54 The logon attempt failed for the remote desktop connection Windows Server
Expired Evaluation Configuration Manager to Full Version Upgrade Expired Evaluation Configuration Manager to Full Version Windows Server
windows update 03 How to target WSUS clients with the registry keys Windows Server
How To Enable Single Sign On (SSO) For Windows Admin Center Setup Windows Admin Center Modern Gateway for Single Sign-On Windows Server
screenshot 2020 03 20 at 16.10.20 How to install Ansible on Windows with Cygwin Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Microsoft MVP

  • Remote Desktop Connection Windows 10 min
    Fix Remote Desktop Connection issues (Error 0x204) Windows
  • windows 7 stuck at loading screen thumbnail
    Disable the Windows welcome screen and shutdown screen Windows
  • Jenkins
    How to Install Jenkins Automation Server on Ubuntu 20.04 LTS Linux
  • image 64
    Windows Local Account Authorization and Access Control Windows
  • savds
    VM is not accessible: Fix Taking ownership of a VM failed Virtualization
  • screenshot 2020 03 13 at 20.24.17
    How to install Cygwin packages from the command line Windows Server
  • screenshot 2020 02 08 at 17.31.28
    How to perform Password Change with OWA Network | Monitoring
  • Fix this PC cannot run Windows 11
    Bypass unsupported CPU and Processor by upgrading to Windows 11 via Windows Update Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,840 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.