Top 3 Useful Windows Commands for Desktop Support technicians

Windows 10 21H1

The Command Line

Most user don’t understand just how powerful the command line can be.  In tech, and also in my job I have to diagnose and troubleshoot several different types of issues.   I’m going to show you my top 3 commands that I use in Windows and why.  Not everything is straight forward but It will help  you understand why.   We’ll talk about these and why they are so useful and powerful.  Use these as you see feet but you will need to run the command line as Admin.   How to do that is simple, for most.

WINDOWS Key + S and type cmd but don’t hit enter.

Click on Run As administrator

Once you do that you will see the usual Command line windows appear.   We won’t go into detail about that but if you want to learn more about it.  There are several YouTube videos about it.  I’m not going to talk about those because other’s have but I will talk about the commands I use most often in my work.

Deployment Image Servicing and Management (DISM)

For any businesses that use their own images for windows or has a need to deploy Windows a certain this can be a handy little tool for when the image might need to be repair, or something might need to be added.    You can add and remove drivers to an offline image or you can do many different things to it.   However I will be talking about the repairing of the image because most of the time we have Hard drives that are mechanical and that can cause problems for the OS when the system get’s corrupt files or hard drive has bad sectors.   Each one of these scenarios can make it even harder for applications to work properly and that is why I use this with systems that have those types of hard drives.   My go to is always going to be this when I suspect the hard drive might be the cause of the issue.

DISM /Online /Cleanup-Image /RestoreHealth

You can run this command and see the progress but this isn’t the only command that helps with troublesome Hard drives.

System File Checker (SFC)

This is another good tool for those who might have issues with the system hard drive or even when you suspect something is corrupt.   I use this from time to time just like DISM for when there is something that isn’t right about the hard drive.   If you use this also with DISM you will see a noticeable improvement of your system response.   You will see that it will be quite handy for those times when you have to get data off the drive before it dies completely.

SFC /scannow

If you run this in command line and wait you will see if it finds bad files or it will tell you what it found.  It won’t be a very informative but it will help.

Check Disk Utility

The Windows Check Utility is the last one of the three that I most often. It helps to check sectors and to check the health of the system and also fixes most of the problematic issues of mechanical hard drives.  So when I says this it can be used on SSD and even NVME but it does his best job on hard drives that have spinning parts.   Most users don’t understand about the volatility of the mechanical hard drive.   So it is very useful to check the disk and make sure there are not bad sectors or fix bad area’s of the hard drive.  This one will need to be rebooted to allow it to be used to its fullest but it is a handy little command when you want to make double sure that you will be able to keep Windows running.

chkdsk [DRIVE] /f

You can tell it multiple drives or just the main drive which would be C: but be warned the bigger the HDD the longer it will take to scan it.  You will also need to reboot to have it do it’s job because it needs to un-mount the drive, if you choice to do the C: drive.   It has in the past helped me out in many different situations and that is why I use these three commands a lot for my job.

What are your favorite commands to use in command line or in Windows General.  I’d like to hear them and find out more useful commands that might help me in my job.   Why not leave a comment and let everyone know.

 

Use Your iPhone’s Internet Connection On Your Laptop

iphone-tether-head.png

It’s great that your iPhone has a data plan and a killer mobile browser, but when you’re sitting at the airport waiting to catch a plane with your laptop right next to you, wouldn’t it be nice to use your full-on desktop browser? Out of the box your iPhone won’t allow you to tether your EDGE data connection to another computer wirelessly, but with a little ingenuity on your part you’ll be browsing the net on your laptop through your iPhone’s data service in no time.

NOTE: You’re probably asking yourself: “Isn’t the EDGE data network that the iPhone uses SLOW?” Well, yes it is. But if you’re at all like me, sometimes a slow full-screen browsing session is better than slow browsing on the small screen.

I’ve only tested this method on my MacBook Pro, but since SSH is platform independent, this should be a workable solution on Windows, Mac, or Linux.

Hey they came up with a way to have internet anywhere you go! Check out the full story at Lifehacker.

Mimic Time Machine with rsync

Like the concept of Leopard’s Time Machine but aren’t running Leopard on your machine? The IMHO weblog steps through how to mimic the backup chops of Leopard using the rsync command line tool. By default rsync is Unix-only tool, but we’ve covered how to use rsync on Windows as well, so this method applies to pretty much everyone. And while you won’t get the stylish graphical interface of Leopard’s Time Machine, you will get incremental, full backups of your drive.

Top 10 Quicksilver Plug-ins

qs-header.png

Open source Mac utility Quicksilver isn’t just an application launcher—it’s a comprehensive keyboard interface. Launching applications and documents is just Quicksilver’s gateway drug: the more you get used to doing things with Quicksilver, the more things you want to do with it. Out of the box Quicksilver comes with the barest essentials, but once you add the right plug-ins that interact with menus, apps, documents, and settings, you can accomplish more and more complex tasks from that familiar three-paned prompt. After the jump, check out top 10 favorite Quicksilver plug-ins, and how to set them up.

Here something for the mac users, go check out the full article for details!!