Category Archives: Windows knowhow

Howto do some things in Windows

Windows: Slow Performance. Windows Update (svchost.exe) consumes high CPU load

Hi,

older Windows Versions i.e 7, 8.1 and Server 2012R2 have the problems that an older Version of the Windows Update Agent is installed which consumes a lot of CPU cycles.
Continue reading Windows: Slow Performance. Windows Update (svchost.exe) consumes high CPU load

Advertisment to support michlstechblog.info

Powershell: Passing an array to a script at command line

Hi,

starting point is a simple powershell shell script testarray.ps1:
Continue reading Powershell: Passing an array to a script at command line

Windows: Script to recover lost Passwords from a unattend/sysprep.xml file

Hi,

Passwords for new users or for joining a domain could defined in plain text or encrypted at sysprep.xml or unattend.xml file. But they are not “really” encrypted.

Continue reading Windows: Script to recover lost Passwords from a unattend/sysprep.xml file

Windows: Cumulative Update cannot be installed on Windows 10

Hi,

let us assume you have installed Windows 10 1607 and you want to install the cumulative Update KB3189866 and the update fails:


c:\Temp > wusa %TEMP%\AMD64-all-windows10.0-kb3189866-x64.msu /quiet /norestart

Eventlog: EventID 3,
Windows update could not be installed because of error 2149842967 (Command line: “C:\Windows\system32\wusa.exe” “C:\Temp\AMD64-all-windows10.0-kb3189866-x64.msu”)
Continue reading Windows: Cumulative Update cannot be installed on Windows 10

Windows: Robocopy quits with access denied Error 5 even if you have modify permissions

Hi,

let us assume that you have write permissions (not full control) to a network share, you start robocopy without copying ACL and Attributes (/COPY:D, /DCOPY:D) and nevertheless robocopy exits with ACCESS DENIED. robocopy requests a lot of permissions:

Desired Access: Generic Read, Write Data/Add File, Write EA, Write Attributes, Delete, Write DAC
Disposition: OpenIf
Options: Directory, Synchronous IO Non-Alert, Open For Backup
Attributes: DA
ShareMode: None
AllocationSize: 0


Continue reading Windows: Robocopy quits with access denied Error 5 even if you have modify permissions