Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

Friday, July 30, 2010

Firefox Slowness with localhost on Vista (or XP with IPv6)

I recently encountered an issue with a web project running locally and VERY slowly loading pages (more specifically images) in Firefox. Thanks to this post by Dan Wahlin, I was able to resolve the problem.  Per his post:
It turns out that the slowness is caused by an IPv6 issue with DNS and can easily be resolved by turning IPv6 support off in Firefox while doing localhost testing.  To make the change, type about:config in the address bar, locate the network.dns.disableIPv6 setting and double-click on it to set it to true.  This does the trick for the Firefox localhost issue on Vista and everything is running fast again.

Friday, April 16, 2010

Replacing Notepad with Flo's Notepad2 on Windows 7

1.  Once you downloaded Flo's Notepad2, get the Auto Install Script (link available here).

Auto Install Script (batch file) should look something like this:

@echo off
TITLE Notepad2 Install Script for Complete Vista Notepad Replacement
echo.
echo Notepad2 Install Script for Complete Vista Notepad Replacement
echo Version 1.0
echo.
echo (c) My Digital Life (www.mydigitallife.info)
echo.
echo.
echo.
echo.echo Confirm to apply? (Press Ctrl-C and answer Y to terminate)
pause
echo.
echo.

takeown /f %Systemroot%\notepad.exe
takeown /f %Systemroot%\System32\notepad.exe
icacls %Systemroot%\notepad.exe /grant "%username%":f
icacls %Systemroot%\System32\notepad.exe /grant "%username%":f
IF EXIST %SYSTEMROOT%\SysWOW64 (bcdedit.exe -set loadoptions "DDISABLE_INTEGRITY_CHECKS")
copy %Systemroot%\notepad.exe %Systemroot%\notepad.original.exe
copy %Systemroot%\System32\notepad.exe %Systemroot%\System32\notepad.original.exe 
echo.
echo Original notepad.exe has been renamed to "notepad.original.exe" in its original folder.
echo.
copy notepad2.exe %Systemroot%\notepad.exe /y
copy notepad2.exe %systemroot%\System32\notepad.exe /y
echo.
echo Notepad2 installation is completed.
echo If no error occurred, Notepad2 will now replace all Notepad functions.
echo.
pause

2.  Copy the Notepad2.exe that you downloaded into the following folders:
  • C:\Windows\ 
  • C:\Windows\System32\
3.  Take ownership of the original notepad.exe in the following folders:
  • C:\Windows\ 
  • C:\Windows\System32\ 
4.  Then run the Auto Install Script.

Run notepad and you should be good to go.

Vault's file diff not working on Windows 7

This applies to Vault client v3.1.7 running on Windows 7.

If you get an error, saying "'Diff application /sgdm.exe could not be found" then first, try to download and install the latest Vault client.  If that's not an option for you, then try this:

In Vault, go to Tools -> Options -> Diff/Merge:


And replace all instances of  %VAULT_EXE_DIR%  with an absolute path to sgdm.exe.

 More info can be found here:  http://support.sourcegear.com/viewtopic.php?f=5&t=12841