0% found this document useful (0 votes)
46 views2 pages

CMD Commands

This document provides commands for managing user accounts, permissions, services, scheduled tasks, and policies in Windows. Some key commands include: - Net user to manage user accounts, change passwords, and modify group permissions. - Icacls and sc config to manage permissions on folders and services. - Reg add to modify registry settings for policies, services, and remote access. - Schtasks to create, modify, and delete scheduled tasks to run scripts and programs on a schedule.

Uploaded by

hutsonerik8978
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views2 pages

CMD Commands

This document provides commands for managing user accounts, permissions, services, scheduled tasks, and policies in Windows. Some key commands include: - Net user to manage user accounts, change passwords, and modify group permissions. - Icacls and sc config to manage permissions on folders and services. - Reg add to modify registry settings for policies, services, and remote access. - Schtasks to create, modify, and delete scheduled tasks to run scripts and programs on a schedule.

Uploaded by

hutsonerik8978
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

net user "username" /active:no - enable/disable accounts

Net User - see list of usernames

Net user "username" - see details about username

Net user "username" "password" - change password for username

Net localgroup "administrators" "username" /delete - remove or enable user


priviledges for username and group

icacls "C:\bootdrv" /grant Users:(OI)(CI)F - grant full access for user group to
the given path

sc config winvnc4 start= disabled - configure service to be enabled/disabled

reg add
HKEY_LOCAL_MACHINE\SOFTW
ARE\ORL\WINVNC3 /v
Loopbackonly /t REG_DWORD /d
1 /f - fix loopback

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ /v


SoftwareSASGeneration /t reg_dword /d 1 /f - fixes vnc ctl alt del

�secedit�:
secedit /configure /db %temp%\temp.sdb /cfg yourcreated.inf - import local policy
settings through command line

sc.exe config "service name" obj= ".\ncrsvr" password= "Dayton1884" TYPE= own -
adds username/password to service remotely

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v


DisableOSUpgrade /t REG_DWORD /d 1 - Disable W10

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GWX /v DisableGWX /t


REG_DWORD /d 1 - Disable GWX W10 popup

schtasks /create /tn "GNDExport" /tr C:\GNDExport\GNDXfer14.bat /sc DAILY /mo 1 /st
"04:15:00" /ru SYSTEM /RL HIGHEST - Setup a Scheduled Task

schtasks /change /tn "GNDExport" /st "06:00" /ru SYSTEM /RL HIGHEST - Change
Scheduled task

net share bootdrv \unlimited

sc config "RalAdminHelper" obj= LocalSystem TYPE= own

icacls "C:\Program Files (x86)\NCRBackOffice" /grant Users:(OI)(CI)F

schtasks /delete /tn ContextSwitchTask /f - Delete tasks

schtasks /create /tn "EmpExport" /tr "C:\Program Files\MenuLink\EmpExport.bat" /sc


DAILY /mo 1 /st "02:45:00" /ru SYSTEM /RL HIGHEST
schtasks /create /tn "SchExport" /tr "C:\Program Files\MenuLink\SchExport.bat" /sc
DAILY /mo 1 /st "02:30:00" /ru SYSTEM /RL HIGHEST
schtasks /create /tn "PunchExport" /tr "C:\Program
Files\MenuLink\PunchExport.bat" /sc DAILY /mo 1 /st "02:55:00" /ru SYSTEM /RL
HIGHEST
schtasks /create /tn "EODImport" /tr "C:\Program Files\MenuLink\EODImport.bat" /sc
DAILY /mo 1 /st "05:25:00" /ru SYSTEM /RL HIGHEST

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy