Preview Bittorrent Video Files

If you’ve ever downloaded video files from BitTorrent before, you would be well aware that trying to preview them when the download hasn’t finished can be quiet annoying, if not impossible. However, there are a few different methods you can try;

If you’re downloading an entire season, but the complete series hasn’t finished yet (legal downloads of course) – you may be tempted to just watch the episodes that have been downloaded.

The one program that managed to work is called RepairVideo – and claims to fix ASF, AVI, RM and WMV files. Even when video editing programs can’t detect the file type, RepairVideo will let you select a similar file so that it can reconstruct the filetype. Genius I say.

Check it out here;
http://www.repairvideo.com

How To Remove Spyware using AdWareAlert and NoAdware

Weird popups? Porn? Messages advising you to purchase products? Internet Explorer homepage keep changing? Did you wallpaper disappear? System running slow?

All of the above are symptoms of spyware, which may have been introduced to your machine via various methods – which include activeX downloads and software you installed on your PC (such as Kazaa and other p2p programs).

You did not authorize these applications to install onto your PC – so why are they there?

For a bit of fun and games, I decided to be the test dummy. After firing up VirtualBox running a clean install of Windows XP, I proceeded to install various ‘known’ applications that included spyware. These included Kazaa, Performance Optimizer, Bonzi Buddy and XP Antivirus 2008.

After I had installed these applications, I was infected with spyware – there was no doubt about it. Here’s a few screenshots of my system;

XP Antivirus 2008 informing me that I have a ton of viruses :) .. *cough* fake!

Who likes my new wallpaper?

Internet Explorer Hijacked!

Some funky looking Windows processes

Removing them all

If you performed a Google search for “Anti-Spyware”, you will be bombarded with hundreds of applications which promote “Greatest protection”, “Instant spyware removal” and “Free scan now”. I decided to give two programs a whirl and there were;

NoAdware and AdwareAlert

NoAdware

NoAdware is a lightweight antispyware application designed to dig deep within your system to find traces or spyware, dialers and adware. It also has a number of PC Shields, designed to lock down certain parts of your system so that spyware cannot perform any modifications. This includes locking down your IE homepage, IE favorites and your windows hosts file.

While NoAdware managed to remove the majority of spyware found on my dummy PC, it wasn’t able to fully remove AntiVirus 2008 – which as I mentioned before is a NASTY spyware application designed to try and sell you products, whilst providing FAKE virus results.

Download NoAdware

AdwareAlert

The thing that impressed me the most about AdwareAlert is that it actually detected XP Anti-Virus in its scan results, where as NoAdware didn’t. The software promotes its “3 way protection” system, whereby AdwareAlert Scans, deletes and protects your system – pretty straightforward really. AdwareAlert also has an inbuilt quarantine system and the ability to add programs to an ignore or white list.

Overall AdwareAlert was able to clean the system and restore my dummy system to its former state.

Download AdwareAlert

Erase your Browsing History

A friend of mine traveling in Italy recently asked me how they could clear the browsing history from the computer they were using in an Internet Cafe.

The best way to erase your browsing history is to use Firefox and the “Clear Private Data” tool that ships with it (ctrl + shift + delete). However if you are using Internet Explorer or you want to make 100% sure that all history is deleted then its best to leave it up to an application to search through your system and delete any trace that you were even there!

The program I recommended is called “WINCLEAR”, and is able to clean up your tracks from a number of browsers and Internet applications. (Such as Firefox, Opera, Netscape, AOL etc)

Give Winclear a whirl!

Free Firewall Suites (For windows)

Windows XP firewall not cutting it? Then its time to move on to something more powerful. The thing about firewalls these days is that your most likely already covered by your workplace firewall, otherwise you know that little router/modem that you have at home? That’s already blocking inbound requests for you.

However there are times when a software firewall is needed in order to stop potential attacks whilst roaming public networks such as those found in airports and cafe’s. Listed below are a few FREE windows firewall suites that may be able to offer you protection whilst in roaming mode.

Comodo Free Personal Firewall

A firewall suite designed to not only protect against hackers, but also prevent unauthorized programs from being installed. Acts almost like a spyware removal tool, with full firewalling support built in.
Download

Firewall Gold

24/7 technical support (that’s a first?) and seems to be advertised heavily on CNN and CNET etc. Provides the user with a full firewall component, designed to restrict network traffic in both directions.
Download

