Category Archives: Windows knowhow

Howto do some things in Windows

Powershell: Transfer Modules to an offline PC

Hi,

in these days powershell modules are often installed from a (NuGet) Repository and not by a Setup program.

In companies may exists computers which does not have an active internet connection.

But how to install the modules on these devices?
Continue reading Powershell: Transfer Modules to an offline PC →

Windows: Extract files from a Windows MSU Update File

Hi,

Windows builtin utility for extracting cab or msu files is expand
Continue reading Windows: Extract files from a Windows MSU Update File →

Windows: Execute a Script at shutdown

Hi,

like system startup it is not possible to execute a script at system shutdown with the task scheduler. It must be configured with a group policy. You can choose the GUI way are set it by script:

Let us assume the Script is C:\scripts\shutdownEv.cmd.
Continue reading Windows: Execute a Script at shutdown →

Excel: Add trusted location to execute macros when a document is opened

Hi,

Excel can configured to prevent execute macros when a document is opened.

Continue reading Excel: Add trusted location to execute macros when a document is opened →

Windows: Reset WSUS and recreate SUSDB

Hi,

here are the steps if you have installed WSUS on Server 2012R2 on the Windows Internal Database to reset the Database and WSUS itself.

Continue reading Windows: Reset WSUS and recreate SUSDB →