Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Sunday, December 30, 2012

Recovering files

This happens to everyone at some point… a hard disk crashes and now you want to restore some files from it.

One utility I use is Recuva.

image

Even if you've formatted a drive so that it looks blank, Recuva can still find your files on it.

Keep in mind that restoring files is always a bit of luck and sometimes you are just out of luck.

For more recovery tools see also:

http://www.raymond.cc/blog/top-10-free-data-recovery-software/

For the real professionals among us, I would advice Testdisk. This is more for recovering lost partitions and if you are really interesting in getting deeper into data recovery check out http://lifehacker.com/5525534/recover-data-like-a-forensics-expert-using-an-ubuntu-live-cd

I hope you will be able to recover what you were looking for.

Good luck!

Tuesday, November 23, 2010

Multiple rundll32.exe instances

 

Recently I have been encountering multiple run32dll.exe instances in my taskmanager (windows 7). Of course I was alarmed and googling indicated a probable virus. I was almost sure that this was not the case on my machine, but better safe then sorry. Scans resulted nothing, which was as I expected.

It was time now to actually investigate what triggered the rundll32.exe. With process explorer I found out it was Chrome…. Aahaa… now I had more context for googling. It turns out that the current Chrome Canary version 9.0.583.0 (Official Build 66097) had this issue.

It seems it has already been fixed in the latest development build, see http://code.google.com/p/chromium/issues/detail?id=64006

So if you are using Chrome Canary build and see a lot of rundll32.exe, then you know Smile

Friday, June 25, 2010

Renaming Networking Printers in Windows

I had never realized that you are not able to rename network printers, but it is sad and true. There is however a work-around which allows to rename network printers indirectly.

Instead of adding your printer as a network printer, add it as a local printer with a new port. In the new port specify your network printer share, eg. \\printer-server\printer-share-name. After selecting the model/etc, you have a network printer which feels like a local printer, which you can rename.

Thanks cobolhacker for sharing this info.

Tuesday, October 13, 2009

Vista, svchost.exe and my CPU

Last week I started to have issues with my Vista Laptop. Until now Vista has been great with me, I never understood why people complained about it anyway. After each boot and login my cpu maxed out. Initially with taskmanager I was not able to see which process was eating my processor, so got the tool Process Explorer (Sysinternals ... now Microsoft) and watched what happened.

It seemed that the svchost.exe was eating all my cpu cycles. Hovering with the mouse on it showed the services which it involved.



There was definitely a service which was doing something terribly wrong. Right click - Properties and then the Threads tab showed me that the dnsrslvr.dll!Reg_DoRegisterAdapter+0x501 was the cause. After googling for this I found only 1 entry, which luckily was the entry which helped me.

Summary on how to resolve this is as follows:

There seems to be a network adapter definition in the registry which is incorrectly referenced. In order to find this you need to use the Process Monitor tool and filter on the registery changes only and you will see a lot of entries like:

RegOpenKey HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters\{0751F0D9-4F38-4FCB-8EA8-2E05F05FC711} SUCCESS Desired Access: Read

What you now need to do is to get the GUID of the adapter, in the example above it is:
0751F0D9-4F38-4FCB-8EA8-2E05F05FC711

and use the registry editor and navigate to the following path:

HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters\{0751F0D9-4F38-4FCB-8EA8-2E05F05FC711}

and remove this entry. The moment I removed it from the registry, my issue was solved.

Note: If you are more careful it would be better to create a backup of your registry and/or create a restore point.

It seems that the adapter was an vmware adapter (I do have vmware installed), and for some reason it got corrupted. I didnt test vmware yet, so I dont know what the impact of this would be on vmware.

Probably another solution would be to uninstall vmware.

Tuesday, December 23, 2008

Future of Windows

As Microsoft is working on its hype of Windows 7, after the unsuccessful release of Vista, the question comes up what the future of Windows will be. You probably have seen some screen shots of how Windows 7 will look like. There are some pretty cool UI elements but will this help Microsoft on making Windows 7 a success? Time will tell, however what Microsoft should be focusing on (and probably is), is the future of the OS.

In order to understand what the future of the OS and Windows will be, we will need to look at the history of the (Microsoft) OS and look back how it has evolved. It's not up to me give you a history lesson, however my intention is to explain how I have seen it evolve.

