Category Archives: Computers

How to export directory listing to text file

I did this a coupl of times and every time i had to look or the information on the web so this time i sortof thought to document it for reference and many others might find it usefull too.

It comes in handy when large list of files with their paths has to be created. As one can not type in the paths for say a directory containing 1000 or so images but to really need to do that for some data base or a gallary.

To do this we just need to type in a single lin in command promt and all s done…

1) Open the command line (cmd.exe in NT/2000/XP)
2) Navigate to the required directory using the cd command.
3) type dir /b>filelist.txt

A file called filelist.txt will be created with the directory contents. If you want to create the file list elsewhere, use a fully qualified file name or use the ..\ convention. Don’t forget that Windows uses \ not / as directory delimiters.

Can not hibernate – Insufficient System Resources Exist to Complete the API

I recently installed 2 more Gigs of RAM in my XPS 1210 making it 2.5 Gigs. Previously all was well  but now whenever i try to hibernate my laptop i get this error “Insufficient System Resources Exist to Complete the API”

What microsoft says about it.

           You use a computer that is running Microsoft Windows XP with Service Pack 2 (SP2), Microsoft Windows XP Tablet PC Edition 2005, or Microsoft Windows XP Media Center Edition 2005. When you try to put the computer in hibernation, the computer occasionally does not hibernate. When this problem occurs, you receive an error message that is similar to the following:

Insufficient System Resources Exist to Complete the API.

Then you experience this problem, the hibernate feature is not available on the computer until you restart the computer. This problem typically occurs when the computer uses 1 gigabyte (GB) or more of RAM.
A Microsoft Knowledge Base article makes it clear that this is a known bug, and offers a hotfix. After going through the simple procedure of getting the hotfix sent to me, it’s now even simpler, because the hotfix is available to anyone to download, without having to call Microsoft.]
Microsoft has released the hotfix to the public. If you have been needing the hotfix for a language other than English, you may now download it directly from Microsoft’s website.

Apple suggests Mac users install Antivirus Software

Apple is recommending that Mac users install antivirus software.

But don’t read this as an admission that the Mac operating system is suddenly insecure. It’s more a recognition that Mac users are vulnerable to Web application exploits, which have replaced operating system vulnerabilities as the bigger threat to computer users.

On November 21 Apple updated a technical note on its Support Web site that says: “Apple encourages the widespread use of multiple antivirus utilities so that virus programmers have more than one application to circumvent, thus making the whole virus writing process more difficult.”

The item offers three software suggestions: Intego VirusBarrier X5 and Symantec Norton Anti-Virus 11 for Macintosh, both available from the Apple Online Store, and McAfee VirusScan for Mac.

MacDailyNews unearthed the same note posted by Apple in June 2007 and published it on Tuesday,a long with a link to a March 2002 note from Apple urging people to use an anti-virus program.

Apple representatives did not respond to e-mails seeking comment on Monday, but did return a call on Tuesday. A spokesman said he would look into the matter.

Brian Krebs, who first reported on the Apple antivirus recommendation Monday in his Security Fix blog at The Washington Post, said an Apple store employee told him he didn’t need antivirus software when he purchased a MacBook three months ago.

Generic Host Process for Win32 Services and internet stops

Lately i was being continuously annoyed by this error and was unable to find a solution for it because of my exams… now me and DON have found out a solution that works…

It is an extension to my previous post regarding the same issue…

Symptoms:

  • You are surfing the internet or are engaged any type of Internet activity when suddenly all your Network activity goes to hault. You can still see the Internet connected icon in the tray but you cannot surf, browse or do anything.
  • You get an error message something like “Generic Host Process for Win32 Services has encountered a problem and needs to close. We are sorry for the inconvenience.”
  • Error message reporting about faulting netapi32.dll and svchost.exe.
  • You try to disconnect your Internet because of no activity observed but the Internet icon wont disappear.
  • You recieve an error message something like “Your PC has recovered from a serious problem” etc.