PCTools Firewall Plus

PCTools have developed a free firewall solution (since when do they release free products??) designed to not only protect your PC from malicious hacker attempts, but also provides real-time protection and I quote, “Intelligent automatic protection” which includes an auto-updater system – designed to automatically update firewall rules.
Download

SBS migration fails with error “This server has a trust relationship with Domain_name.local”

Method one in the below article resolved this issue for me. Seems to happen on DELL’s a fair bit.

This is related to KB article KB909639. http://support.microsoft.com/default.aspx?scid=kb;en-us;909639&sd=rss&spid=3208

SYMPTOMS
Consider the following scenario. You perform a recovery or migration of Microsoft Windows Small Business Server 2003 (Windows SBS). Then, you try to join an existing domain, as described in the following Microsoft Knowledge Base article:
884453 (http://support.microsoft.com/kb/884453 ) How to install Small Business Server 2003 in an existing Active Directory domain
When you run an integrated setup in this scenario, you receive an error message that is similar to the following, where Domain_name.local is the name of the local domain:
This server has a trust relationship with Domain_name.local.
This problem occurs when the following conditions are true:
• The original Windows SBS installation was preinstalled by an OEM.
• The domain on which Windows SBS is installed has a second domain controller.
Note Windows SBS does not support trusts. This article applies only if the error references your own domain and if that domain was originally preinstalled by the OEM.

CAUSE
This problem occurs because one of the domain GUIDs in the registry for Windows SBS is incorrectly referenced as part of the Windows SBS preinstallation process.

RESOLUTION
To resolve this problem, contact Microsoft Product Support Services.

As you can guess I called Microsoft. After being on hold for a while I went to my plan B and was able to resolve the original server issues.

But the resolution for the issues was answered today after I called MS and they gave me the answer to the issue.

Method 1: Bypass the trust check
1. Start the Windows SBS integrated setup process from the Windows SBS CD-ROM.
2. Cancel the setup process.
3. Locate the Sit xxxx .tmp folder in the system temp folder (%temp%).
Note The xxxx http://www.smallbizserver.net/Articles/tabid/ represents a random number that is generated by Setup.
4. In the Sit xxxx .tmp folder, use Notepad to open the Setup.sdb file.
5. In the Setup.sdb file, comment the trust check line by typing a semicolon at the start of the line.
6. Save the file, and then quit Notepad.
7. Restart the Windows SBS integrated setup process from the Sit xxxx .tmp folder.

Method 2: Change the GUID on the replica domain controllers
1. Change the permissions for the SECURITY hive. To do this, follow these steps:
a. Start Registry Editor, and then expand HKEY_LOCAL_MACHINE.
b. Under HKEY_LOCAL_MACHINE, right-click SECURITY, and then click Permissions.
c. Under Group or User Names, click Administrators. Under Permissions for Administrators, click to select the Allow check box in the Full Control row, and then click OK.
d. Quit Registry Editor.

2. Find the Active Directory domain GUID. To do this, follow these steps:
a. On a domain controller on which the Windows Support Tools component is installed, open a command prompt.
b. Change to the following directory: Drive_letter \Program Files\Support Tools
c. At the command prompt, type nltest/domain_trusts/all_trusts/v , and then press ENTER.
d. From the output, record the domain GUID string. You can locate the domain GUID string in the line of output that starts with “Dom Guid.” For example, the domain GUID string may appear as follows:
Dom Guid: 12345678-ABCD-EFGH-IJKL-MNOPQRSTUVWX
e. In this example, record the registry entry as follows:
78 56 34 12 CD AB GH EF IJ KL MN OP QR ST UV WX
f. Close the Command Prompt window.

3.
On each domain controller, change the value of the following registry entry to the value that you recorded in step 2e:
HKEY_LOCAL_MACHINE\SECURITY\Policy\PolDnDmG

Important You must change this registry entry on all domain controllers. Make a system state backup of all computers on which you will make this registry change. Verify that you have working backups. You must also restart all domain controllers, member servers, and workstations after you make this registry change. Additionally, you must restart the member servers and the workstations to receive the LSA GUID.

4. In Registry Editor, change the permissions on the SECURITY hive back to their original settings.

Reset HP iLO Administrator Password

So I forgot the iLO password .. and rather than opening up the machine and flipping the switch thingy, I gave the advice in this article a whirl .. and what do you know, it worked fine!

http://blog.netnerds.net/2006/04/ribcl-reset-administrator-password-on-ilo/

And for those running 2003 64bit, you can grab the Lights-Out Online Configuration Utility from here.

VB Script to check disk space and email results

Here is a script I hacked together that checks disk space of your servers and emails it to an address. This can be scheduled using Windows Task Scheduler.

Requirements:
- CDONTS – http://kb.swsoft.com/en/560
- Needs to be run under administrative rights

‘ Sample code for monitoring windows disk space

‘ This script reports the drive usage of all fixed drives on the systems
‘ specified. The report will be sent via plain text email to a specified
‘ recipient address (see last line in file).

‘ This sample can be used in a production environment to set up an
‘ unattended disk utilization report system.

‘ Modified from the original by Adiscon at http://www.adiscon.com/

‘ Modified by Burnsie

‘ Constants for drive types
Const Unknown = 0
Const Removable = 1
Const Fixed = 2
Const Remote = 3
Const CDROM = 4
Const RAMDisk = 5

‘ general constants – NEED TO BE MODIFIED FOR YOUR ENVIRONMENT
Const MailServer = “smtp.mydomain.com” ‘ Mail Server to use (SMTP)
Const MailServerPort = “25″ ‘ SMTP Port used at Mail server (25 is default)

Const LOCAL_HARD_DISK = 3

‘ Send a mail message
Sub SendMail(Sender, Recipient, Subject, Message)
Set objMessage = CreateObject(“CDO.Message”)
objMessage.Subject = Subject
objMessage.From = Sender
objMessage.To = Recipient
objMessage.TextBody = Message

objMessage.Configuration.Fields.Item _
(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2

‘Name or IP of Remote SMTP Server
objMessage.Configuration.Fields.Item _
(“http://schemas.microsoft.com/cdo/configuration/smtpserver”) = MailServer

‘Server port (typically 25)
objMessage.Configuration.Fields.Item _
(“http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = MailServerPort

objMessage.Configuration.Fields.Update

objMessage.Send
End Sub

‘ get current computer name (from system environment variables)
Function GetCurrentComputerName
set oWsh = WScript.CreateObject(“WScript.Shell”)
set oWshSysEnv = oWsh.Environment(“PROCESS”)
GetCurrentComputerName = oWshSysEnv(“COMPUTERNAME”)
End Function

‘==================================================================
‘ Begin main code
‘==================================================================
str = “”

‘Only enumerate physical disks (Not Network Drives)
Const HARD_DISK = 3

‘====================================================================
‘ Server Server1
‘===================================================================
strComputer = “Server1″
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″)

Set colDisks = objWMIService.ExecQuery _
(“Select * from Win32_LogicalDisk Where DriveType = ” & HARD_DISK & “”)

str = str & “Server: ” & strComputer & vbcrlf
For Each objDisk in colDisks
str = str & “Disk: “& objDisk.DeviceID & vbTab
str = str & ” Free Disk Space: “& FormatNumber(CLng(objDisk.FreeSpace / 1024 / 1024),0,,,-1) & ” MB” & vbcrlf
Next

str = str & vbcrlf

‘=============================================================
‘ Server server2
‘============================================================
strComputer = “server2″
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″)

Set colDisks = objWMIService.ExecQuery _
(“Select * from Win32_LogicalDisk Where DriveType = ” & HARD_DISK & “”)

str = str & “Server: ” & strComputer & vbcrlf
For Each objDisk in colDisks
str = str & “Disk: “& objDisk.DeviceID & vbTab
str = str & ” Free Disk Space: “& FormatNumber(CLng(objDisk.FreeSpace / 1024 / 1024),0,,,-1) & ” MB” & vbcrlf
Next

str = str & vbcrlf

‘================================================================
‘ Server server3
‘================================================================
strComputer = “server3″
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″)

Set colDisks = objWMIService.ExecQuery _
(“Select * from Win32_LogicalDisk Where DriveType = ” & HARD_DISK & “”)

str = str & “Server: ” & strComputer & vbcrlf
For Each objDisk in colDisks
str = str & “Disk: “& objDisk.DeviceID & vbTab
str = str & ” Free Disk Space: “& FormatNumber(CLng(objDisk.FreeSpace / 1024 / 1024),0,,,-1) & ” MB” & vbcrlf
Next

str = str & vbcrlf

‘============================================================
‘ Server server4
‘============================================================
strComputer = “server4″
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″)