When I first starting with computers (the commodore and apple ][ era), the OS was actually a tool to make use of the hardware and start applications. The most famous OS was actually DOS and as the name mentions it was a DISK Operation System. It was really low level and user unfriendly (that is why tools like Norton Commander, etc existed).
As the computers became more powerfull, Windows 3.x was launched, which actually kicked off the PC market. The power of the graphic user interface in combination with the support for old DOS applications and the ability to "multi"-task made it popular. The multitasking (which was actually the ability to switch between running applications) also introduced many people to the clipboard and the famous control-c and control-v key combination. From a developers perspective, there was now uniformity on controls, application interface, hardware independency which was now all taken care of by the Windows OS. Remember the time in DOS when each program had its own graphic driver (EGA/VGA) and printer driver (HP codes, etc). Now these days were gone and applications became uniform and easy to develop (and to use). A big boom on software came to the market and Windows became the standard.
Windows 3.11 added the network support which allowed the users to connect to each other (and connect to internet).

Windows 3.x still felt like a shell on DOS and DOS was still very important for fine tuning your system (autoexec.bat and config.sys files). The come of Windows 95 and 32 bits processors killed the DOS era. With Windows 95, Microsoft delivered a true graphic OS which was not an addon to an existing lower level (D)OS. In combination with developments like Internet and Windows NT Server, it ruled the OS market until Windows XP.

Windows 98 and ME felt like minor upgrades without real improvements and these even felt less stable. Personally, my home desktop has been on 95 until XP was released (in the meantime my business computer was Windows NT/2000 workstation).

Windows XP, is still the ruling OS because it does what the users want: Boot quickly, best hardware and application support, connect and surf the internet.

So if we need to summarize what happened with the OS:
  • Start computer, start applications and locally store data (DOS)
  • Easier user interface and switching applications (Windows 3.0)
  • Network connectivity, allowing easily sharing of data (Windows 3.11)
  • Multitasking and a true new interface with working with computers. End of DOS. (Windows 95)
  • Improvement of user experience (multimedia/video/gaming) in combination with new hardware and server systems (Windows XP)
As we can conclude from the above list, with each step there was an essential improvement and need for an OS update. If we look at the Vista situation, there was no trigger for the Windows community to start using Vista. Besides that it had issues with existing hardware, had high hardware requirements, was incompatible with business critical software and probably because of the reasons mentioned earlier, it was slower (compared to XP). The improvement Vista brought (like better security, fancy user interface effects like aero) was not enough to convince the majority of XP users to switch to Vista. Actually there is nothing XP can't do what Vista can't do (even all the cool gimmicks).

Having looked backed at the past, we also now have to look to the current situation and the future to try to vision what will happen to Windows. What is happening is that more and more people are switching to Windows alternatives, like Mac OSX and Ubuntu. There are a couple of reasons for this, but I think the most important reason is the independancy on the OS and OS specific applications. If we look at the average user and try to summarize what the main activities are, we will probably get the following list, from most to less time spent:
  • Surfing internet
  • Communication: email, instant messaging and voip
  • Gaming
  • Store and organize digital media like photo and video (and share them)
  • Write documents (personal use or blogging)
  • Easy calculations (based on spreatsheets)
  • Watch media (movies, tv series, etc)
Personally, I have to say that, if I have no internet available on the computer, the machine feels dead and there is no trigger to use it. Having a browser and internet almost allows all the above to be accomplished (except Gaming, while the internet connectivity is very important though). So as long as we have a good browser and a machine which allows us to do the above, most people really don't care about the OS anymore. I have been using Ubuntu and Mac OSX recently and to be honest, i didn't miss anything (especially on Ubuntu). In the future when the connection speeds and the html techniques will become better and extended, almost all we need or will use will be running in the are going to be will be on the browser.

Coming back to the actually subject: the future of Windows. I truly believe that Microsoft should focus on 4 items (besides the obvious like networking, etc):
  • Hardware support, allow the hardware developers to easily create drivers for the OS
  • Speed, extreme fast booting without any bloat and a very reactive system
  • Low level speedy graphics (directx on the OS level)
Besides this they should provide the OS with the fastest HTML/javascript rendering engine.
If Microsoft can achieve this, they will regain and keep their dominance in the OS market, otherwise I think they will loose the OS battle in the long term.