Tag Archives: windows

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

Windows: Change application for a file extension from command line

Hi,

Windows has two command line utilities to alter the application associated with a file extension.
Continue reading Windows: Change application for a file extension from command line

ActiveDirectory: Determine the kms activation server by DNS

Hi,

to determine the KMS, the server to activate Windows installations, you can query the DNS by nslookup.
Continue reading ActiveDirectory: Determine the kms activation server by DNS

Windows: Get Disk Smartparameter and Health status

Hi,

in newer Versions of the Windows operating system you to not need additional tools to get the most important Harddisk smart parameters.
Continue reading Windows: Get Disk Smartparameter and Health status

Windows: Permit a limited user to run a schedule task defined by an Administrator

Hi,

This post is developed by the trial and error principle 😉 . Here you can find some background.

On Windows a User with just “normal” user rights cannot see and execute Tasks created from User with Administrator permissions. There are dozed of sites that describes that the permissions of an task can be changed by setting the filesystems rights in C:\Windows\System32\Tasks. But this won’t work since some early Versions of Windows 10 (IMHO 1607).
Continue reading Windows: Permit a limited user to run a schedule task defined by an Administrator