Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • Toggle search form

Configure log on as a batch job permissions on any server

Posted on 16/03/202121/05/2025 IT Expert By IT Expert No Comments on Configure log on as a batch job permissions on any server
  1. Home
  2. Windows Server
  3. 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.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • 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

  • 1 kajkbmlyehn0inifwrh 8w
    How to install Kerberos packages with Cygwin on Windows Windows Server
  • slide office 365 79
    Configure WSUS Email Notification for Office365 Windows Server
  • Fix Secure Boot certificate expiration
    Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows
  • 41592 3264bitw10
    What is the difference between 32-bit and 64-bit processors Windows Server
  • How to configure Volume Shadow Copies VSS on Windows Server
    Volume Shadow Copies: How to configure VSS on Windows Server Windows
  • Enable TPM and ecure boot on HyperV to run windoows 11
    How to run Windows 11 on HyperV Virtualization

More Related Articles

1 kajkbmlyehn0inifwrh 8w How to install Kerberos packages with Cygwin on Windows Windows Server
slide office 365 79 Configure WSUS Email Notification for Office365 Windows Server
Fix Secure Boot certificate expiration Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows
41592 3264bitw10 What is the difference between 32-bit and 64-bit processors Windows Server
How to configure Volume Shadow Copies VSS on Windows Server Volume Shadow Copies: How to configure VSS on Windows Server Windows
Enable TPM and ecure boot on HyperV to run windoows 11 How to run Windows 11 on HyperV Virtualization

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Continuous Deployment Pipeline Using AWS CodePipeline
    Setup a Continuous Deployment Pipeline with AWS CodePipeline AWS/Azure/OpenShift
  • linux w640 h400
    How to install and configure Ubuntu Linux on VirtualBox Linux
  • self signed sslcert
    Generate self-signed certificate and export in PFX format via PowerShell [Part 2] Windows
  • vmca course
    Veeam Certified Architect: VMCA Training & Certification Review Backup
  • screenshot 2020 02 07 at 21.59.33
    Prerequisites for setting up a Single and Multi App Kiosk Windows
  • fixzoomaudioissue
    How to fix unable to access microphone on Zoom JIRA|Confluence|Apps
  • banner 5
    How to fix Wi-Fi not connecting on Windows 11 Windows
  • images 4 1
    How to export passwords from KeePass Database to Pleasant Password Server Password Manager

Subscribe to Blog via Email

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

Join 1,779 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

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.