Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

Windows 7 Commands Every Administrator Should Know

Windows 7PC troubleshooting is becoming less common in larger organizations, but consultants and techs in smaller shops still have to get their hands dirty identifying and fixing desktop problems. Oftentimes, troubleshooting Windows 7 means delving into the command line. Here are 10 fundamental Windows 7 commands you might find helpful.

1: System File Checker

Malicious software will often attempt to replace core system files with modified versions in an effort to take control of the system. The System File Checker can be used to verify the integrity of the Windows system files. If any of the files are found to be missing or corrupt, they will be replaced. You can run the System File Checker by using this command:

sfc /scannow

2: File Signature Verification

One way to verify the integrity of a system is to make sure that all the system files are digitally signed. You can accomplish this with the File Signature Verification tool. This tool is launched from the command line but uses a GUI interface. It will tell you which system files are signed and which aren’t. As a rule, all the system files should be digitally signed, although some hardware vendors don’t sign driver files. The command used to launch the File Signature Verification tool is:

sigverif

3: Driverquery

Incorrect device drivers can lead to any number of system problems. If you want to see which drivers are installed on a Windows 7 system, you can do so by running the driverquery tool. This simple command-line tool provides information about each driver that is being used. The command is:

driverquery

If you need a bit more information, you can append the -v switch. Another option is to append the -si switch, which causes the tool to display signature information for the drivers. Here’s how they look:

driverquery -v

driverquery -si

4: Nslookup

The nslookup tool can help you to verify that DNS name resolution is working correctly. When you run nslookup against a host name, the tool will show you how the name was resolved, as well as which DNS server was used during the lookup. This tool can be extremely helpful when troubleshooting problems related to legacy DNS records that still exist but that are no longer correct.

To use this tool, just enter the nslookup command, followed by the name of the host you want to resolve. For example:

nslookup dc1.contoso.com

5: Ping

Ping is probably the simplest of all diagnostic commands. It’s used to verify basic TCP/IP connectivity to a network host. To use it, simply enter the command, followed by the name or IP address of the host you want to test. For example:

ping 192.168.1.1

Keep in mind that this command will work only if Internet Control Message Protocol (ICMP) traffic is allowed to pass between the two machines. If at any point a firewall is blocking ICMP traffic, the ping will fail.

6: Pathping

Ping does a good job of telling you whether two machines can communicate with one another over TCP/IP, but if a ping does fail, you won’t receive any information regarding the nature of the failure. This is where the pathping utility comes in.

Pathping is designed for environments in which one or more routers exist between hosts. It sends a series of packets to each router that’s in the path to the destination host in an effort to determine whether the router is performing slowly or dropping packets. At its simplest, the syntax for pathping is identical to that of the ping command (although there are some optional switches you can use). The command looks like this:

pathping 192.168.1.1

7: Ipconfig

The ipconfig command is used to view or modify a computer’s IP addresses. For example, if you wanted to view a Windows 7 system’s full IP configuration, you could use the following command:

ipconfig /all

Assuming that the system has acquired its IP address from a DHCP server, you can use the ipconfig command to release and then renew the IP address. Doing so involves using the following commands:

ipconfig /release

ipconfig /renew

Another handy thing you can do with ipconfig is flush the DNS resolver cache. This can be helpful when a system is resolving DNS addresses incorrectly. You can flush the DNS cache by using this command:

ipconfig /flushdns

8: Repair-bde

If a drive that is encrypted with BitLocker has problems, you can sometimes recover the data using a utility called repair-bde. To use this command, you will need a destination drive to which the recovered data can be written, as well as your BitLocker recovery key or recovery password. The basic syntax for this command is:

repair-bde -rk | rp

You must specify the source drive, the destination drive, and either the rk (recovery key) or the rp (recovery password) switch, along with the path to the recovery key or the recovery password. Here are two examples of how to use this utility:

repair-bde c: d: -rk e:\recovery.bek

repair-bde c: d: -rp 111111-111111-111111-111111-111111-111111

9: Tasklist

The tasklist command is designed to provide information about the tasks that are running on a Windows 7 system. At its most basic, you can enter the following command:

tasklist

