title: Change password on local service account
body: <p>I am in dire need of some scripting help. Due to an unfortunate mistake I made when trying to deploy <strong>PowerShell Remoting</strong> using <strong>GPO</strong> in our organization,  the <strong>WinRM</strong> service on our client workstations (correctly) logs on using the "Network Service" local account , but unfortunately it uses a password (which should be blank by default).</p>
  
  <p>Is there a script that changes the password to blank on the <strong>(WinRM)</strong> service?</p>
  
  <p>This is what I would like to achieve on our client workstations</p>
  
  <p>Service name: <strong>WinRM</strong></p>
  
  <p>Startup Type: <strong>Automatic</strong></p>
  
  <p>This account: <strong>Network Service</strong></p>
  
  <p>Password: <strong>Blank</strong> (No Password)  Unfortunately right now it is set to use a password and the service will not start up.</p>
  
  <p>I would like a script that could either be run as a startup script or run as a scheduled task to wipe out the password on the <strong>WinRM</strong> service on my workstations. I cannot use powershell as WinRM needs to run for PSRemoting. Any help will be appreciated.</p>