Excel: Does not start within a schedule task

Hi,

if you have already created a script and within you do some things with Excel by DCOM Excel.Application the script runs well as a user logged to the Desktop but not within a schedule task started by the same user.

Continue reading Excel: Does not start within a schedule task

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

Powershell: Wrong exit code

Hi,

you start a powershell script from cmd and want to return an exit not equal to 0 but %ERRORLEVEL% is set to 0.
Continue reading Powershell: Wrong exit code

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

Windows: Join a workgroup or domain from command line

Hi,

there are two ways to join or leave a domain. The netdom command or the Powershell Command lets add-computer and remove-computer.
Continue reading Windows: Join a workgroup or domain from command line

My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…