Enable Workstation Service

To Enable workstation service >  sc config lanmanworkstation start= demand

In the above command you can use any of the options {boot, system, auto or demand} to enable the service.

To disable the service you need to run the following command.

sc config lanmanworkstation start= disabled

To stop workstation service > net stop workstation

To stop workstation service –>  net start workstation