Windows Check Disk

Growing up on Macintosh Computers (1988 was my first computer – a Macintosh SE with a whopping 8MHz, 9″ B&W screen, 20MB HD, and 1MB RAM), my knowledge of some very basic Windows operations is sometimes lacking. Moving from the Mac to a linux world probably didn’t help much either. Hey, at least I started to learn what IRQ’s were.

I had no idea how to use the DOS command prompts to do what I wanted. I was used to the linux style commands (who knew that dir was the same as ls?). I was also used to the fact that the Mac had no utilities to defrag, clean up, or otherwise alter data. The Mac just worked.

Windows, however, sometimes needs a gentle (read “harsh”) push to do what I want it to do. This is where my love of the command line and my necessity to Windows comes into play.

We all know that Windows 98 and ME forced you to run the Check Disk utility on startup if you shutdown the computer improperly. Probably a good 99% of the time I would bypass this check as I already knew the issue. That and I’m impatient.

So without further ado, here’s the command to run check disk:
Start >> Run >> CMD
chkdsk This will run Check Disk in read-only mode and will not repair any issues it finds
chkdsk C:/f This will run Check Disk in forced repair mode, but it will not check for bad sectors on the HD
chkdsk C:/r This will run Check Disk in repair mode, locate bad sectors, and recover readable information

With all that out of the way – I’m thinking about moving this site to a new one. The only problem with that is the fact that google has this site already cached for searching. We’ll think about it.

***EDIT***
chkdsk c: /f /r will do the same as both of the commands. This will scandisk your entire system – ie it’ll scan for bad sectors etc.

MCE Remote on XBMC

In case you haven’t noticed, I’m on an XBMC bender. I recently setup an older system as a file server, put a crap load of storage in it, and threw some movie ISOs on there. Then I installed XBMC on my main rig. The rest is history. I was fine with the wireless keyboard and mouse, but The Fiance says we must use a remote control.

My lucky day happened last week: woot had a woot-off AND they had some MCE remotes on sale. I bought two. They’re some crappy Pinnacle ones, but at newegg they run almost $40 and I got both with shipping for less than $35.

Trying to get it to work was another issue. Out of the box Vista will recognize this remote, but XBMC wouldn’t hear anything. Works great on Windows Media Center though. So I ended up trying a program called LMRemoteKeyMap. Pretty nifty, but I didn’t feel like learning all about xml, codes, remotes, and commands. I felt like being lazy.

So then I ended up with another program called IRServer Suite. Now this one worked out of the box. Every function works as advertised. The only change I made was to get the giant green button to act as the Windows key (so I can press start). Others have made it automatically open up XBMC, but for now I just wanted start to work.

Basically you’ll just open the Translator program and follow along to have it automatically do your work for you. See how lazy I’m being?

I might include some screen shots eventually.

Virus/Trojan Alerts

I usually don’t do this: if you get infected by a virus/trojan/adware etc it’s almost 100% YOUR FAULT. No way around that – you probably clicked on something and installed it. Just be safe.

But since a lot of phishing sites/bad people are getting rather clever with new sites…

Here’s what is hitting work now and in the past:
Bank alerts – Subject “Bank Of America AIert: OnIine Access Suspension Message” Link to .html internet page for phishing scam.
eCard – Subject “You have received an Greeting eCard”, Filename “ecard.zip”
Account suspension – Subject “Your internet access is going to get suspended”, Filename “user-EA49943X-activities.zip”

It’s never good practice to open zip files from any source. Some problems arise when the ecard is coming from a friend or family member, but those will never be in .zip format.

Use virus protection – a standard consumer firewall (either built-in on your wireless router or a software piece such as “zone alarm”) will NOT protect you from downloading a virus. That is a common misconception.

Test SMTP Using Telnet

I’ve been using this more and more and have finally memorized most (if not all) of it. But this is for those of us who don’t really like to remember useless information.

Start -> Run -> CMD
telnet
open mail.mailserver.tld 25
At this point the server should respond with a 220 mail.mailserver.tld ESMTP Mail Service.
ehlo test.com
The server then should respond with 250 mail.mailserver.tld along with all the supported features of the mail server
mail from:tester@test.com
250 Sender OK
rcpt to: admin@test.com
At this point, the server should say 554 Relay access denied. This means your server is not an open relay.
rcpt to: actualemailaddress@mailserver.tld
250 Recipient OK
data
354 Start Mail input; end with CRLF.CRLF
subject: subjecthere
You’ll have to hit enter twice after the subject, then go on and type the body.
body here.
Note the . at the end – you’ll have to type a return and another . to finish.
Then there should be a server response 250 Queued mail for delivery. You can quit now.
quit

XBMC Keyboard Controls

Since my memory isn’t what it used to be (they say the memory is the first to go), I have decided to put down the keyboard controls for XBMC. This is for DVD playback. Long story short:
I have a server with a ton of ISO’s of movies
I have a decent computer hooked up to
A very nice HD TV via DVI-HDMI cables
XMBC allows me to play any movie I want, whenever I want.

x – stops the movie, returns to movie list
s – brings up shutdown window
p – pause / play
space bar – pause / play
r – rewind
f – fast forward
up arrow – next chapter
down arrow – previous chapter
right arrow – fast forward 30 seconds
left arrow – rewind 30 seconds
t – show title and real life time
i – info on data stream
o – status on chapter number and time
s – subtitles on/off
m – menu

Rip PAL DVD, Convert to NTSC

The people I work with always seem to find ways to make me think, search, and try. Although, as of late, it’s become quite hard to “stump the IT person”.

Guy came over and had a foreign movie that he wanted a duplicate created. Foreign to me is anything outside of the US of A. PAL happens to be outside the US of A. This DVD was created in the US of A, but then banned. So this copy was converted to PAL. I want it back!

Before I get too far into things, this is for WINDOWS OS COMPUTERS! I know there are plenty of Linux applications out there to do the same things (or at a minimum “very similar things”), but since I work on Windows machines all day, I decided to make it easy on everyone. You have a *nix post you want up here? Send it to me.

So basically you’ll need a few things (besides the obvious):
DVD Ripper – any should do, I use DVDFab though
VOB Blanker – free program
DVD Shrink – another free program

1. Rip the Movie (not to ISO format)
2. Open VOB Blanker, search for the IFO file
3. In the middle of the screen, find the chart with your VOB file listed
4. Right-click on the VOB file and select Video Attrib
5. In the window that opens up, select NTSC instead of PAL (or the opposite if you need PAL instead. Do the math)
6. On the bottom of the main window press the giant PROCESS!! button.
7. After about 10 minutes, your movie should be finished. Burn the movie – I used DVD Shrink to do this

It tested fine so far, and I’m not aware of any complications. Let me know if this doesn’t work for you.

PS3 and Xbox360 Reset Video Settings

I haven’t had to deal with this yet, but knowing my luck.. well, we’ll just say it’s probably a good idea to write this down.

Xbox360 – To reset to 480i.

Remove any Discs from the drive
Turn off the console
Turn on the console using the Controller
Press and Hold the Y button
Press and Hold the Right Trigger

PS3 – To reset to 480i

Remove any Discs from the drive
Turn off the console
Press and Hold the Power button on the console
Wait for a second beep

That’ll probably help someone out.

Ramblings Of An IT Person