Welcome to the Microsoft Q&A platform!
Based on your description, you are experiencing a common problem with the Netlogon service. The "Error 87: The parameter is incorrect" message can appear for a number of reasons, but you can try a few steps to resolve it:
- Make sure there are no typos in the command you use to start the service. Even a small mistake can cause this error.
- Run System File Checker (SFC):
- Open a command prompt as an administrator.
- Type sfc /scannow and press Enter.
- Wait for the scan to complete and then restart your computer.
- Check service dependencies:
- Open the Registry Editor (regedit).
- Navigate to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Netlogon/.
- Double-click DependOnService and make sure it contains LanmanServer and LanmanWorkstation.
- Reinstall the Client for Microsoft Networks:
- Go to Network and Sharing Center.
- Click your network connection and then click Properties.
- Uninstall and then reinstall the Client for Microsoft Networks.
- Perform a clean boot:
- Open System Configuration (msconfig).
- Under the Services tab, check Hide all Microsoft services and click Disable all.
- Restart the computer and try to start the Netlogon service again.
Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.
Best,
Jake Zhang