The tasklist command has numerous optional switches, but there are a couple I want to mention. One is the -m switch, which causes tasklist to display all the DLL modules associated with a task. The other is the -svc switch, which lists the services that support each task. Here’s how they look:

tasklist -m

tasklist -svc

10: Taskkill

The taskkill command terminates a task, either by name (which is referred to as the image name) or by process ID. The syntax for this command is simple. You must follow the taskkill command with -pid (process ID) or -im (image name) and the name or process ID of the task that you want to terminate. Here are two examples of how this command works:

taskkill -pid 4104

taskkill -im iexplore.exe

Dual Booting Ubuntu on Your Windows 7 Ultrabook

Ubuntu is one of the best choices for a worry-free operating system. It is open source, and there are literally applications for everything you could ever want to do. Think of it like an iPhone without the need to pay for things. Also, there are no viruses to worry about. This is the number one reason to use Ubuntu over the standard Win7 interface. If you are thinking of purchasing a Windows 7 Ultrabook with a Newegg coupon or from your local Best Buy store, Ubuntu should be your very next move.

Once you have loaded your Ultrabook and connected to the Internet, you're ready to go. Follow these steps to break free from Win 7.

1. Log into Ubuntu website at http://www.ubuntu.com/

This is the only place to go to get the Ubuntu download. Ubuntu is completely free. If you have come across Ubuntu on a Warez or file sharing site that wants you to purchase access, don't do it. Get the safe Ubuntu download directly from the source.

2. Once you've made it to the Ubuntu site, click on the "Downloads" tag in the navigation bar at the top of the screen.


3. The next screen will give you the option to choose a server, desktop or cloud version. Choose the "Desktop Version" tab; it is the compatible version for Ultrabooks.

4. At the top of the page, you can choose either the 32-bit or 64-bit version. For the Ultrabook, choose the 64-bit version, then click the "Download Windows Installer."

5. Save the wubi.exe file directly to your desktop. It will come from the ubuntu.virginmedia.com site. If this isn't the path that comes up, abort the connection because you have been redirected to an unauthorized site.

6. Once the download has completed, click on the Ubuntu icon on the desktop and choose run.

7. The interface will open and allow you to choose the size of memory for your dual-boot -- you can max this out at 30 GB.

8. Also, choose a user name and password and then click install. Depending on the size of your memory allocation and the speed of your processor, this could take several minutes.

9. When the set-up wizard finishes reboot your Windows 7 Ultrabook.

10. The Ubuntu splash screen will load after the reboot. This is normal as it is finishing the installation. This is the only time the splash screen will come up after a reboot.

11. Each time you restart or reboot the computer you will have the choice to load the computer in Windows 7 or Ubuntu.

That's it, you're done. You now have one of the most cost effective, worry-free operating systems on the planet in one of the sleekest, lightest portable computing systems you can buy. It also isn't bogged down with trail ware or unnecessary background programs so it will load up fast. You'll never have to worry about viruses or your system not being compatible with existing hardware. The global team of experts, who build and maintain Ubuntu, update and test the system daily.

Free Windows 8 Beta Download (Consumer Preview)

windows-8.png
Windows 8 is the official name for the next version of Microsoft Windows, a series of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptops, netbooks, tablet PCs, and media center PCs. According to unofficial sources, the release date for Windows 8 has been set for October 2012, three years after the release of its predecessor, Windows 7. Windows 8's server counterpart, Windows Server 2012, is in development concurrently with Windows 8. The most recent officially released pre-release version is the Consumer Preview, which was released on February 29, 2012. An almost-complete Release Preview is scheduled for June 5, 2012.

Unlike Windows 7, which was intended to be a more focused, incremental upgrade to the Windows line, Windows 8 has been “reimagined from the chipset to the user experience” to connect more with the user. It features the Metro interface that is designed for touchscreen input similar to that in Windows Phone and on the Xbox 360. A version of Windows 8, called Windows RT, also adds support for the ARM processor architecture in addition to the previously supported microprocessors from Intel and AMD.

Downloading Windows 8 Beta

Windows setup (with tools to create an ISO or thumb drive)

http://windows.microsoft.com/en-US/windows-8/download

ISO image (use Disk Image burner or USB tool)

http://windows.microsoft.com/en-US/windows-8/iso