Windows Account Related Commands Flashcards

Learn Account Related Commands used in the windows CLI

1
Q

cacls
C:>cacls dir1
C:>cacls dir1 /g sue:R
C:>cacls dir1 /p sue:N

A

Displays or modifies access control lists (ACLs) for directories and files
Displays ACL for C:\dir1 directory
Replace existing ACL with a single entry
Replace existing user access with a single entry
page 58

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

net accounts
net accounts /minpwlen:
net accounts/maxpwage:

A

Manage policy settings, such as account and password policies, on a local computer
set minimum password character length
sets maximum password age
page 58

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

net user
net user /add
net user /delete

A

Displays, modifies, or creates user accounts.
creates user account
deletes user account
page 58

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

net localgroup
net localgroup group /add
net localgroup group /delete

A

Displays, modifies, or creates group accounts
Creates a group account or adds a user account as a member
Deletes a group account or removes a user account as a member

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

runas /user:

A

Identifies a user account to execute a program

page 59

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

tasklist

A

Displays a list of processes currently executing

page 59

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

taskkill
taskkill /pid
taskkill /IM
taskkill /f

A
Kills one or more processes
Specifies PID of process to be killed
Specifies process by image name
Forcefully terminate the process
page 59
How well did you know this?
1
Not at all
2
3
4
5
Perfectly