How to Reboot WSL (Windows subsystem Linux) in Windows 10

- Advertisment -
- Advertisement -

The Windows subsystem Linux is the additional feature that comes in the Windows 10 and allows users to run the Linux environment directly on the Windows without any Virtual machine. The users can easily enable this service from the control panel and after that by installing a Linux app from the Microsoft store can easily run Linux commands. (See: How to enable WSL and install Ubuntu).

As the Linux environment apps such as Ubuntu, Debian, OpenSuse or Kali do not support the Systemd that provides fundamental building blocks for a Linux operating system, we can’t use reboot or use the systemctl commands to manage the systemd services. So, in such case, if we want to restart windows subsystem for Linux Lxssmanager service, what to do? Here in this article, you will get the simple solution for that.

Method 1: Restart Lxssmanager service

  • Press Win Key + R
  • The Windows RUN box will open
  • Type services.msc and hit enter button.                              restarting lxssmanager
  • From the Services window search for a Windows Subsystem for Linux service called LxssManager.services find the lxssmanager
  • Right click on Lxssmanager service and select the option Restart. This will reboot/restart windows subsystem for Linux -WSL (Ubuntu, Debian, Kali, OpenSUSE etc). In the same way to shutdown or stop WSL select the STOP option.    Restart lxssmanager service windows 10

 

Method 2: Powershell to Restart LxssManager

If you don’t want to use the above step then simply use the command given below in PowerShell as Admin.

1. Right Click on the Windows 10 Start button.

2. Select the Windows PowerShell (Admin)

Windows powershell command to reboot windows subsystem linux

3. Type the below command and press the Enter button.

Get-Service LxssManager | Restart-Service

windows ubuntu subsystem restart

As soon as you use the above command restart the Lxssmanager service in windows services to restart the windows subsystem for Linux.

 

 

Sarbasish Basuhttps://www.how2shout.com/
From B.Tech (Hons.) Electronics & Instrumentation Engineer to Photography and Writing blogs; he ultimately has answers to everything. Oh, and he's also quite good in rapidly building a relationship and set up the trust; his articles are proof of that...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

How to install Ubuntu Cinnamon Remix 19.10 on Virtual box or PC

The Ubuntu distribution of Linux doesn’t need an introduction, and it is the favourite Linux distribution of many users,...

How to open 4 or more than 4 Windows Explorer locations on PC

When we use our computers running Windows, copying and moving files from one location to the other is something...

Top 5 Classic games that you should download on your Android mobile

Thanks to the powerful Android phones that we have in our hands in 2020, we can run a lot...

Tekken 7 Pro Tips for the Beginners to master the game

Tekken 7 game is considered as one of the most popular but very hard to master. As this is...
- Advertisement -

H1Z1 Mobile version game is about to launch

The developer has announced for H1Z1 Mobile Production: A piece of news came out form the Business Wire that...

Most misunderstood, or interchangeably used tech terms of the era

We are advancing very fast in the world of Technology and we keep seeing new peripherals and gadgets every...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you