diff --git a/content/en/docs/getting-started-guides/windows/_index.md b/content/en/docs/getting-started-guides/windows/_index.md index 71107fe827..5d0ca0d122 100644 --- a/content/en/docs/getting-started-guides/windows/_index.md +++ b/content/en/docs/getting-started-guides/windows/_index.md @@ -354,13 +354,13 @@ This means that you can now register them as Windows services via `sc` command. To create the service: ``` -PS > sc.exe create binPath= " --service " -CMD > sc create binPath= " --service " +PS > sc.exe create binPath= " --windows-service " +CMD > sc create binPath= " --windows-service " ``` Please note that if the arguments contain spaces, it must be escaped. Example: ``` -PS > sc.exe create kubelet binPath= "C:\kubelet.exe --service --hostname-override 'minion' " -CMD > sc create kubelet binPath= "C:\kubelet.exe --service --hostname-override 'minion' " +PS > sc.exe create kubelet binPath= "C:\kubelet.exe --windows-service --hostname-override 'minion' " +CMD > sc create kubelet binPath= "C:\kubelet.exe --windows-service --hostname-override 'minion' " ``` To start the service: ```