Question: So, I've been using the new(ish) Bash on Ubuntu on Windows (WSL) for a while now and all has been top-notch, until yesterday. 

I git-pushed from Bash by accident, so it asked me for my repo-destination account details like normal. I decided to ignore this, terminate Bash and try to just use powershell instead (can't ever remember passwords!). Terminating Bash however caused the shell to freeze. I forced closed and restarted my comp (I've had to force close and restart several times before for various reasons and everything was fine).

After boot up, I just tried to check if Bash was working again, but it wasn't. It just failed to start with no error message. For example:

```
PS C:\WINDOWS\system32> bash
PS C:\WINDOWS\system32>

```

Has anyone else had a similar situation/knows how to help?

EDIT: Only solved through reinstalling bash, using

```
    lxrun /uninstall /full

```

then 

```
    lxrun /install 

```

Answer: 
The solutions listed also did not work for me. I found a solution [here](https://github.com/Microsoft/WSL/issues/849#issuecomment-252053937).

Essentially, navigate to `Control Panel > System > Advanced System Settings > Advanced > Settings > Advanced > Virtual memory, Change ...`, and set a Custom size for the paging file size: 800 min and 1024 max. Restarted, and the command prompt came back.
What worked for me was to disable and enable WSL feature from control panel:

1. Control Panel --> Programs and Features --> Turn Windows Feature on or off
2. Uncheck "Windows Subsystem for Linux"
3. Uninstall Ubuntu from Windows
4. Restart
5. In (1), check "Windows Subsystem for Linux"
6. Install Ubuntu
7. Success!