Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Thursday, April 20, 2017

Stop code: NTFS file system

"Your PC ran into a problem and needs to restart."

Over and over again- the dreaded boot loop.

Here's how to fix it*. (The bad news is you'll need access to another Windows 10 computer, assuming you haven't already created a Windows 10 installation DVD or USB drive.)
  • Set the computer to boot from USB or DVD, depending on the media you created, either from the BIOS, or by tapping F8 while booting, which on this computer gave me boot medium options.
  • Boot from the Windows Media DVD or USB drive you created. 
  • Click on Repair your computer at the bottom left of the window. 
  • Click on Troubleshoot > Advanced Options > Command prompt. 
  • Type in "diskpart" and wait a few seconds. 
  • In Diskpart, enter "list vol". 
  • Look for the volume label of the main partition on the HD- it will be NTFS and many GB. On this computer it was E.
  • Type "exit" to get out of Diskpart. Run Chkdsk on the main partition. In this case it was "chkdsk e: /f"
Thanks to td512 at superuser for the info which helped me identify the correct drive letter to use.

* The root cause may be an interrupted power supply or a failing hard drive. In this case I suspect a faulty power cable. If disk errors are the result of a failing hard drive, the fix may be temporary.

Tuesday, October 20, 2015

How to update a Windows computer

I have recently had to update a couple of Windows computers that hadn't been updated for a while (Windows 7 & 8). There seems to be a bit of a knack required, so I thought I would share my experience and knowledge gained.

Step 1: turn on the computer and leave it for a couple of hours. You may see a notification that Windows is downloading updates. It will probably stall at %18 or a similar figure.

Step 2: Reboot the computer. You may see an option to restart and install updates or you may not. You will see notifications about updates being installed while shutting down and while restarting. This step could take 9-10 hours.

Step 3: Repeat steps 1 and 2. Yes, this could take another 9-10 hours.

Your computer is now up-to-date. Enjoy! (Until next week, then go back to step 1.)


Saturday, April 25, 2015

Toshiba C50D-B-120 Part 2 - UEFI dual boot with Windows 8.1

I read a lot about people having problems dual booting Debian with Windows, and so worried about how it would go on my new Toshiba C50D-B-120.

In fact the installation with the Jessie RC2 installation CD was very easy- I used the graphical install and after choosing to install on the available free space, I simply used the default options, except for having a separate /home directory. The CD installed GRUB in the UEFI partition and when I rebooted I had Debian Jessie and Windows in GRUB!

Of course, to free up some space, I had to resize the Windows C: partition. Here's what the drive looked like:


Source: technet.microsoft.com

I used

diskmgmt.msc

and clicking on the Windows partition gave me a Shrink option. It didn't let me shrink Windows as much as I would have wanted. There are partition managers that would have allowed me to move unmovable files in Windows and shrink the partition more, but I suspect I'm going to install again and use the whole disc for Debian assuming everything is working properly, which so far it is.

I also disabled Fast Startup in Windows as described in Option 1 here.

Secure Boot wasn't enabled in Boot options (F12 on this Toshiba), but disabling it is necessary for a UEFI install.

Now all I have to do is decide if I want to keep Windows. Windows 8 isn't too bad once you ignore the tiles and tablet-like apps and boot straight to the desktop (on a laptop at least).

But it's a pain as far as updates go. I had to look at a blue screen telling me that Windows was configuring and not to shut off the computer for half an hour today. This seems to be a typical and frequent event when shutting down or booting up.

About the only reason I can think of for keeping it is that Toshiba puts out BIOS updates in .exe form- I have installed one already- a very easy process from Windows, maybe not so easy from Linux.

However, everything seems to be working, and I've just downloaded the Debian Jessie RC3 CD, so a reinstall using the whole disc may be immanent.






Sunday, February 22, 2015

The Microsoft ecosystem

I've just been working on an old Windows Vista laptop which I was asked if I could fix. Apparently it had had problems with a virus and the owner couldn't get on to her online email.

Trying to boot the laptop only resulted in endless failed attempts by Windows to repair itself- the system was obviously broken. I managed to find a Vista repair disc, which fixed the boot problems. Microsoft of course doesn't make these discs available, and tries to take down any copies that appear on the web. You are apparently supposed to use the system recovery partition- and then spend many hours downloading all the updates and service packs that have accrued over the last decade.

Booting into Windows was just the beginning of my problems. The laptop was locked up with constant I/O on the hard drive and processes taking up most of the available memory and CPU.

I booted into Safe Mode and used the AVG removal tool to remove AVG, which was loading into memory but not working, and installed some updates which a web search suggested might be the reason svchost.exe was locking up the system after a normal boot- automatic update trying and failing to install updates.

After that, a fairly normal boot. Multiple malware scans found only one Adware file and a few PUPs. However, I noticed that the C: partition was almost full- over 30GB- and showing red. Vista seems to store user files in C:, so I imagined I'd find a huge collection of photos or MP3s taking up the space- but no, it seemed to be Windows cruft: packages of updates left after the installation of Service Packs.

The D: partition was almost empty, and a similar size to C:, so I thought I'd resize C: to give the system more room.

Now Windows Vista will let you shrink D:, but it won't expand C:, because it's a boot partition.

I came across a post on answers.microsoft.com which kindly suggest some free programs which would shrink the D: partition and extend the C: partition. I used the first one, and here's where the real trouble began.

I noticed an annoying pop-over add for System Mechanic which told me it was a Microsoft Trusted partner, and if I ran it's scan, I could save myself from endless system crashes. (Microsoft partners tell you that Windows is so rubbish it will keep on crashing unless you emply a third party to fix it?)

Well I ignored that and used the partition program from EaseUS to resize the partitions, and it did work really well. OK, I was only going to use it once, so thank you for making it available for free. Software developers have to make money, so seeing an advert seemed a reasonable price to pay for using a good bit of software.

You might think that if Windows is going to fill its partition with cruft, they might give you the tool to fix it, but they've been in trouble before for trying to monopolise the market, so maybe they decided to throw a few crumbs down the food chain.

The problem is that where there are crumbs, there are bottom feeders lurking.

When I tried to update a program on the computer, I found that the web browsers were showing pop-up advertisements and redirecting me to other sites.

An example of the most stupid adware that makes browsing the internet almost impossible: if you can get to the site you want to visit without being redirected, it is almost obscured by advertisements, and links never seem to take you to where you want to go.

A scan by MalwareBytes revealed Conduit, OpenCandy and Roll Around were the culprits. Getting rid of everything found seemed to fix Internet Explorer, but Chrome was still showing Roll Around adds in web searches and redirecting to unwanted sites.

AdwCleaner and ESET Online Scan found and removed more traces, but Chrome was still infected: evidently some sort of hidden extension. In the end, I had to uninstall Chrome and reinstall it to fix the problem.

EaseUS should be ashamed of themselves. They have a good product, which people try to use to fix a problem, but their way of getting a financial reward for their work leaves the users of their product virtually unable to use the internet, and very probably, like me, angry and frustrated, although unlike me, possibly not having the skills to remove the despicable adware they have installed.

There are ways to get paid for a supplying a product that don't involve abusing your users- asking for a donation or a purchase of a full product, or showing ads that don't inconvenience the user.

The sort of model that MalwareBytes and AdwCleaner and ESET use- at least the existence of bottom feeders provides food for these more salubrious eaters.

But that reminds me of what the guy who made available the Vista disc I used in the first step of fixing this laptop wrote to accompany it:
I strongly advise you to at least test the best operating system available TODAY, namely Linux MINT Xfce (try Linux Mint 17 Xfce, codename 'Qianna', for newer PC's with Windows 7/8 or Linux Mint 13 Xfce, codename 'Maya', for older PC's with XP or Vista): you will be pleasantly surprised how much better Mint is compared to Windows and it is FREE, FOREVER FREE [and you will be forever free not only from the expenses associated with Windows but also from all the angst, all the hassles, all the troubles, all the virii and all the spyware associated with Windows!].
I'm not a Mint user myself, but having just installed it on an old computer,I'm inclined to agree with him: if you have an old Vista computer and could do without all the hassle I have just described, give Mint a go!

The ecosystem is a lot nicer.

Thursday, January 3, 2013

Meanwhile, in Windows land...

"Vulnerability in Internet Explorer Could Allow Remote Code Execution."

"Microsoft is aware of targeted attacks that attempt to exploit this vulnerability through Internet Explorer 8."

Microsoft Security Advisory (2794220)

I noticed this story on KrebsonSecurity, which has more details of the nature of the targeted attack:
...this is another example of a “watering hole” attack, which involves the targeted compromise of legitimate websites thought to be of interest to or frequented by end users who belong to organizations that attackers wish to infiltrate.
Users of affected Windows software are advised to run along and get the fix. Off you go. Now.

Desktop Linux users can put the previous story in context.

Update: The fix has been bypassed. Windows users with a fully patched system are at risk.

Tuesday, November 6, 2012

Point-and- click Windows games on Linux

My daughter has been playing Putt Putt saves the Zoo, an old point-and-click Windows game, on Debian Wheezy. It's running in ScummVM, an efficient if inelegantly named way to, well, run point-and-click games on Linux.

System Restore on XP using Linux

I was given a laptop to try and fix: it wouldn't boot into Last Known Good or Safe Mode. What to try? A Blue Screen Of Death flashed up for a half second before the computer rebooted: fortunately one of the boot options was to disable automatic reboot so I could read the error message: the registry cannot load the hive.

A web search told me the registry files were corrupted, and I needed the system disks to repair an OEM install, but the laptop owner didn't have them.

I booted the laptop with a CrunchBang live USB, and with Google's help, found the location of the registry files. I wondered whether it would be possible to manually move over some working registry files from a System Restore point, but couldn't work out which ones I'd need. I had a hunch that somebody might know how to do it, and Google told me they did.