Solution:

Follow these simple steps and your Windows will be fully cured of this menace <!–[if gte vml 1]> <![endif]–><!–[if !vml]–><!–[endif]–>

Close Port 445:

1. Start Registry Editor (Regedit.exe) by clicking Start menu, and then click the Run icon.
2. In the small box that Opens, type: regedit then click the OK button. The
Registry Editor will now have opened.
3. Locate the following key in the
registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NetBT\Parameters
In the right-hand side of the window find an option called TransportBindName.
Double click that value, and then delete the default value, thus giving it a blank value.

Close Port 135:

1. Then you must now navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLE
2. You will see there is a String Value called: EnableDCOM
Set the value to: N (it should currently be Y)
3. Close the Registry Editor. Shutdown and Restart your computer.

Well that’s all but if you want you can disable NETbios.

Explanation [thanks to Voo Ming Jing from Malaysia to remind me to do it]

what these ports do—->

Port 445 is deeply embedded in Windows and can be difficult or impossible to safely close. While its closure is possible, other dependent services such as DHCP (dynamic host configuration protocol) which is frequently used for automatically obtaining an IP address from the DHCP servers used by many corporations and ISPs, will stop functioning.

The widespread exposure and insecurity of this port has generated a great deal of concern among PC gurus. This has resulted in several approaches to shutting down the Windows DCOM server and firmly closing port 135 once and for all. Although applications may be “DCOM enabled” or “DCOM aware”, very few, if any, are actually dependent upon the presence of its services. Consequently, it is usually possible (and generally desirable if you’re comfortable doing such things) to shut down DCOM and close port 135 without any ill effects. (The fewer things running in a Windows system, the fewer things to suck up RAM and slow everything else down.)

Thanks a lot DON

Starting Free Online Tech Support

http://www.aviantracker.org/support/images/techsupport.jpgAs of now i have thought of helping out the people who find themselves lost in the technical worl. I am starting a free on line support for day to day tech issues related to computers and networking. I intend to make it big some day. But as it is said that the tour of the world starts with a single step so this is mine. Lets see how far i can take it.

Those who need help can mail me if i am not online on gtalk with my id as mtaram@gmail.com. I would be too happy to help all but as i am in college and at times i might not get time to reply to the issues so plz be patient or jsut look around on google. Some one is sitting there to help you. Learn from others and if u can teach others.

Mtaram

HACK ATTACK [Convert a straight lan cable to patch in 2 minutes]

This about making a patch or cross over cable if u have many straight spare ones lying around as was the case with me. I needed a patch cable to network my pc and notebook but had left my patch cable at one of my friends. This is a simple 2 minute hack which would allow you to convert a straight cable to patch.

Requirements:-

Straight LAN cable [the ones that connect routers and modems to your computer]

A pair of scissors or a Wire stipper [ I would recommend good ones becuse we wud be cutting wires]

Tape [ you might want to cover up the lose ends and exposed wires ]

Cut the cable from the middle. We only need 4 wires the orange pair and green pair.

strip the wire pairs about 1 cm

connect the solid green to solid orange and connect the stipped green to stripped orange and u are done.

This wont take u more than 5 minutes even if you are a noob.

Now use tape if u want. I left mine as such.

Connect the two computers using this wire.

Goto network connections and select appropriate network adapter then goto its properties and then select tcp/ip and assign an ip address in range 192.168.1.x

where x is any number between 1 and 255

do the same with other computer too but this time choose some other value for x.

Now we need to set up out computer for p2p networking.

We need to follow this on both computers.

In network connections left side pane click set up small home or office network then next just select the third option in the lists and keep going nexting. [sorry for very crude instructions no time…. wiring from college lab ;)] will edit it to add more detail once i have time…

Restart both the computers and Ping if u get a reply u are doneand congratz to u.

