Category Archives: Windows

Windows tips, howtos, scripts

VMware: Execute scripts by Invoke-VMScript as Administrator

Hi,

this post addresses the issue that, when Windows UAC is enabled, you could not execute scripts with elevated Administrator permissions by PowerCli’s Invoke-VMScript. In my opinion when I execute scripts on VMs in more then 80% of these cases I need elevated user rights.
Continue reading VMware: Execute scripts by Invoke-VMScript as Administrator

Advertisment to support michlstechblog.info

Windows: Activate Administrator access over Network

Hi,

since Windows Vista the access from network for members of the local Administrators group is restricted by default.
Continue reading Windows: Activate Administrator access over Network

Powershell: Determine the image type (x64/x86) of an exe file

Hi,

based on this stackoverflow post I’ve written a powershell function to determine the image type of an Windows executable. The Powershells System.IO.FileSystemInfo type does not provide such an info.
Continue reading Powershell: Determine the image type (x64/x86) of an exe file

Windows Server 2012 R2: Cannot install role Remote Desktop Services

Hi,

Issue: You try to install “Remote Desktop Services” role and it ends in error “unable to connect to powershell remoting“.
Continue reading Windows Server 2012 R2: Cannot install role Remote Desktop Services

Windows 8.1: Installing .NET 3.5 Framework

Hi,

installing .NET 3.5 on Windows 8.1 differs from install other feature because you have to specify the location of the files to being installed.

To install .NET 3.5 you need access to a Windows 8.1 DVD especially the \sources\sxs folder.

Let us assumed your CD drive letter is D: then you have to call:
Continue reading Windows 8.1: Installing .NET 3.5 Framework