4.6 Windows System Part 3
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
Already have an account? Sign In »
5 hours 21 minutes
All right. Hello And welcome to command line basics in this video, Brannock over. Windows System commands three. I'm Christopher Heller, and this begin
start learning objectives for this video. We're allowing the f Sutil command understand the S f C command and learned the cheque. Discontent
Pre assessment. The chest check. This command can be used to potentially repair a hard drive. Is this true or false?
Answer is a true the check. This command can be used to inspect file sectors of a hard drive and potentially help repair them in order to bring that hard drive back to working state.
This is something that I used very often as a system administrator, and I was able to help save a lot of files for specific people.
All right, we're gonna start with the f sutil these air file system utilities. This is a very expansive tool for the Windows command line, and it will allow you to look at NT. If that's quotas, you can see how to repair. You know, specific parts of the file system.
You can also look at the U. S. N or the uniforms. Sequence number four, the NT F s a Journal
and with the anti if s journal is is as changes are made to the file system, it keeps a running log of these changes to the disc. That way, the file system can look and make sure that before the system shuts down and makes all these
validations and the changes toothy file system on the hard drive,
we can also change the dirty bit as well. Using F S u till now with the dirty *** is is if the's systems shut off in a non graceful manner where the power it was just pulled completely or something crazy went on and got a blue screen,
then the dirty bit would be set on the anti if s system. And this says, Hey, the system did not shut down properly last time, so you may need to check it in order for it to work.
So let's pull up my command prompt
and let's take a look at f sutil
slash question Mark.
It looks like that is not a valid parameter. So it looks like we have a whole bunch of different information that we can do.
We could look a quota repair. He was sent in volume management. So a lot of useful information. And this is definitely more of a system administrator tool than a pen testing tool
was that s f c. It's his system filed. Check now, What this does is it searches the protected system files for Windows, the operating system files, and it can help recover any files that are corrupted or not working properly.
This is very useful. If you're operating system is not working properly, we can use the S S C. It'll run through all of these protected system files and search for any that either don't have the correct hash or aren't healthy in that kind of Windows aspect.
And I'll help replace them and hopefully working a little better.
So this is a very useful command that I highly recommend from the Windows administrators side toe help troubleshoot any issues that you or user may be having.
We have the check this command, just check it disc,
and this is a used to validate the actual sectors on the desk instead of looking at the final system. And it does attempt to repair the sector if you ask it to. This is a very useful command to use in the recovery mode of four windows. If the system did not brute properly, we can go into the safe vote.
You can run the check, this command
and we can also ask it, Hey, I want you to look through all these sectors, and if you see something that doesn't look right, I want you to try and repair it the best you can. And like I was saying at the beginning of this video, I've used this command a lot to help save data for specific users.
And these air bigger, more important users for my network, where they had some very important data than I needed to recover. And I was able to use the Check Dis command to properly boot back into their system. We could copy those files and give them back ups. So it's very useful way to kind of hopefully help save the day.
If you got something crazy going on for a system,
let's give a quick demonstration of that as well.
New chick disc slash question mark.
We have a lot of really good switches for us. It's well where we don't like it either specific volumes or we could look at the file names as well.
And this is the slash are where a little, uh, locate the bad sectors and then recover readable information so very useful on the slash f fixes the errors on the discus. Well,
so highly recommend using this. If you're having difficulty with a computer booting properly, this may save you and ah, looking like a real hero to your user.
All right, suppose assessment Which command is used to validate and repair Windows operating system files? Is it a f Sutil
be checked disc See Recovery mode or D S S. C.
The answer is D S F C system file check. The big difference between this and checked is is that the SFC is specifically for the Windows operating system files out for the rest of the desk. So is a very useful command in order to use to help repair a window system that may not be functioning properly.
The recovery mode is a ah mode out run all of these different commands, but it doesn't necessarily validate and repair this files by themselves. The check this command could work, but it's not the specific purpose. Where has the sea command its whole purpose specifically for the windows. Oh, West Files
in the f Sutil.
He's used to kind of look through the final system, but not necessarily help repair it as well as the other two commands.
All right, so in this video we learned the f Sutil command. Learn the S f C command and we learned about the check this command how we can use thes for our advantage and I hope to see you in the next video.