18 articles Windows

Installing ClamAV on Windows Server 2012

This documents how I got ClamAV (clamd) working on Windows Server 2012 I downloaded the 64 bit package <clamav-0.99-x64.msi> from sourceforge http://sourceforge.net/projects/clamav/files/clamav/win32/ I then created folders, as I wanted everything in the root of c:\ I have: c:\ClamAV-Conf\ c:\ClamAV-x64 |-\db |-\log Created config files: clamd.conf TCPAddr 192.168.1.251 TCPSocket 3310 MaxThreads 2 LogTime true LogFile c:\ClamAV-x64\log\clamd.log…

HP Smart array CLI commands

HP Smart array CLI commands (these should apply to any system with the CLI installed) Show configuration /opt/hp/hpssacli/bin/hpssacli ctrl all show config Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status Show detailed controller information for all controllers /opt/hp/hpssacli/bin/hpssacli ctrl all show detail Show detailed controller information for controller in slot 0 /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail…

Windows 7 Environment variables

Windows 7 Environment variables Variable name Value %ALLUSERSPROFILE% (%PROGRAMDATA%) C:\ProgramData %APPDATA% C:\Users\{username}\AppData\Roaming %COMPUTERNAME% {computername} %COMMONPROGRAMFILES% C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files %COMSPEC% C:\Windows\System32\cmd.exe %HOMEDRIVE% C: %HOMEPATH% \Users\{username} %LOCALAPPDATA% C:\Users\{username}\AppData\Local %LOGONSERVER% \\{domain_logon_server} %PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} %PATHEXT% .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc %PROGRAMFILES% C:\Program Files %PROGRAMFILES(X86)% C:\Program Files (x86) (only in 64-bit version) %PROMPT% Code for current command…

Get Windows server uptime

To find server uptime: (this works on server 2008 / Vista / Windows 7 & 8 / server 2012) systeminfo | findstr “Boot” Output: System Boot Time: 13/01/2016, 10:59:27 Boot Device: \Device\HarddiskVolume1 The command net statistics server will also provide the server up time, as well as many other related statistics.

Windows command line for various control panel options

Control panel tool Command —————————————————————– Accessibility Options control access.cpl Add New Hardware control sysdm.cpladd new hardware Add/Remove Programs control appwiz.cpl Date/Time Properties control timedate.cpl Display Properties control desk.cpl FindFast control findfast.cpl Fonts Folder control fonts Internet Properties control inetcpl.cpl Joystick Properties control joy.cpl Keyboard Properties control main.cpl keyboard Microsoft Exchange control mlcfg32.cpl (or Windows Messaging)…

Windows Server 2012: Deactivating UAC

Deactivating UAC in Windows 2008 R2 was possible via running msconfig (for example winkey+r -> msconfig), going to the Tools tab and launching “Change UAC settings”. There, you select “Never notify” to disable UAC. The same approach is still available in Windows Server 2012, although UAC is still active after you selected “Never notify”. You…