Skip to content

Instantly share code, notes, and snippets.

@yu-hant
Last active April 25, 2025 10:01
Show Gist options
  • Save yu-hant/daa236e6881a5ee6fbdf861e05884b91 to your computer and use it in GitHub Desktop.
Save yu-hant/daa236e6881a5ee6fbdf861e05884b91 to your computer and use it in GitHub Desktop.
Easily Restart ZeroTier Service

Easily Restart ZeroTier Service

Warning

You need to run this script with administrator permission, otherwise this script won't work.

Tip

Creating shortcut make your life easier. (Shortcut can set to auto run with administrator permission

C:\Windows\System32\cmd.exe /c C:\Windows\System32\sc.exe stop zerotieroneservice || sc.exe start zerotieroneservice || pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment