ManyCodes.com – codes & scripts Get free programming codes and tutorials!

6Aug/090

How to Run as Administrator in Vista Command Line?

Recently I wanted to do some actions in Windows Vista command line prompt but with elevated access as an Administrator. You may need this access to do actions like creating symbolic links etc.

So, how to run as administrator in Vista command line?

The easiest way is to use the type cmd in the Vista Start Run box and use the keyboard shortcut Ctrl + Shift + Enter instead of just pressing Enter. This will open the Command Prompt in Administrator mode.

cmd in Vista

You can also right click cmd.exe and click Run as Administrator.

cmd as administrator in Vista

Command Prompt with Administrator access in Windows Vista.

Run Vista Command Prompt as Adminstrator

On the other hand, you can also activate Administrator account in Vista, so that you can login from welcome screen.

5Aug/093

Stop the Auto Play Pop Up When You Plug In Your iPhone or iPod Touch to a Windows XP Computer

Every single time I plug in my iPhone to my Windows XP computer I get a pop up window asking how I want to handle the images from the iPhone. The most annoying part of this is there is no way from that pop up to tell the computer that you don’t want to be asked every single time. The good news is that it is really easy to tell your computer you do not want to be asked every single time. Follow the instructions below to turn off the pop up every time you plug in your iPhone to your Windows XP computer.

iPhone Pop Up on Windows XP:

iPhone Camera Auto Play Pop Up

Windows XP: Disable Auto Play Pop Up for iPhone

  1. Plug In iPhone:First make sure your iPhone or iPod Touch is plugged into your computer and finished syncing with your iTunes.
  2. Open Control Panel:First open your control panl by clicking on the Start menu and selecting Control Panel from the pop up navigation. A view of the control panel is shown below.

    Windows XP Control Panel

  3. Open Scanners and Cameras: Now double click on the “Scanners and Cameras” link to open a list of the scanners and cameras currently connected to your computer.

    XP Control Panel: Scanners and Cameras

  4. iPhone Camera Properties: Right click on the iPhone in the list of Scanners and Cameras to display a menu as shown below.

    iPhone Camera Properties Menu

    Select Properties from the menu to open the iPhone camera properties configuration window as shown below.

    Windows XP: iPhone Camera Properties

  5. Modify iPhone Camera Events: Click on the Events tab in the iPhone camera properties configuration window as shown below.

    iPhone Camera Auto Play Event

    Select the “Take no action” radial and then click the Apply button to save. OK out of this configuration window and close the Control Panel.

  6. Verify No Pop Up: Now unplug your iPhone and plug it in again to trigger the synchronization process with iTunes. You should no longer receive a pop up from the Windows Auto Play feature.

Now you can plug your iPhone into your Windows XP computer without having to close out the Auto Play prompt every time.

5Aug/090

Get the BIOS Version for Windows XP Computer

Getting the BIOS version for a Windows XP PC is easy using the Registry Editor. You will need to start up the Registry Editor and then drill down into the Registry to locate your BIOS version.

  1. Start Windows Registry:Click the Windows Start button followed by Run. Type in “regedit” and click the OK button. This will launch the Windows Registry Editor.
  2. Drill Down to System: Now use the tree menu to expand the following items - HKEY_LOCAL_MACHINE >> HARDWARE >> System. Highlight System which will provide system hardware information.
  3. Read System Variable:There will be variables/settings in the right window once you have highlighted System in the tree menu. One of these items is SystemBiosVersion which will provide the details of your BIOS. Currently my BIOS reads as shown below in the image.

    Windows Registry - HKEY_LOCAL_MACHINE + HARDWARE + System

As you can see in the image above my current BIOS version is 1.10 A07 on a Dell computer. You should always check to see if a BIOS upgrade has been released by your PC manufacturer such as Dell or HP. Upgrading the BIOS can resolve issues with your computer.