Archive

Archive for the ‘Windows 7’ Category

Script To Clear Event Logs

November 11th, 2012 No comments

Awesome script to clear all of your Windows 7 event logs. Wish I remembered where I sourced it from to give them credit.


@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo Event Logs have been cleared! ^ goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo You must run this script as an Administrator!
echo ^ :theEnd
pause>NUL

Categories: Windows 7 Tags:

TextPad and Excel Slow To Open Files

November 11th, 2012 No comments

I recently discovered an issue on my Windows 7 x64 system where double clicking text files (associated with TextPad) and Excel files (associated with Excel) took over 30 seconds to open the file.

A few forums on the Web suggested that the problem was that a program on my system may be blocking DDE messaging. In my case it turned out that Acronis TrueImage 2012 was the issue.

After uninstalling this bad boy I found that my file open timings returned to normal.

Categories: Windows 7 Tags:

Window 7 – No Internet Access

November 17th, 2009 No comments

For the last few days I have occasionally encountered the problem whereby my local network access worked fine. However, my Internet access was “unavailable”.

In my case, the problem was due to a race condition between the Apple Bonjour service and the DHCP lookup. The easy way to check if you have the same problem is to start a Windows command and run:

C:\>ipconfig

If your Default Gateway has a 0.0.0.0 listed then the is a fair chance that you may have the same problem e.g.

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : domain.local
   IPv4 Address. . . . . . . . . . . : 192.168.0.166
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 0.0.0.0
                                       192.168.0.1

The solution is to change the Bonjour service “Startup type” from Automatic to Automatic (Delayed Start)

Categories: Windows 7 Tags:

Windows 7 – The Peer Name Resolution Protocol

November 17th, 2009 No comments

After many ours of googling I finally found the solution to the problem where the “The Peer Name Resolution Protocol” service fails to start. The error displayed in the Windows event viewer is:

The Peer Name Resolution Protocol cloud did not start because the creation of the default identity failed with error code
: 0x80630801

The solution is to delete a corrupt file:

C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\PeerNetworking\idstore.sst

Solution Reference

Categories: Windows 7 Tags: