[HOME]9:41 AM Nov 26, 2020

Hack A Desktop And Recover Pictures

Just a note: Hacking someone else's computer is not a crime if you have their permission.

A guy bought me his two old desktops and wanted me to check and see what pictures were on them and to save them on a flash drive or some DVDs. The first one, a Dell XP desktop, would not even boot up so I skipped it for the time being and went to the Acer. This was an Acer Aspire AXC-603-ER12 with Windows 8. It was unfortunately locked with an unknown password using a Microsoft account. Which means the password recovery CD/DVDs I had were not going to work.

I booted off a flash drive using a copy of Hiren's BootCD - www.hirensbootcd.org

I had to dig through the BIOS first to disable the secure boot option. It's still a bit tricky but I finally managed to boot from the flash drive and checked out the picture folder. One big problem. The picture folder was around 40GB in size. The only flash drive I had available was 4GB, and I didn't even enough DVDs to burn them off. Got some ordered from Amazon but it'll be a few weeks for I get them.

This computer also had an overheating issue even after I cleaned out the gunk from the CPU and Fan. I decided I need more control of the system, but not being able to bypass the password, I came across a procedure that would allow me to create another account on this computer. Since I was already booted from Hiren's I had some control over the files. To create a new account, I had to hunt down two files and rename them.

c:\windows\system32\utilman.exe
c:\windows\system32\cmd.exe

Utilman.exe is for Windows Utility Manager. You'll understand its importance later. I just highlighted it and pressed F2 to rename it. I just added .bak to the end of it - c:\windows\system32\utilman.exe.bak

Then cmd.exe the file for the command prompt. I made a backup copy of this one first. Then I renamed the original to utilman.exe.

So: c:\windows\system32\utilman.exe became c:\windows\system32\utilman.exe.bak
and c:\windows\system32\cmd.exe became c:\windows\system32\utilman.exe

So I then rebooted the computer and at the login screen. I clicked on the Utility Manager button, the one that looks something like a clock. This usually gives you a little window with options like using the Magnifier and On-Screen Keyboard. But since we just switched the CMD prompt file with the utility manager file, the command prompt opened instead with full administrative privileges. In other words, No password required.

So at the command prompt, it's time to add a new user. Type the following. You can replace the name owner as in my example with the account name you want.

net user owner /add

Then we need to give it administrative privileges. Again, replace the word owner with your own account name.

net localgroup administrators owner /add

While I was here, I tried to activate the administrator account, just in case the other didn't work. Type the following at the command prompt and hit enter:

net user administrator /active:yes

So I rebooted the computer. Now I got three accounts to choose from. The original owner account, the Administrator account and the one named owner. I tried the Administrator one first, and it still asked for a password but the owner one, no password set up, and I was in.

Now I had one big problem, 137 folders 11919 pictures at a size of 40GB. How do I squeeze it on a 4GB flash drive?

I copied them to my computer first. That was easy enough. It was just a matter of hooking the system up to my network and copy them over. I figured the best thing to do was to lower the size and or resolution of the pictures. Each picture was up to 4000 x something resolution (can't remember the exact numbers) and each picture was from 3 to 5 MB in size each.

I had to resize 11,919 pictures spread out over 137 folders. I needed some mass/bulk re-sizer and realized I already had one installed. It's called Image Resizer from www.bricelam.net/ImageResizer/ or as a part of Microsoft's Power toys from https://github.com/microsoft/PowerToys/releases/

Once downloaded and set up just select the picture or pictures you want. The right click on one and in the menu click on Resize pictures. Just a note, you can also rotate them left or right if they are on their sides.

In the window that pops up I just selected Medium (fits within 1366 x 768 pixels) and left the Ignore the orientation of pictures and the click on the Resize button. This creates a new copy of the picture and renames it with the word medium in brackets in its name. Then I deleted the originals, leaving just the smaller resized versions.

I did it for every folder until I had all the pictures reduced. The result, a picture folder at 40GB in size, was reduced to 3.57GB in size. Just right for the 4GB flash drive that I had.

As I noted originally, he bought me two computers to check. His second computer was a Dell with Windows XP. It would power up but it wouldn't boot up so I just took out the hard drive and hooked it up to my computer but it was just the same pictures that I just recovered from the previous one. Also you might want to switch the file names of the cmd.exe and utilman.exe back when completed.