If not trouble shoot just google it or mail me. I wud be glad to help.

Ahsans Computer Virus Trozan Fix

Recently I had big trouble with my computer as ….it was affected by Ahsan virus..

It changes my browser title to Ahsan’s….

I was not able to open my task manager or any other antivirus software

Whenever I tried to open any link containing the info. on the virus in my browser it closed with out any prompt.

It renames my computer n my documents to Ahsan’s computer n document

I was not able to update or install any other anti virus software.

It disables d command prompt.

I was not able to access my registry editor or any other registry explorer, etc.

Also show hidden file options in the folder options was not working.

The virus creates a file named home video.avi.exe on all my partitions.

Formatting and Reinstalling the windows also didn’t help either n I couldn’t find any concrete Sol. On internet as more all less all sol were regarding modifying the registry values lol (registry editor was disabled by the virus)

Finally I found the sol..fix is as follows :

Goto Run and type in cmd or command. Once at the command prompt type in “cd\” without the quotes to go to the root of the current drive. Then type “del <name.extension> /f /a /s /q”

The name extension of the file is csrss.exe. Delete it from all the root drives and then manual delete the file home video.avi.exe in all the drives.

If command Prompt is not working den go to folder options and disable hide protected operating system files…This will make the csrss.exe file visible on all the drives. Delete it manually and your system will b free from Ahsan virus.

Caution: While manually deleting the virus do not open the drives directly rather explore the drives or it will again spread to the primary drive and will disable the command prompt etc.

Information regarding this virus can be read on the following link

http://www.auditmypc.com/process/csrss.asp

contributed by Piyush

Kalyway 10.5.2 penultimate Install ;)

First of all what’s with the post title man!

Well i cant say that its my best and successful install of mac os leopard on my XPS 1210 and i might mess up again (Nth + 1 time ;)) so i thought to name it as such.

My config

Dell xps 1210

CPU 1.83

FSB 533 RAM 1024 Dual channel

All works except for the camera and card reader.

I got SLEEP

I got Dual Cores [work around]

I got sound.__________________________________________

My procedure is ….

Boot from 10.5.2 DVD [kalyway which can be found on tbp]

– vanilla kernel ( kernel + ACPI FIX)

– nvidia driver NVInject Laptop [my nvcap for external is

– efi mbr

After installation, we need to boot “safely” with cpus=1 and fsb=166 ( for the choopy audio, ONLY on 667Mhz MB ),

you can add it to your com.apple.boot.plist.

AFTER INSTALL:

what we have:

-QE working

– wifi/ethernet working

– bluetooth working

– sleep working

– Powermanagement.

what we DON’T have:

– Dual core.

– audio from speakers.

when booted, you download the following list of files :

– AppleHDAPatcher

– sigmatel9221.txt  [find both in rar here]

– Powermanagement.bundle (from this attachment on this message, posted by others before on this topic)

– AppleACPIPlatform.kext ( comes from another topic on this forum, it’s iAktos ACPI kext, on the attachement)

when download finished. firstly use AppleHDAPatcher with the sigmatel9221.txt explained before on the topic.

reboot, you will have sound from speakers ^^.

delete your /System/Library/Extensions.mkext.

repair permissions of your disk, and reboot.

you will have Powermanagement with the icon battery status ^^.

AFTER MODIFICATIONS:

what we have:

-QE working

– wifi/ethernet working

– sound (only on jack output)

– bluetooth working

– sleep working

– audio from speakers/jack.

what we DON’T have:

– Dual core.

So, finally, the dual core ^^. I think that all that have tried on the m1210 have seen that, when you boot without cpus=1, 2 things

can happen randomly, you can get a “unknown sigfpe code 1” at boot (in this case your computer reboots) or you can get your system to boot, but unusable because of extreme lag, IN THAT CASE : PUT YOUR COMPUTER TO SLEEP after booting, then wake

him up, and the system will then work smoothly WITH BOTH CORES ACTIVE ^^

now the glitch is u need to sleep it everytime but that can be cumersome as the muse keeps freezing every second so i got u the keyboard shortcuts for sleep option+command+eject[F12]

found it here

FINALY:

what we have:

-QE working

– wifi/ethernet working

– sound (only on jack output)

– bluetooth working

– sleep working

– Powermanagement.

– audio from speakers/jack.

– Dual Core working.

Screenshot
VDO

I guess XPS 1210 is the most used hackintosh ever 😉

Utkarsh [MtaraM]

I got the guide at Insanelymac.com Thanks to ulysse31_revient

Generic host win32 error revisited

Shortly after doing a clean install, and while installing various programs,
I’m getting a “Generic Host Process for Win32 Services Error”. I close the
notification window and everything appears okay. However I then noticed that
my audio devices are no longer accessible. The device manager shows no
problems, but the options in the control panel are greyed out. The problem
is fixed, at least temporarily by reinstalling the audio drivers. Someone I
know is also experiencing the same problem. Both are XP SP2 systems.

I took a look around the net and I get the impression that it’s an error
related to one of the MS updates, and that there’s a fix for it, either a
revised update or a patch.

I’m trying to figure out what the cause
was. I have done 3 clean installs now and the error repeats itself in all 3
of them. Since I’ve have never seen this error in any previous installs, and
I’ve done quite a few, it has to have a cause because of something that is
now different. The fact that I know someone else experiencing the same thing
is interesting.

I have been fighting this for awhile. But I fixed it. The problem isn’t
with the Audio Drivers, but with a Corrupt installation of the Software
Firewall you are running. In my case McAfee Personal Firewall 8.0. I went
back to version 7.1.113.

Try this: Uninstall the Software Firewall and make sure the Windows XP
Firewall.is on after you reboot. Then go using Explore, delete all files in
your \Temp Folders. Close Explore and run Disk Cleanup.

Once you run Disk Cleanup, go into Tools for the operating system’s Hard
Drive and schedule a complete chkdsk at boot.

Then I used TuneUp Utilities 2006’s Registry Cleaner, running it until I
had zero Errors. http://www.tune-up.com/ 30-Day Trial version is available.

When done, reboot the computer.

Problem: When Svchost.exe closes, it stops all Services it controls.
Therefore, it stops Windows Audio Service.

1. The error appears on other people’s computers too.
2. After the error message the audio properties are greyed out.
3. System sounds continue to be heard as usual.
4. The error appears even after a clean install and just after installing
network drivers.
5. Some forums suggest a buffer overun attack via port 80 (which is usually
open)
6. I’m really familiar with the software on my computer.
7. I’ve done countless windows installs in the past without seeing this
error.

I did a search on the MS site for any patches dealing with buffer overuns
and found bulletin MS06-040 and it’s associated patch KB921883.

I then applied the patch under the following two conditions:

1. During a clean install of windows, just before installing drivers
(including network). The error did not appear and everything continues to
work well.

2. After getting the error message on another machine; disconnected from the
net (by pulling the cable), reset audio services via services.msc, applied
the patch and then reconnected to the net. Have not seen the error message
since.

Hope this also helps others with this problem.

fix from microsoft here
http://www.microsoft.com/downloads/details.aspx?FamilyId=2996b9b6-03ff-4636-861a-46b3eac7a305&displaylang=en

Its not my article i compiled it from various sources

found this here

here and here

Fix for sujin.com.np ie hack

Lately my internet explorer on my desktop had been effected by sujin.com.np and every time i opened up internet explorer it opened up the sujin.com.np webpage. Many tries to fix it failed and ultimately i went to google…. and yes the god of search does come to rescue in times of need.

After searching for a few minutes i found few java scripts and some scanning and removal programs that claimed to work. I am listing two of these which worked.

Information here

Scanner and remover here

Java script to remove it here

download vb6 runtime here