Manage Windows Task Scheduler Settings via Registry

To change the Task Scheduler log file settings: Use a registry editing tool to navigate to the following key:          HKEY_LOCAL_MACHINESOFTWAREMicrosoftSchedulingAgent Insert or change a value with the following details:          Data Type: DWORD          Value Name: MaxLogSizeKB          Value: The required maximum size, in kilobytes Change the value with the following details:          Data Type: EXPAND_SZ          Value Name: LogPath          Value: The path to the required log file location Restart the computer for the changes to take effect. List all the settings available in registry: C:>reg query HKEY_LOCAL_MACHINESOFTWAREMicrosoftSchedulingAgent HKEY_LOCAL_MACHINESOFTWAREMicrosoftSchedulingAgent     TasksFolder    REG_EXPAND_SZ    %SystemRoot%Tasks     LogPath    REG_EXPAND_SZ    %SystemRoot%TasksSCHEDLGU.TXT     […]

Read more

Windows System Information Functions

DnsHostnameToComputerName Converts a DNS name to a NetBIOS name. EnumSystemFirmwareTables Enumerates all system firmware tables of the specified type. ExpandEnvironmentStrings Replaces environment-variable strings with their defined values. GetComputerName Retrieves the NetBIOS name of the local computer. GetComputerNameEx Retrieves the NetBIOS or DNS name of the local computer. GetComputerObjectName Retrieves the local computer’s name in a specified format. GetCurrentHwProfile Retrieves the current hardware profile for the local computer. GetFirmwareEnvironmentVariable Retrieves the value of the specified firmware environment variable from NVRAM. GetNativeSystemInfo Retrieves information about the current system for an application running under WOW64. GetProductInfo Retrieves the product type for the operating […]

Read more

Windows System Information

Handles and Objects An object is a data structure that represents a system resource, such as a file, thread, or graphic image. An application cannot directly access object data or the system resource that an object represents. Instead, an application must obtain an object handle, which it can use to examine or modify the system resource. Registry A system-defined database in which applications and the system store and retrieve configuration information. System Information Retrieves or sets system configuration, settings, version, and metrics. System Shutdown Logs off the current user, shuts down the system, or locks the workstation. Time Retrieves or […]

Read more