ICompute has a description of how to do it. Basically by taking _REGISTRY_MACHINE_SYSTEM and _REGISTRY_MACHINE_SOFTWARE from one of the _restore*** folders in System Volume Information and replacing the system and software files in the windows\system32\config folder.

The Ubunti forum has a post on this too, detailing some other registry files that can be restored in this way, but the method above worked for me.

The computer booted telling me I should do a file consistency check, which I accepted- after which XP booted normally. I ran Chkdsk and it found bad sectors on the old software registry file- not surprising as the the laptop had a failing power supply.

After that it was just a case of tracking down a virus causing constant hard disk access (thanks DrWeb CureIT!) and a long-overdue, and in fact very long defrag.

Ah, the joys of Windows: System Restore that doesn't work when you need it, BSODs that disappear after a micro second, 30% fragmentation on a half-full disk, and elusive viruses hiding in temp files!


Thursday, March 22, 2012

Windows games in Linux

My daughter is three and convinced she is Dora the Explorer. Not sure how as we don't even get Nickelodeon. I thought I'd try and find an old Dora the Explorer game and see if I could get it to work on Linux.
I looked for Wine in Debian Wheezy and found it's not in the repository. Apparently no one volunteered to maintain the package. Hunting down dependencies and compiling it for myself seemed like far too much trouble, so I had a look in Squeeze.
The version of Wine in Squeeze is old (1.0.1) and my game wouldn't run in it.
While looking into the absence of Wine in Wheezy and the age of the package in Squeeze, I came across PlayOnLinux which is an application designed to make playing Windows games with Wine on Linux easy. It installs its own more up-to-date version of Wine.
The version in the Debian repository is old and only uses Wine 1.3. My game wouldn't run in it. I decided to try installing the latest version, and was pleased to find there's a Debian repository.
The latest version of PlayOnLinux installs Wine 1.5, in which my game seems to run pretty smoothly


PlayOnLinux includes scripts for installing a variety of games and applications, including Microsoft Office and Internet Explorer 6.
I've installed Steam and want to try out Half Life. I tried it in Ubuntu years ago and Half Life ran less well on my current laptop with a 256MB video card than it did on my old laptop with a 16MB video card. It will be interesting to see how it runs under the latest version of Wine.
However, as my old laptop could certainly have run the Dora the Explorer game with too much trouble, and my current laptop only just copes, I think I may need a much more powerful machine to run Half Life in Wine as well as this machine did in Windows.

Note on using Wine in Debian: I was stumped at first as to how to install a Windows program in wine. The GUI way to do it is to launch winefile in a Terminal.  I think Ubuntu had this as an option in the Gnome menu, and it's easy to put it there in Debian from Main Menu.

Wednesday, February 22, 2012

Windows 8 logo looks like Windows 1 logo

Forbes has the details. The 80s seem to be back in fashion anyway: the 70s bar in town has been replaced by an 80s bar. The font from Windows 1 is more interesting, and the Window has more character: is that a Golden Section?

Sunday, September 13, 2009

Microsoft anti-Linux FUD

Microsoft doesn't want you to use open source software. And the way they get you not to use open source software is through FUD. The latest example can be found here, where MS is "indoctrinating" sales staff in the reasons customers wouldn't be happy with Linux.
Now it's perfectly true that Linux doesn't run Windows programs. If you really want to run MS Word, you'll need Windows; but if you use Open Office, you won't. Fair enough, customers should know this.
Linux doesn't run Windows games* (*Some will run in Wine, but the performance can be poor.) If customers want a games machine, they'll need Windows, fair enough, although I actually think a dedicated games console can be a better option- games take up huge amounts of disc space, require a powerful video card which can add the price of a games console to a PC, and if my experience with Half Life is anything to go by, can rip a HD to shreds with crashes while reading or writing to the HD leaving bad sectors.
Now we come to hardware. My printer, camera, MP3 player, wireless dongle and external hard drive all ran out of the box on Ubuntu Linux. I had to install some firmware for the scanner to work, but I'd've had to install a driver for it to work in Windows- in fact my printer doesn't work in Windows because I haven't installed the driver. Good manufactures support standards and Linux, and their hardware works in Linux. (HP is a shining example.) Verdict: FUD.
Finally, Internet Messaging. No, you can't get Window's Live Messenger on Linux. Yes, you can have IM with a multi-protocol IM client* like, in Ubuntu, Pidgin. (* Supports multiple accounts- MSN, Yahoo!, Google, ICQ etc.) No, Pidgin doesn't support video chat on MSN (and I don't know of any Linux IM client that does.) Linux does have Ekiga, a free video chat client, and Pidgin does support video chat on GMail, but I can see that it's not going to be convenient for a Windows users to get used to a new IM program, or a Linux user to video chat to a Windows user.
This is a big turn-off for prospective Linux users, or indeed, purchasers of Linux computers (netbooks, probably) who ask: where's Windows Messenger?
This is of course intentional: that's the way Microsoft works: get you used to their product so it's just too much effort to change.
Verdict:FUD. There's no reason to be locked in to Windows. There are alternatives to the Microsoft IM network.