Benutzer-Werkzeuge

Webseiten-Werkzeuge


commands-windows

Sammlung nützlicher Befehle

Windows Commands

show all environment variables

SET | more

register/unregister a Windows Service

## register service "My Custom Service" with manual starting
sc create "My Custom Service" binPath= C:\someDirectory\some-service.exe
## register service "My Custom Service" with automatic starting (on boot)
sc create "My Custom Service" binPath= C:\someDirectory\some-service.exe start= auto
## unregister service "My Custom Service" 
sc delete "My Custom Service"

restart a Windows Service

net stop "My Custom Service"
net start "My Custom Service"

open an URL

start "" "ldap://[2001:db8::7]/c=GB?objectClass?one"

send the string “foo bar” to a named pipe

echo foo bar >\\.\pipe\myCustomNamedPipe

system integrity check

flush DNS cache

ipconfig /flushdns

check Windows Activation status

slmgr /xpr

show seconds in task bar clock

reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowSecondsInSystemClock /t REG_DWORD /d 1
taskkill /F /IM explorer.exe & start explorer
Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
commands-windows.txt · Zuletzt geändert: 2020/03/31 01:37 von alex