Difference between revisions of "Windows CLI"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) m (→GP Result) Tag: visualeditor |
Rafahsolis (talk | contribs) m Tag: visualeditor |
||
| Line 17: | Line 17: | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
gpresult /h c:\gpreport.html | gpresult /h c:\gpreport.html | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | == PsExec == | ||
| + | |||
| + | === Open System Shell === | ||
| + | <syntaxhighlight lang="text"> | ||
| + | PsExec.exe -s cmd.exe | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 15:45, 20 November 2019
Create User
net user username password /ADD
List groups
net localgroup
Add user to group
net localgroup group_name UserLoginName /add
Change user password
net user John pq12d*12@
To prompt for the password instead
net user John *
To change domain user account password
net user loginid * /domain
GP Result
gpresult /h c:\gpreport.html
PsExec
Open System Shell
PsExec.exe -s cmd.exe