Set colDisks = objWMIService.ExecQuery _
(“Select * from Win32_LogicalDisk Where DriveType = ” & HARD_DISK & “”)

str = str & “Server: ” & strComputer & vbcrlf
For Each objDisk in colDisks
str = str & “Disk: “& objDisk.DeviceID & vbTab
str = str & ” Free Disk Space: “& FormatNumber(CLng(objDisk.FreeSpace / 1024 / 1024),0,,,-1) & ” MB” & vbcrlf
Next

str = str & vbcrlf & vbcrlf & “Disk Space script hacked together by Burnsie and his good friend Google”

‘Send the email
SendMail “administrator@mydomain.com.au”, “support@mydomain.com.au”, “Client Name ” & strComputerName & “: Drive Space Report”, str

This code sends an email to the specified address that looks like this:

SUBJECT:Client Name: Drive Space Report
BODY:
Server: server11
Disk: C: Free Disk Space: 10,219 MB
Disk: D: Free Disk Space: 39,387 MB

Server: server2
Disk: C: Free Disk Space: 1,920 MB
Disk: D: Free Disk Space: 9,875 MB
Disk: F: Free Disk Space: 17,207 MB
Disk: M: Free Disk Space: 9,875 MB

Server: server3
Disk: C: Free Disk Space: 8,857 MB
Disk: D: Free Disk Space: 6,320 MB
Disk: E: Free Disk Space: 28,497 MB
Disk: F: Free Disk Space: 16,437 MB

Server: server4
Disk: C: Free Disk Space: 35,073 MB
Disk: E: Free Disk Space: 731 MB

Disk Space script hacked together by Burnsie and his good friend Google

Outlook free/busy error

Having troubles adding appointments or printing a shared calendar? Visit the persons computer who is SHARING the calendar and perform the following.

  • Click start, run
  • Type “outlook.exe /cleanfreebusy”

That should do the trick.

Using Windows Authentication under IIS7 (ASP.NET)

Okay so I took me a few hours but I finally figured out how to turn on Windows Authentication under IIS7. For some reason, it’s turned off by default and in IIS7 under authentication you’ll only see anonymous.

I have a ASP.NET 1.1 application that requires Windows Authentication and this was the error I was receiving.

“You do not have permission to view this directory or page using the credentials you supplied”

  1. Whip open the control panel, and select programs and features
  2. On the left select “Turn Windows Features on or off”
  3. Drill down to “Internet Information Services” – “World Wide Web” services” – “Security” – “Windows Authentication”
  4. Tick “Windows Authentication”

My gosh, hidden away eh?
I love Windows Vista.

Installing IIS on Windows Vista

Everything is confusing in Windows Vista .. or is it easier?

Here’s how to install IIS on Windows Vista.

  1. Hit the start menu and select settings, control panel.
  2. Look under Programs and Features, and click the option which says “Turn Windows features on or off”
  3. Click on Internet Services
  4. Click OK

Done!

Turning off UAC (User Access Control)

So I scored a new laptop through work and wanted to give Vista a whirl. Step forward 30mins and I found something really, really, really annoying. Microsoft’s new Vista access control, which will prompt you ever time you make changes to the system, either via control panel or when you install new software.

Very annoying if you ask me; lucky there’s a quick fix.
1. Click on the Start Button and go to the Control Panel.
2. In the Control Panel search box, search for “disable uac”.
3. Click on Turn User Account Control (UAC) on or off.
4. Uncheck Use User Account Control (UAC) to help protect your computer.
5. Hit OK.

  1. Hit the Start Button and select Control Panel
  2. In the Control Panel, select User Accounts
  3. Then click on User Accounts again .. (I know, what the?)
  4. Select “Turn User Access Control on or off
  5. Untick the box and hit OK!

Whola!

Exchange RPC over HTTPs GUI configuration tool

This tool allows you to configure RPC over HTTPs without all that tedious mucking about in regedit

RPC front end

Click to download: RPC over HTTPs GUI configuration tool

« Previous Entries Next Entries »