Friday, April 29, 2011

iTunes not installing, invalid drive?

Well here's another technical issue for ya. As per the screenshot - you try to install iTunes and it says "Invalid drive: E:\" or F: or what have you. Usually happens when you install iTunes onto a portable hard drive, or something like that.


How you cheat it is, again, with the Command Prompt. So:
  1. Start -> Run -> "cmd"
  2. "subst e: %TEMP%" (where "e:" is whatever drive is causing the problem)
  3. Try installing again
That should solve it.
The more technical reason is:
  • Somewhere in the registry, it's told to look at E: drive for iTunes stuff
  • E: normally doesn't exist (portable hard drive & all)
  • So it gives an error
  • "subst" says "pretend that e: is this directory (usually C:\Temp)"
  • Cheated!

Obviously, plugging in that portable hard drive and installing would be the easiest way to do it.

Now I think of it.

Bleh.

Labels:

Thursday, April 28, 2011

Removing autorun.inf folder from your Pendrive

So I found out that I had this autorun.inf folder in my Pendrive, which occasionally caused problems on my colleagues' PCs (it's created by viruses / virii - SO KEEP YOUR ANTI-VIRUS UP TO DATE!).

Being a PC geek, I had to do something about it. So I Googled around and found the following steps:
  1. Start -> Run
  2. "cmd"
  3. In the Command Prompt window: "F:" (assuming "F" is your Pendrive... drive)
  4. "attrib -r -s -h autorun.inf"
  5. "ren \\.\f:\autorun.inf\con. dummy"
  6. "ren \\.\f:\autorun.inf\nul.protected dummy1"
  7. rd autorun.inf /s /q
That'll do it. You'll have to type stuff into the Command Prompt exactly as quoted above, otherwise it'll give you an error. Here's a screenshot of me puttering about:
(you weren't expecting a picture of me typing into the keyboard, were you?!?)

If you're not comfortable with using the Command Prompt, here's what you do:
  1. Copy all the important files off your PenDrive
  2. Format it
  3. Copy the files back in
  4. Update your damn anti-virus

Wahey.

Labels: