ComVice Technology Technical Site
all about computer information and technology-
How to add in sata driver into window xp cd to avoid using floppy disk to load sata driver when install window
Posted on October 13th, 2010 51 commentsBefore start:
1. Download nlite software from www.nliteos.com.
2. Prepare a window xp cd.
3. Prepare a blank cd for burning purpose.
4. Create a folder in anywhere of your system (suggest put under c:\) & named it WINXP.
5. Copy all the file (included hidden file) in the window xp cd and put it into WINXP folder.
6. Create a folder in anywhere of your system (suggest put under c:\) & named it SATA DRIVER.
7.f6flpy3286
6. Install Nlite and run it
follow step by step instruction.
choose the folder that you copied the window xp cd’s files.
-
How to Install Windows From a Flash Drive
Posted on January 27th, 2010 2 commentsThe first thing you need to do is download the three files below and save them on your desktop.
Once you have these downloaded, extract PeToUSB.zip and USBprep.zip separately. Then, copy everything from the PeToUSB folder to the USBprep folder. Now, copy the USBprep folder and place it in C:\
Also, extract BOOTsect.zip and put these files directly in the C:\ directory as well.
Next, you need to put your Windows CD in your optical drive and copy all of the contents from it over to a folder in the C:\ directory. I named mine “XP” so it would be easier to recall later.
Navigate to the USBprep folder in C:\ and double click the usb_prep8.cmd file (yours may or may not have the .cmd extension based on the Windows settings you are using. You can enable file extensions by clicking Tools, Folder Options, View tab, then unticking “Hide extensions for known file types” in the Advanced Settings list).
Clicking usb_prep8.cmd opens up the black and white command screen you see above. Follow the directions on-screen by clicking any button and you will be greeted with another window, PeToUSB. If you have your flash drive plugged in, the program should detect it and list it under the destination drive.
Click “Start” in the PeToUSB window, select “Yes” to continue then again click “Yes” when it asks if you are sure you want to repartition and format the disk. Once complete, click “Ok”.
Leave all of these windows open and go to “Start”, then “Run” and type in “cmd” to bring up the console window.
Type “cd c:\”, without the quotes and press Enter.
Now type “bootsect /nt52 M:”, without the quotes. In this example, “M” represents the letter of my flash drive. Yours will likely be different so be sure to check beforehand (it should be listed beside your device name in PeToUSB - if not there, simply double click My Computer on your desktop and locate the drive letter there.) then press Enter.
The command window will inform you that Bootcode was successfully updated on all target volumes.
Now, close out of the current command window and also close PeToUSB. Doing this will bring up a new set of options in the original command window, as seen above.
Press “1″ then Enter and you will be asked to browse to the folder that you copied Windows to. Select the folder then click “OK”.
Click back on the command window and press “2″ then Enter. You will be asked to enter a drive letter that is not already taken. You may want to check in My Computer to be sure you select a letter that isn’t already being used. In the screenshot above, I selected “O”. Press Enter after selecting your drive letter of choice.
Press “3″ then Enter and you will be asked for the drive letter of your flash drive. This is the same letter that you used earlier in bootsect. For me, that letter is “M”. Input the letter and press Enter.
Finally, press “4″ then Enter. You will be asked if you want to proceed with the format. Type “Y” then press Enter.
The system will pause a moment while the format takes place. Then you will be asked to press any key to continue… do so. This starts the first phase of the process which will take a few minutes.
Once again, you will be prompted to press any key to continue… do so. Another dialog box will pop up, asking you if you want to start the file copy. Click “Yes”. The command window will again activate and start copying files to the flash drive which will take a few minutes.
After a bit, you will be asked if you would like USB-stick to be Preferred Boot Drive. Click “Yes”.
Finally, a dialog box asks if you would like to unmount the Virtual Drive. Click “Yes”.
That’s it, you are done! You can close the command window and any other relevant windows that may still be open.
But, we are not done. Now comes time to install XP, which as you will find out, is a bit of a different process when using a flash drive. Continue ahead as we walk through this procedure.
Installing XP
Once you have your flash drive loaded with XP, it’s time to install it. As mentioned earlier, you need to be sure that your computer supports booting from a USB drive.
Plug in the flash drive then turn on the computer and go into the BIOS (usually by pressing the Delete key at the POST screen). In the BIOS, you will need to set the flash drive as the first boot device, usually called something like “USB Hard Drive”. Save and exit to reboot the system.You will be greeted with the screen you see above which gives you two options: TXT mode or GUI mode. Select TXT mode for now.
Setup will load as normal, but there is one catch that you need to be aware of here. If you are formatting your hard drive and creating a new partition, you will need to turn off the computer immediately after the partition has been formatted (before Windows starts copying files over). Turn the system back on, boot back into TXT mode then direct Windows to leave the current file system intact. This is done because the flash drive can’t copy to the new partition unless the computer is restarted and the flash drive is allowed to recognize the new partition. Strange, yes, but that’s just how it works. If you aren’t creating a new partition, then just carry on as usual.Once all of the setup files are loaded, the computer will reboot. This time, select GUI mode and continue your installation as you normally would with a CD. It is important that you don’t remove the flash drive until you are totally finished with the installation or you may corrupt the install and have to start over again.
This guide should allow you to quickly and easily install Windows XP on a computer without an optical drive such as a netbook. You can, however, use this method on any computer to speed up the installation process, as it is much faster to install from a flash drive versus an optical drive.
-
Configure Kaspersky To Allow File and Print Sharing
Posted on January 12th, 2010 No commentsFile and print sharing are a convenient feature in Windows XP but have some security issues. Strong measures such as firewalls are key to the safety of a network. However, if not configured properly, such software can actually block access to file and print sharing. Most vendors provide documentation which explains the correct way to set this. Kaspersky Internet Security is a very strong application which can be configured to protect each computer but also allow access to file and print sharing at the same time. It also has built-in anti-virus, pop-up blocker and a large database of virus definitions which it uses to detect threats and other intrusions. It actively protects im such a way that it prevents infections before they can install themselves. It is effective in restricting unauthorized connections to shares from over the Internet without blocking them from legitimate machines inside the LAN. The best part is that Kaspersky comes with a 3-user license allowing it to be installed on up to 3 computers at once, perfect for protecting a small LAN.
Here are the step-by-step instructions to configure Kaspersky to allow file and print sharing:
- Open Kaspersky Internet Security 7.0
- Click the ‘Settings’ button. This opens the main settings window.
- In the menu on the left, click the black box to the left of where it says ‘Protection’ to expand the list of options beneath it (if it is not already expanded).
- Click ‘Firewall’. This opens the firewall options.
- Under ‘Filtration System’, click the ‘Settings…’ button. This opens another settings window.
Note: Be careful, there are two of these buttons on the same screen under different categories. Make sure to click the one towards the top. - Click the ‘Zones’ tab.
- Highlight the zone for your network adapter by clicking it once. You can find the correct zone by scrolling to the right and looking under the ‘Description’ column. If it lists the name of an ethernet card as the descirption then that is the one.
Note: If you have two adapters, for instance one wireless and one ethernet, you will need to do this to whichever one is used for sharing. Both adapters can be set for this as well, if needed. - Under ‘Rule decscription (click underline parameters to edit):’ find where it says ‘Zone Status: Internet’. The word ‘Internet’ is in blue letters with an underline. Click it twice so it changes to “Local Network”.
Note: Do not use the ‘Trusted’ setting. It is very insecure. - Click ‘OK’.
- Click ‘OK’ on the previous Window.
- Close Kaspersky. Do not worry, this does not close the entire program. It will still be running and guarding the PC.
- Do this to all PCs which will be used to share files and/or printers.
-
How to remove a driver permanently
Posted on September 24th, 2009 102 commentsGeneral
Sometimes you get into a situation where you want to remove or replace a driver, but Windows remembers the driver and keeps reinstalling it.
If this happens, you have to erase that part of Windows’ memory. You need to delete the relevant .inf file from %windir%\inf. It will be called oemX.inf. There will also be an oemX.pnf.
In the following example we will use a Netgear driver named WG311T. Of course you have to substitute the name of your problem driver when applying this solution.
You will first have to identify the inf file that contains the information about the problem driver, then delete that file.
Windows Vista
In device manager, double-click your problematic device (WG311T).
Go to the Details tab. Where it says “Property:” (combobox), change from “Device Description” to “Inf name”. This tells you which .inf file is used for installing the driver.
Go to cmd prompt again, and to: %windir%\inf
Delete that file and its corresponding .pnf file. Job done.
If you have UAC (User Access Control) enabled, you will probably need to ‘Run as Administrator’ your Command Prompt.
Windows XP
Enter the following commands:
============
cmd
cd %windir%\inf
for %a in (oem*.inf) do find /i “WG311T” %a >>out.txt
notepad out.txt============
Where I have put “WG311T” above in the for %a line, you need to make sure it’s written just like the device name is in device manager. Capitals don’t
matter (because of the /i (ignore case), but if it’s “WG-311-T” then you need to write it like that, with the dashes.This will open up a notepad windows showing you the results of a text search through oem*.inf. Look through out.txt to see which of those oemX.inf files
is the netgear one. The stuff might not mean much to you, but it’ll point at which of those inf files describes your Netgear card. You get a header (filename) like ——–OEM6.INF and following that will be the matching text, so you will be looking for the filename (——OEMX.INF) just above any netgear stuff that is shown.Remember the inf file name. In this example we will assume it is: oem12.inf
Type:
============
attrib -h -r -s oem12.*
del oem12.*=============\
What you are doing here is deleting the file that we found was the right one, and also its .PNF counterpart. On XP, .pnf files always seem to be read-only, so we have to use attrib to remove that read-only attribute. On my new Vista machine it looks like the .pnf files are not read-only, but some of the .inf files are, which I have never come across pre-Vista, so the above commands are going to remove read-only & system & hidden attributes on both .inf & .pnf just to be sure.
After doing the above, uninstall the item from device manager and it should no longer find the already installed driver.
-
How do I Convert Word to PDF?
Posted on July 29th, 2009 64 commentsPortable Document Format (PDF) is a file format developed by Adobe
Corporation. It is used to easily transfer documents via the Internet.
PDF files are protected from changes and retain the exact elements of a presentation thereby avoiding problems like missing fonts or broken layouts. PDF files can be viewed by using Adobe Acrobat Reader, an easily downloadable application supported by all OS-Windows, Linux, and Mac OS X
.
Converting MS Word Documents to PDF
Sending a uniform file to many recipients, transferring files from one OS to another, and having a presentation printed out in computer shops are just few of the many reasons why users convert their files to PDF. There are many applications that can be used to view and convert Word, Excel, and PowerPoint files to PDF like Adobe Acrobat, OpenOffice, and Word to PDF Converter V3.0 among others.
There are also sites like doc2pdf and ExpressPDF that offer easy Word-to-PDF conversion without downloading any program. Upload the file you want to convert, and you can get it back in PDF format within minutes.
Converting MS Word Documents to PDF Using a Document Converter
Converting MS Word files to PDF is just a matter of choosing your document converter as your printer. You can set your document converter as the default printer by going to Start > Control Panel > Printers and Faxes. In the following window, right click your document converter then choose Set As Default.
If you have another printer attached, you can choose your document converter from the Print window pop-up. To do this, follow the steps below.
Steps to Select Document Converter as Non-Default Printer
- Open the document in Word.
- Choose File then Print.
- Choose your document converter (Adobe PDF printer or Universal Document Converter).
- If you’re using Adobe PDF printer, you can just click OK, specify the filename and location for your PDF file, then Save it. If you’re using the Universal Document Converter, click Properties then choose Document to PDF, Color, Multipage in the scroll bar. Click OK then Print.
Converting MS Word Documents to PDF Using OpenOffice
If you have OpenOffice installed or if you’re using Linux, you can convert your document to PDF by using Macro. Follow the steps listed below to do this.
Steps to Use Macro on OpenOffice to Convert MS Word Documents to PDF
- In OpenOffice, click Tools > Macros > Macro.
- Click Organizer then choose the Libraries tab.
- Set Application/Document to soffice, click New then name your library.
- Click on the Modules tab, select your library then click New Module. Rename the module to Conversion for easier access.
- When a window pops up, paste the following code:
Sub ConvertWordToPDF(cFile) cURL = ConvertToURL(cFile)
‘ Open the document.
‘ Just blindly assume that the document is of a type that OOo will
‘ correctly recognize and open — without specifying an import filter.
oDoc = StarDesktop.loadComponentFromURL(cURL, “_blank”, 0, Array(MakePropertyValue(”Hidden”, True), ))cFile = Left(cFile, Len(cFile) - 4) + “.pdf”
cURL = ConvertToURL(cFile)‘ Save the document using a filter.
oDoc.storeToURL(cURL, Array(MakePropertyValue(”FilterName”, “writer_pdf_Export”), ))oDoc.close(True)
End Sub
Function MakePropertyValue( Optional cName As String, Optional uValue ) As com.sun.star.beans.PropertyValue
Dim oPropertyValue As New com.sun.star.beans.PropertyValue
If Not IsMissing( cName ) Then
oPropertyValue.Name = cName
EndIf
If Not IsMissing( uValue ) Then
oPropertyValue.Value = uValue
EndIf
MakePropertyValue() = oPropertyValue
End Function6. Save and exit OpenOffice.
Use OpenOffice Macro on Linux to Convert MS Word Documents to PDF
Create a shell script in /usr/local/bin/:
#!/bin/sh
DIR=$(pwd)
DOC=$DIR/$1/user/bin/oowriter-invisible
“macro://Standard.Module1.ConvertWordToPDF($DOC)”Run your shell script on the Microsoft Word document and it will create a PDF file.
Use OpenOffice Macro on Windows to Convert MS Word Documents to PDF
After closing OpenOffice, create or open the file. Type this command:
@ECHO OFF
“c:\program files\OpenOffice.org1.1.0\program\soffice”-invisible
“macro:////NameofyourLibrary.Conversion.ConvertWordToPDF(%1)”Rem “c:\program files\OpenOffice.org1.1.0\program\soffice” -invisible
“macro:////NameofyourLibrary.Conversion.test(%1)”From the command line, type: convert c:\docu9.doc. The docu9.pdf file can be found in your C:\ folder.
Converting MS Word Documents to PDF on Mac OSX
Converting documents to PDF in Mac OS X is almost the same as converting it in Windows. However, you don’t need a document converter on Mac OSX for converting MS Word documents to PDF. Follow the steps below to convert your word file to PDF on Mac OSX.
Steps to Convert MS Word Documents to PDF on Mac OSX
- Open your word file in your text editor.
- Click File then Print.
- In the Print window, click the PDF button at the bottom-left then select “Save as PDF…” option.
- Choose the location, rename your PDF file, then click Save.
-
Uninstall Trend Micro OfficeScan Corporate Edition Client Manually
Posted on July 18th, 2009 No commentsTrend Micro OfficeScan is normally deployed in corporate network environment to provide endpoint security. Administrators can remotely uninstall the Office Scan client, and user at the workstation can uninstall the client program using built-in uninstall mechanism too (i.e. Add and Remove Program in Control Panel). If for some reason, the Office Scan client cannot or unable to uninstall, or user doesn’t have the required password to remove the OfficeScan client, try the following workaround to manually uninstall and remove Trend Micro OfficeScan.
- Go to Control Panel Services (services.msc), and stop the following services:
OfficeScanNT Listener
OfficeScanNT RealTimeScan
OfficeScanNT Personal Firewall (if enabled)- Run Registry Editor (regedit.exe).
- Navigate to the following registry key hive:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es
- Delete the following keys (if available):
Ntrtscan
Tmlisten
TmFilter
VSApiNt
TMPreFilter
TM_CFW
OfcPfwSvc- Navigate to the following registry hive:
HKEY_LOCAL_MACHINE \SOFTWARE\TrendMicro
or
HKEY_LOCAL_MACHINE \SOFTWARE \Wow6432Node\TrendMicro (in 64-bit Windows operating system)
- Delete the following keys (if available):
OfcWatchDog
Pc-cillinNTCorp or OfficeScanCorp (depending on the client)
RemoteAgent
PC-cillin
CFW- Browse to the following registry key hive:
HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft\Windows\CurrentVersion\Run
- Delete the OfficeScanNT key.
- Delete the OfficeScan program group (Trend Micro OfficeScan Client) from the Windows Start menu.
- Restart the computer.
- Delete the directories that contain the OfficeScan Client program files, normally located inside Program Files folder.
Above steps work for OfficeScan 7.x client in Windows 2003/XP/2000/NT/Vista/2008 machine. For Trend Micro OfficeScan Corporate Edition (OSCE) - 5.58, OfficeScan Corporate Edition (OSCE) - 6.5, Client / Server / Messaging Suite for SMB - 2.0, follow these manual uninstallation steps instead.
- Delete the Trend Micro OfficeScan Client program shortcut in Start Menu, by right click on it and then choose Delete.
- Delete the installed files located in the OfficeScan folder under the \Program Files\Trend Micro\OfficeScan Client directory.
- Open the Registry Editor (regedit).
- Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\TrendMicro
- Delete the following keys:
OfcWatchDog
PC-cillin
PC-cillinNTCorp- Also delete the following registry hives:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Run\OfficeScanNT Monitor
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\OfficeScanNT
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ntrtscan HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\tmfilter
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\tmlisten
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\TmPreFilter (for Win2003)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\VSApiNt- Right click on My Computer, click Manage and then select Device Manager.
- Enable the Show Hidden Devices option.
- Remove the following hidden devices in Non-Plug and Play Drivers tree pertaining to OfficeScan (right-click and select Uninstall):
Trend Micro VSAPI NT
Trend Micro FILTER
Common Firewall Driver
NTRTSCAN (if available)
TMLISTEN (if available)- Restart the OfficeScan client machine.
SOLUTION 2:
1.
Right-click on the OfficeScan system tray icon then select Unload OfficeScan. If you are asked for a password, enter the unload password then click OK. If you do not know the password, skip this step. 2.
Open the Windows Services console (services.msc). 3.
Stop the following services: •
OfficeScanNT Listener •
OfficeScanNT RealTime Scan •
OfficeScanNT Personal Firewall Note: The services will already be stopped if you were able to unload the OfficeScan client in Step 1. 4.
Click Start > Programs, right-click on Trend Micro OfficeScan Client then click Delete. 5.
Open the Registry Editor (regedit.exe). Important: Always make a back up copy of the whole registry before making any modifications. Incorrect changes to the registry can cause serious system problems. 6.
a.
Delete the following registry key(s): •
If only the OfficeScan client program is installed:
HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro•
If there are other Trend Micro products installed:
HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\NSC
HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\OfcWatchDog
HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorpb.
Delete the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScanNT c.
Delete the following registry value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OfficeScanNT Monitor (REG_SZ)d.
Delete all instances of the following registry keys in the following locations: Locations: •
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services •
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services •
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services •
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services Keys: •
ntrtscan •
tmcfw •
tmcomm •
TmFilter •
Tmlisten •
tmpfw •
TmPreFilter •
TmProxy •
tmtdi •
VSApiNt •
ntrtscan 7.
Close the Registry Editor. 8.
Click Start > Settings > Control Panel then double-click System. 9.
Click the Hardware tab then click Device Manager. 10.
Click View > Show hidden devices. 11.
Expand Non-Plug and Play Drivers then uninstall the following devices: •
tmcomm •
Trend Micro Filter •
Trend Micro PreFilter •
Trend Micro TDI Driver •
Trend Micro VSAPI NT 12.
Uninstall the Common Firewall Driver: a.
Right-click on My Network Places then click Properties. b.
Right-click on Local Area Connection then click Properties. c.
On the General tab, select Trend Micro Common Firewall Driver then click Uninstall. For Windows Vista clients, do the following: a.
Right-click on Network then click Properties. b.
Click Manage network connections. c.
Right-click on Local Area Connection then click Properties. d.
On the Networking tab, select Trend Micro Common Firewall Driver then click Uninstall. 13.
Restart the computer. 14.
Delete the following directory: •
If only the OfficeScan client program is installed:
C:\Program Files\Trend Micro•
If there are other Trend Micro products installed: C:\Program Files\Trend Micro\OfficeScan Client
-
Active Desktop Recovery – Object doesn’t support this action
Posted on July 18th, 2009 115 commentsDo you face a problem on my desktop for the longest time and I finally decided to look into it yesterday. My desktop had this white background and it said Active Desktop Recovery. Also, there was a button that said Restore my Active Desktop.
Here’s FIX #1
- Open an explorer window (open My Computer for example)
- Tools
- Folder Options
- View
- Uncheck Hide protected operating system files
- Now do a search for desktop.htt…it should be on your C: normally
- Delete any desktop.htt files you find (there could be more than one depending on how many user profiles are on the machine) They should be located in Documents and Settings\User\Application Data\Microsoft\Internet Explorer
- Close all windows you have open
- Now reboot your PC..Windows will recreate desktop.htt for you and it should work!
oops…I almost forgot….go ahead a place a check back in Hide protected operating system files
If the above doesn’t work, try FIX #2!
- Go to Run, type regedit and hit enter
- Go here HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components
- Select the value DeskHtmlVersion
- Select the Decimal radial button
- Change the value of 272 to 0
- Most of the time it might take a few seconds for your background to appear and other times…you might need to restart your computer.
-
I Don’t Want to Restart My PC after Every Automatic Windows Updates - Solution
Posted on June 13th, 2009 1 commentletting automatic updates wasn’t enough. When they finish, you are prompted to restart your computer. Say what if you ignore. The nuisance that is Windows won’t stop there. The real problem comes into play when Windows gets tired of reminding us and says that the computer is going to reboot in 5 minutes, and the only way you can prevent the inevitable is to temporarily disable Windows Update. How do you overcome this?
- Go to Start -> Run and then type regedit and press enter.
- Navigate down to the following key, creating new keys if they don’t exist. HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
- Create a new 32-bit DWORD value named NoAutoRebootWithLoggedOnUsers and give it a value of 1 to prevent automatic reboot while users are logged on.
- If you wish to revert any day just delete the value to put things back to the way they were.
I am not sure if this trick works for Windows XP home users.
-
M.Office 2007 Enter.
Posted on June 3rd, 2009 No commentsM9G3J-HTD9D-TT3VM-RDXTF-BCFMJ
C3X6P-WBVMF-6BJ3J-FG7QQ-3B6HW
CYGGC-BXMW7-38MRD-YH3B2-RR87W
TY9QG-CPKJR-FWCDW-2KGHB-7T6HW
FBYPW-P9FR2-7F7HM-8KHRW-T94MJ
H8GMD-HMH6Y-XY7HP-2X74R-T4CVW
VHGGJ-F8JFJ-2C2TV-8K98J-4CFMJ
WC767-J76PV-QTMMP-663JK-7QW7W
BCHGG-FVFVC-4DGF7-D36J2-BKMYJ
C9BF8-TRYVV-HWJ8P-P2JM7-BMDQ8
-
A convenient way to deal with “Unexpected Error 0×8ffe2740″
Posted on May 26th, 2009 1 commentEver had the annoying problem of IIS not wanting to start, coughing up the message ”Unexpected Error 0×8ffe2740 Occurred.”? The reason is that some other application has grabbed port 80. The most common applications doing this are Skype or Trillion. You can try just ending task on them and see if IIS will then start. If you’re not running either of those then what could it be? Microsoft’s KB article about the subject describes using the third-party utilities TCPView or FPort. But I think an easier way to find the issue is to simply drop out to a command prompt and run:
netstat -aon
Scroll up to the top part with TCP listings and you’ll see something like this:
Then under “Local Address” look for 0.0.0.0:80. This is your entry, and a the far right is the PID you’re after. With that number you can then run Task Manager, select the Process tab, and add the PID column in the display from View / Select Columns:
When you’ve found the process with the same PID, end task on it. The universe should then return to a state of perfect harmony. (Or at least your IIS will be able to start at that point!)
Another more geeky option to kill the offending app is to compile and run this line of .NET code:
System.Diagnostics.Process.GetProcessById( PID# ).Kill()
(Of course putting in the proper PID where indicated there.)
With everything that the Process class does, you could actually write your own highly effective Task Manager application in .NET if you really wanted to!