Author Archives: amida168

Black Screen After Windows 7 Upgrade

We have been doing a lot of XP upgrades since January. One problem I encountered was with how the machine boots to a black screen after upgrading to Windows 7. There are quite a few articles on how to fix the problem. Here is a short list.

I have tried some of these suggestions, but they did not solve my problem. In the end, I replaced the video card, and I was able to get the machine to boot normally.

I ran into the same problem yesterday. However, I could not just replace the video card because this machine had a more powerful card for a certain program. I do not have a video card with similar specs as a replacement.

I tried to re-install the video card driver but to no effect. I tried to install the driver from the manufacturer’s web site; still, it did not work. In the end, I replaced it with a different card just to test. if It worked after the card was replaced. I then took the video card out and put the original video card in. To my surprise, the machine booted up just fine with the original card.

So, if you have this problem, besides trying out the suggestions in those articles, you can try to swap a different video card and then swap back to the original card and see if it works for you.

SeaTools DOS – Invalid Opcode Problem

I was working on a Dell Inspiron 1545 laptop. The computer crashed, and the OS was completely gone. I suspected it was a hard drive problem, so I ran Ultimate Boot CD and selected the SeaTools to test the hard drive. The SeaTools did not load at all, and I got the following error message: “Invalid Opcode at xxxx xxxx …”

I thought the problem might be because the version was an older version on the Ultimate Boot CD. I downloaded the latest version, and it did not help. I even downloaded the SeaTools from Seagate directly and made a USB stick with it. That did not work either; it produced the same error message.

Later, I learned that the problem was with the SATA operation mode. On this model, I had to set the SATA operation mode to ATA in order for the SeaTools to run. To change the settings, you need to enter the BIOS setup by entering F2 while the machine boots up. Note that the key to enter the BIOS setup might be different on your machine; consult the user manual for your computer for the correct key. Once in the BIOS setup, find the SATA operation and change it to ATA instead of AHCI. Save the changes and reboot. You should be able to run SeaTools now. Once you are done testing your hard drive, remember to enter the BIOS setup again and change the SATA operation mode back to AHCI. Otherwise, your computer may not boot at all.

Mac OS X Mavericks Network Issues

Some users reported networking issues on the latest Mac OS 10.9 Mavericks. I got this tip from my colleague, and it seems to fix the intermittent network problem.

The fix is to create or edit this configuration file /etc/sysctl.conf . Add or edit this line

net.link.ether.inet.arp_unicast_lim=0

If you are familiar with editing the configuration file using vi or emacs, this is all you need to know. If not, here are the step by step instructions:

  1. Open Terminal in Applications -> Utilities folder.
  2. Type this command to invoke pico editor. Enter your password to continue.
    sudo pico /etc/sysctl.conf
  3. Add or edit this line
    net.link.ether.inet.arp_unicast_lim=0
  4. Press Ctrl+o to save the file. Press enter for confirmation.
  5. Press Ctrl+x to exit out of the pico editor.
  6. Reboot the computer.

If you are interested in the details about this change, please see this thread for more info.

https://discussions.apple.com/message/23520695#23520695

How to Delete a Local User Using Command Line on Mac OS X

One user reported that she could not log on using her regular network account on a particular Mac computer. Her account worked on all other computers but not on this one computer. If we configured the login screen to list users, you could see that a local account by the the same name was listed. However, when we checked the System Preferences and tried to delete the account, the account was not there. We were therefore unable to delete the local user account.

This excellent post led me to resolve the problem. To search for a user, use this command.

/usr/bin/dscl . -search /Users name username

You can then use this command to delete the user.

sudo /usr/bin/dscl . -delete "/Users/username"

After I deleted this hidden local user account, my user could log on using her network account again.

How to Add a Classic Start Menu to Windows 2012 Server or Windows 8 without a 3rd Party Program

I helped a user set up a Windows 2012 server with Remote Desktop service enabled. The interface is similar to Windows 8, which is not appealing to most people. There are 3rd party programs to let you add the classic start menu to the taskbar. I later found out that you could actually add the classic start menu without any add-on programs. Here are the steps.

  1. Open File Explorer. Click on View and check Hidden items.
    w2012-start01
  2. Right click on taskbar and click on Toolbars -> New Toolbar
    w2012-start02
  3. Browse to this directory: c:\ProgramData\Microsoft\Windows\Start Menu\Programs and click on Select Folder.
    w2012-start03
  4. The menu appears to the right side of the taskbar. You can drag it and rearrange its position. Here is a screenshot of the final look.
    w2012-start04

When I first added this classic start menu to my desktop, I thought that the change was only temporary before Windows 2012 R2. I just upgraded the server to Windows 2012 R2. The start button is back, but the menu is still the metro style. I am quite disappointed about this, so I am keeping this classic start menu added to my desktop.

How to Copy Nandroid Backup to PC

It took me a while to figure out how to root my HTC One X phone from AT&T. After I finally got TWRP installed, I backed up the phone using TWRP. When I tried to connect the phone to my computer, I could not find those files using Windows Explorer. Even if I changed the view options to show hidden files, those files were still hidden.

Some posts in xdadevelopers forum suggested using adb shell to copy the files. You need to have the driver for your phone installed and USB debugging turned on. You also need to have these files available:

  • adb.exe
  • AdbWinApi.dll
  • AdbWinUsbApi.dll

You can find these files in Android SDK. I put all the files in this folder F:\Android. Here are the commands I used and the console output. The commands I typed are in bold.

F:\Android>adb shell
adb server is out of date.  killing...
* daemon started successfully *
10|shell@android:/ $ su
su
root@android:/ # chmod -R 777 /sdcard/TWRP
chmod -R 777 /sdcard/TWRP
root@android:/ # exit
exit
shell@android:/ $ exit
exit

F:\Android>adb pull /sdcard/TWRP f:\Android\TWRP-Backup
pull: building file list...
pull: /sdcard/TWRP/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/recovery.log -> f:\Android\TWRP-Backup/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/recovery.log
pull: /sdcard/TWRP/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/boot.emmc.win.md5 -> f:\Android\TWRP-Backup/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/boot.emmc.win.md5
pull: /sdcard/TWRP/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/boot.emmc.win -> f:\Android\TWRP-Backup/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/boot.emmc.win
pull: /sdcard/TWRP/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/data.ext4.win.md5 -> f:\Android\TWRP-Backup/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/data.ext4.win.md5
pull: /sdcard/TWRP/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/data.ext4.win -> f:\Android\TWRP-Backup/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/data.ext4.win
pull: /sdcard/TWRP/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/system.ext4.win.md5 -> f:\Android\TWRP-Backup/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/system.ext4.win.md5
pull: /sdcard/TWRP/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/system.ext4.win ->f:\Android\TWRP-Backup/BACKUPS/HT2C5W300898/2013-09-12--10-23-37/system.ext4.win

pull: /sdcard/TWRP/.twrps -> f:\Android\TWRP-Backup/.twrps
8 files pulled. 0 files skipped.
6441 KB/s (1356939894 bytes in 205.725s)

The files were copied to the F:\Android\TWRP-Backup folder. Change the path in the command accordingly if you want to specify a different folder.