Knowledge Base

Scheduled server reboot

When you need to schedule a delayed and forced server restart after business hours, use the following command in a scheduled task:

C:\Windows\System32\shutdown.exe -r -t 02 -f

Make sure you change the “When running this task, use the following user account” to the following user account:

System

Make sure to select the option “Run whether user is logged on or not”

Important: If you select the option “Run whether user is logged on or not” you will need to use full drive letter and directory paths for every executable and argument in your script as there is no user environment; there is no shell.  The script will not have access to a ‘current directory’ or use the PATH environment variable to search for the location of executables (!)

There is no need to specify “Run with the highest privileges”.

Scheduled server reboot was last modified: February 14th, 2017 by tabcom

Virus removal

Windows safe mode

Safe mode starts Windows with a limited set of files and drivers. Startup programs don’t run in safe mode, and only the basic drivers needed to start Windows are installed.

Safe mode is useful for troubleshooting problems with programs and drivers that might not start correctly or that might prevent Windows from starting correctly. If a problem doesn’t reappear when you start in safe mode, you can eliminate the default settings and basic device drivers as possible causes. If a recently installed program, device, or driver prevents Windows from running correctly, you can start your computer in safe mode and then remove the program that’s causing the problem.

To launch Safe mode, repeatedly tap the F8 key on your keyboard when restarting your computer.  Highlight the safe mode option when presented with a list of choices.

Microsoft Windows Sysinternals utility “Autoruns”

This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and when you start various built-in Windows applications like Internet Explorer, Explorer and media players. These programs and drivers include ones in your startup folder, Run, RunOnce, and other Registry keys. Autoruns reports Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond other autostart utilities.

MalwareBytes Anti-Malware Free

Malwarebytes’ Anti-Malware (MBAM) is an application for computers running under the Microsoft Windows operating system that finds and removes malware. MBAM is primarily a scanner that scans and removes malicious software.

Virus removal was last modified: March 30th, 2015 by tabcom