Tech Notes

This is a work-in-progress dump of all the fixes, workarounds, and notes I have amassed over the years. Some are well known among techies or users of the specific HW or OS. Others are really esoteric and took a while to figure out. Either way, I want to make sure the sacred knowledge is not forgotten. I have also been playing around with markdown in composing this, so the formatting is not ideal. I plan to have this exist as a completely standalone page separate from my WordPress styles sheets when it nears some for of completion or shear size.


Windows Specific Notes

Auto Login to Windows

Open Regedit and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Add the following as Strings

  • AutoAdminLogon=1
  • DefaultUserName=<username>
  • DefaultPassword=<password>
  • DefaultDomain=<domain>

Start-up Items wont run as Admin

Administrative Tools > Local Security Policy > Local Policies > Security Options

User Account Control: run all administrators in admin approval mode = Disable

Windows 7 Network Compatibility Workaround

Administrative Tools > Local Security Policy > Local Policies > Security Options

Network security:Minimum session security for NTLM SSP (including RPC based) Clients

  • Uncheck both items on first tab > OK

Network security:Minimum session security for NTLM SSP (including RPC based) Servers

  • Uncheck both item on First tab > OK

Network Security LAN Manager authentication level

  • Choose from drop-menu: ‘Send LM & NTLM – use NTLMv2 session security if negotiated’

On-Screen Keyboard at Login

WinXP Registry Method:


  • System = osk.exe

Take Ownership of file

Used for taking ownership of dll’s and other system files that might cause problems when updating poor software

1. Run 'cmd.exe' as Administrator
2. Run commands:
    takeown /f C:\Windows\System32\filename.dll
    cacls C:\Windows\System32\filename.dll /G username:F
3. Copy & Replace the desired file

Print Spool Fix Batch

@echo off
echo Stopping print spooler.
net stop spooler
echo deleting temp files.
del %windir%\system32\spool\printers\*.* /q
echo Starting print spooler.
net start spooler

Sonicwall Specific Notes

Linux Specific Notes

FreeBSD | pfSense | FreeNAS


KeePass 2.x on FreeBSD

Install Mono

sudo pkg install mono libgdiplus

Install KeyPass 2.x

  1. Download the portable/zipped version
  2. Extract to desired directory

Run KeyPass

sudo mono KeyyPass.exe

KeyPass should open. If it doesn’t research any errors mono might be throwing.

Once it is working you can create a link/shortcut and add ‘mono’ to the custom code string.

Enable SSH acces in a FreeNAS Jail:

passwd (set password)
pkg update (update pkg database)
pkg install nano (install nano text editor so you can edit in the browser console)
nano /etc/ssh/sshd_config (edit ssh daemon config with nano)
<ctrl+shift+w> to find text
#change the following fields to listed values and un-hash
   "PermitRootLogin yes"
   "PasswordAuthentication yes"
<ctrl+shift+x> to exit
<Y> then <Enter> to save
sysrc sshd_enable=yes (enable ssh)
service sshd start

Leave a Reply