“This task requires that the user account specified has Log on as batch job rights” Windows Server 2008

When trying to edit the credentials of a task from Task Schedule, you get the following notification:

“Task Schedule: This task requires that the user account specified has Log on as batch job rights”.

In order to resolve this issue, follow these instructions:

1.Click the Windows “Start” button
2.In “Start Search” type secpol.msc and press Enter.
3.In “Local Security Policy” window, click to expand “Local Policy”.
4.Click to open “User Rights Assignment”.
5.In the right panel, right click on “Log on as a Batch job” then click on “Properties”.
6.In “Log on as batch job Properties” window, click “Add User or Group” and include the user or group do you need.
7.Click OK, and close “Local Security Policy” window.

Now you are ready to running a bat file application from Task Schedule

Exited to Command Line in Hyper-V Server 2012 and want to get back to your blue screen

Yes, this is remedial but it will be useful to someone. 🙂

As you start working with Windows Hyper-V Server 2012 for the first time, you will do something and may not know how to “undo” what you just did.

For instance, one of the options is option 14) Exit to Command Line.

Click To View Larger

Click To View Larger


This does what you want it to; it takes you to the command prompt.


Click To View Larger

Click To View Larger


Now, you want to get back to that blue screen but you don’t know how.

Just type in this:


This takes you back to that blue screen.

Click To View Larger

Click To View Larger


The blue screen is actually what’s called the Server Configuration tool (Sconfig.cmd) and it’s used to configure and manage several common aspects of Server Core installations.

Read more about the Sconfig.cmd tool HERE.

Microsoft Windows Server

Turning Firewall Off On Windows Hyper-V Server 2012

I’ve been working a lot with Windows Hyper-V Server 2012 and VEEAM Backup & Recovery software.

One of the many features I like about VEEAM is the ability to restore backups of my Virtual Machines to other hosts. I operate in a pretty small environment compared to others so I’d assume it would be a little quicker to move large amounts of data across my network. I found that restoring just a single VM to another Hyper-V 2012 Server takes a bit longer than it does to back it up which is about 30 minutes.

So, I’ve been looking for ways to make the process quicker. There’s no one answer, only things to try.

In my experience when moving data from one machine to another, if you disable the firewalls, you can move a large amount of data in a matter of minutes.

If you’d like to turn off Windows Firewall on your Windows Hyper-V 2012 Server, follow these steps:

Login to your Hyper-V server. I do this remotely through RDP.

From the command prompt, enter Powershell.

Once in PowerShell, enter the following command:

netsh advfirewall set allprofiles state off


Click To View Larger


You may also try this:

netsh interface tcp set global autotuninglevel=disabled

If you don’t notice a difference, change that back by sending this command:

netsh interface tcp set global autotuninglevel=normal

Restarting is not required for this.


You can also try disabling TCP offloading (described here) by adding the following registry keys…


Value = DisableTaskOffload
Type = DWORD
Data = 1

Value = EnableTCPChimney
Type = DWORD
Data = 0

Value = EnableTCPA
Type = DWORD
Data = 0

Value = EnableRSS
Type = DWORD
Data = 0

Restart your server and check to see if all transfers are up to speed.

Sometimes these performance issues only occur with certain NIC models in machines running Server 2008 or Windows 7 that’s transferring with a machine running Server 2003 or Windows XP.

These instructions are not limited to Hyper-V Server 2012. They apply to Server Core in general.