by admin | Dec 17, 2012 | Uncategorized
Ran into a virus that changed all the windows attributes on all the files/folders at the root of a network share. Every file and folder had the Read Only, System, and Hidden attribute set. I tried using “attrib -r -h -s /s /d” but for some reason it...
by admin | Aug 29, 2012 | Uncategorized
To scan a linux filesystem and find all files containing a specific string. find / -type f -print0 | xargs -0 grep -i STRING
by admin | Jul 9, 2012 | Uncategorized
We have a policy to retain our security log files for 90 days. Our domain policy is setup to auto archive the logs instead of overwriting them. The problem is that the 90 day rule doesn’t stick since there aren’t any entries in the current log file for...
by admin | Jun 4, 2012 | Uncategorized
@echo off set folder=C:\test pushd “%folder%” for /f “skip=2 tokens=*” %%i in (‘dir /a:-d-s /b /o:-d’) do echo “%%i” popd *** Stolen from Major Geeks forum member GermanOne
by admin | May 24, 2012 | Uncategorized
To have reusable vouchers: Edit /etc/inc/captiveportal.inc and modify: /* This user was already logged in so we disconnect the old one */ captiveportal_disconnect($cpentry,$radiusservers,13);...
by admin | Aug 20, 2011 | Uncategorized
This must be run from a Administrator Command Prompt. REG.EXE ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \Tcpip6\Parameters /v “DisabledComponents” /t REG_DWORD /d 0xffffffff