Tag Archives: windows

Windows: IIS is disabled but Windows still listen at Port 80/443

Hi,

a customer had the problem that he disables the IIS service (w3svc) but Windows still listens at port 443.

D:\> sc query w3svc
SERVICE_NAME: w3svc
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 1  STOPPED
D:\> netstat -an|findstr /i 443
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING

Continue reading Windows: IIS is disabled but Windows still listen at Port 80/443

Advertisment to support michlstechblog.info

Windows: Bring an Application/Program back to the main screen

Hi,

when you run your Laptop/Notebook in different environments, with one Screen or two screens or more then 2 screens, it sometimes happens that an application is openend on a screen which is currently not connected and therefore the application is not visible at the desktop, just in the taskbar.

Continue reading Windows: Bring an Application/Program back to the main screen

Windows: Start an Windows APP from command line


Hi,

this post describes how to start a Windows App from command line. Windows Apps cannot be started by calling the exe file in the C:\program files\WindowsApps\xxx folder. This can/must be done my using the explorer.exe.

The Syntax is


C:\> explorer.exe shell:appsFolder\%PackageFamilyNameOfTheApp%!%AppId%

Continue reading Windows: Start an Windows APP from command line

Powershell: Export/Convert a X509 Certificate to pem format

Hi,

powershell respectively the .NET framework does not offer a method to export a X509 certificate in PEM format. The pem format is a Base64 encoded view from the raw data with a header and a footer.

An example to export the machine certificate (with Thumbprint: 1C0381278083E3CB026E46A7FF09FC4B79543D) of an computer
Continue reading Powershell: Export/Convert a X509 Certificate to pem format

Powershell/Excel: Check if a excel document contains macros

Hi,

this script can be used to check if excel contains some active code. It opens the excel file in an safe way and looks for VB content and write the full file path to the console if macros are found.
Continue reading Powershell/Excel: Check if a excel document contains macros