Personal Knowledgebase of tech- and nerd stuff



*******************
Problem: When trying to add greasemonkey user script in 0.6.3 you get "(NS_ERROR_FILE_NOT_FOUND) location JS frame :: chrome://greasemonkey/content/utils.js :: getContents "

Solution: This is because of a bug, a directory and files are not created in the root directory of the Firefox user profile directory (not the extensions directory). Create sub-dir gm_scripts and the files config.xml and default-config.xml

*******************
Problem: Net Support PC-Duo 7,x 8.x 9.x etc web activex control does not work as suggested in user guide for the VIEWER.HTM approach.

Solution: Depends on mixed case in file names and lack of blank.htm file whichs precense is expected by the script. Change everything to lower case chars.
Download blank.htm from Vector Networks demo site Clicky
********************
Problem: "Backupexec job engine service failed to start" when installing to Windows XP.

Solution: Make sure that simple file sharing feature is disabled.
*********************
Info:fbserver.exe is a part of Syslog Turbo from Weird Solutions. It is FOSS db-engine.
*********************
Problem: How to remove IE enhanced security configuration on Win2K3 server.
Solution: Add/remove windows components. Uninstall IE highh security blah... This will not remove IE.
**********************
Info: Cache settings in Firefox = browser.cache.check_doc_frequency = 1 for "check every time"
***********************
Info: Acronym CAPTCHA = Completely Automated Public Turing Test to Tell Computers and Humans Apart.
**************************
Info:Godwins law: "As a Usenet discussion grows longer, the probability of a comparison involving Nazis or Hitler approaches one."
***************************
Info: To extract ServicePack files instead of launching install: /X:path
***************************
To prevent WinNT/2000/XP swapping out drivers and system files:

Once you have opened up Registry Editor, go to the following subkey

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Look for the DisablePagingExecutive option. By default, it is set to 0.

*****************************
Info: To change search behavoiur in Firefox to Mozilla style search from location field
about:config
keyword.url
http://www.google.com/search?q=
*******************************
Problem: Which user profiles are in use?

Solution: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3675345140-426764551-501881172-1012 subkey.

If that subkey exists, the workstation looks in ProfileImagePath.
********************************
Problem: How to manually create Autologon / autologin for a user/admininstrator á la TweakUI?
Solution:
1. Load REGEDT32.EXE from the WINNT\SYSTEM32 directory,
2. Ensure that the following registry String (REG_SZ) value exists:
Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon
Value: AutoAdminLogon
Value data: "1" enables the NT AutoAdminLogon
Value: DefaultDomainName
Value data: The NT NetBios of the local machine or the domain name. This controls where the AutoAdminLogon attempts to look up the DefaultUserName (local machine or domain).
Value: DefaultUserName
Value data: The NT Default User Name. This name must exist in the DefaultDomainName SAM database and have the DefaultPassword.
Value: DefaultPassword

**************************************
Problem: Getting rid of Automatic Updates restart later nag that comes with XP SP2

Solution: Start -> Run -> gpedit.msc -> Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update -> Re-prompt for restart with scheduled installations.

Set the vaule to yes and a high number (like 1000 minutes) and you can basically forget about the nag after that

Alternatively, dowload this compiled (non-protected) AutoIT-script that at least works on english versions of WinXP.

***************************************
Problem: How to Automatically Close Applications Not Responding at Shutdown?

Solution: When an application fails to respond during shutdown a dialog box is displayed prompting the user to either end it now or to wait. Enabling the value AutoEndTasks will take care of the non-responding application without user intervention. This is often referred to as “Force Exit”.

To Implement for All Users

[Start] [Run] [Regedit]
Registry Key: HKEY_USERS\.DEFAULT\Control Panel\Desktop
Data Type: REG_SZ [String Value] // Value Name: AutoEndTasks
Modify/Create the Value Name [AutoEndTasks] according to the Value Data listed below.
Value Data: [0 = AutoEndTasks Disabled / 1 = AutoEndTasks Enabled]
Exit Registry and Reboot

To Implement for Individual Users

[Start] [Run] [Regedit]
Registry Key: HKEY_CURRENT_USER\Control Panel\Desktop
Data Type: REG_SZ [String Value] // Value Name: AutoEndTasks
Modify/Create the Value Name [AutoEndTasks] according to the Value Data listed below.
Value Data: [0 = AutoEndTasks Disabled / 1 = AutoEndTasks Enabled]
Exit Registry and Reboot

**********************
Info: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\nolmhash=1 disables "compatibility" with NTLM. Increases security thanks to disabling the use of 2*7 char hashes.
***********************
Problem: How to get rid of the huge DLL Cache direcory in WinXP?

Solution: Disable the dllcache feature in winxp (no big loss as long as you are a pro anyway)
sfc /cahcesize=0
sfc /purgecache

************************
Info: How to extract BIND-version using Dig?

dig @dns2.telia.com version.bind txt chaos | grep version

************************
Problem: If BIOS enters safe mode or goes into config all the time due to "cpu frequency mismatch" or change

Solution: Check the front panel heads and make sure wires are connected to the righ heads

*************************
Problem: You know your grafics card has hardware acceleration but in dxdiag its all greyed out

Solution: Hack registry key hkey_local_machine\System\CurrentControlSet\Graphics\DCI\Timeout = 7 (not 0)
*************************
Problem: Solution: about:config and set browser.chrome.favicons true
*************************
Application: FTPCTRS FTP Counters. Perfmon-räknare för FTP ej laddad. System: ServiceControlManager ANetIKE är nåt med Cisco VPN Client 3000 Server IRPSTackSize var satt till 6 isf 11 som är default. Kan vara VPN där med... VMNet Nåt med VMware W3SVC är för att FTGate´s webserver startar före.
**************************
Info: Auto metric when using XP for routing. Static metric is set in TCP/IP properties for that interface. Fastest NIC gets lowest metric.
**************************
Problem: Mozilla can't copy downloaded file
Solution: Colse mozilla, remove \mozilla\components\compreg.dat
**********************
Info: Unable to Delete AVI Fix.

Open regedit and go to:
HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler Delete the value you find there.

This is due to XP (explorer in particular) trying to create a preview for it. Now because the file is corrupted or incomplete, it cannot read it properly, hence, it will not release the file. This prevents explorer from doing this.

As usual, backup the registry key before deleting it.
********************
DOS Drivers off 3com EtherDisk .do_-file can be extracted with Winzip
****************
Info: Spam test: relay-test.mail-abuse.org.
***************
Installation Error Message: %REMOVE_NODIR_ERROR% - Q326731

Users who are upgrading from Windows XP gold (2600) and who have edited the SYSOC.INF file to enable the removal of Windows Messenger will receive this error message on first logon when upgrading to XP SP1. This only occurs once; clicking OK continues the logon with no further errors.
****************
Anatomy of an SMTP session

Mailserver says: 220 mailserver.domain.com SMTP ... Greetings
Sender says: Helo sender.host.name
Mailserver says: 250 Nice to meet you
Sender says: Mail From:
Mailserver says: 250 Sender ok
Sender says: Rcpt To:
Mailserver says: 250 Recipient ok
Sender says: Data
Mailserver says: 354 Enter mail, end with "." on a line by itself
Sender says: Blah, blah, blah...
Sender says: .
Mailserver says: 250 Message accepted for delivery
Sender says: Quit
*****************
CDBOOT: Unable to boot from CD - Code: 4

BIOS-flashing helps