Migrate files from one Windows server to another, keeping permissions and attributes intact

Date : October 26, 2016

Need to replace one of your file servers? Maybe you’re migrating from Server 2008 to 2012/2016.

Use this command to copy your files from one server to another keeping ACL permissions, owner info, timestamps etc. intact:

robocopy source destination /E /ZB /DCOPY:T /COPYALL /R:1 /W:1 /V /TEE /LOG:C:\copy.txt
(remember – robocopy knows how to handle UNC paths, also)

Best of luck with the rest of your migration!

 

Explanation of switches:

/E – copies subdirectories, including empty ones

/ZB – use restartable mode; if access denied use Backup mode (useful for locked files)

/DCOPY:T – copies timestamps for the directories

/COPYALL – copies: attributes, timestamps, ACL permissions, owner info, audit info

/R:1 – number of retries

/W:1 – wait time between retries

/V – verbose output

/TEE – output to console, as well as log file

/LOG:C:\copy.txt – log file location


“Applying computer settings” or “Please wait” taking a VERY long time. KB2775511 to the rescue!

Date : October 23, 2016

I had a friend reach out to me for some help: there was a single Windows 7 computer at his work that would intermittently get stuck at “Please wait…”for about 30 mins when booting.

“No problem”, I said. First thing to try is enabling verbose messaging through Group Policy. “Please wait…” hides the real startup messages that you tend to see on Windows Server OS’es

A few days goes by and I get a phone call from my friend again. The computer is stuck again, this time saying “Applying computer settings…”. Not very helpful.

This is where the magical KB2775511 comes in. This is a must have for any Windows domain environment and contains over 90 various domain-focused fixes, including Folder Redirection, SMB, Offline Files, Group Policy etc. This update has fixed many of my issues, both directly and indirectly.

(more…)


How to install Hyper-V in Windows 10

Date : October 19, 2016
How to install Hyper-V in Windows 10

Ever since Windows 8 and newer, Microsoft have been kind enough to include their Virtual Machine platform, Hyper-V

However, try and find it on your computer and you may struggle. Whilst it is included, it is not installed by default. Fear not – it’s dead easy to install.

  • Head to Programs and Features (appwiz.cpl)
  • In the left hand column, select Turn Windows features on or off
  • In the list, locate Hyper-V and tick it (this will also install the sub-features of Hyper-V, which you will likely need)

(more…)


How to disable IE Enhanced Security Configuration

Date : October 18, 2016

With a fresh Windows Server installation you are unable to browse the web by default, thanks to Internet Explorer Enhanced Security Configuration. This “feature” essentially disables browsing in IE outright. There is a good reason for this, as browsing the web exposes the server to the outside world, and with that comes potential security risks (especially with a non-updated version of IE).

ie_enhancedsecurity_01

However, it is possible to disable this feature:

(more…)


How to delete stuck print jobs in Windows

Date : October 18, 2016

Ever get those irritating print jobs stuck in the print queue on Windows? Often they are stuck saying “deleting” but live there forever. Here’s how to clear them out:

(If you’re printing via a print server, chances are you want to perfom these steps on the server itself)

(more…)


@