From the course: CompTIA A+ Core 2 (220-1102) Cert Prep

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Command-line permissions

Command-line permissions

- You can do a lot with users and permissions from a command line. So in this episode, what I want to do is concentrate first on dealing with permissions, and then I want to talk about things like changing password and ownership. So first of all, let's take a look at changing NTFS permissions using a program called icacls. That's fun to say, isn't it? Now if you take a look right here on my D drive, you'll see I've got a folder called Timmy. And what I want to do is I want to give the Mike user account full control over that Timmy folder. So to do that, we just type in icacls, and then the folder or file I want to apply it to, and then I want to grant to the user, Mike, full control. So let's hit Enter. Ta-da! Icacls is wildly complicated, and interestingly enough, it's not on the A+ exam. So you're sitting there going, "Well, Mike, why did you just show me that?" Well, because you need to know it as a tech. What…

Contents