I have downloaded minecraft on my windows vista x64 computer but I when I click to run it and tried to log in a black screen appears. Because Im bloody brilliant i figured it might be a problem with my windows username which ironically is "Linux Plx!".

I created a new username just for minecraft called "linux" and it works well there. The problem is all my programs are already on "linux plx" and I don't want to use the new account just for Minecraft (not to mention my internet doesn't work there because my drivers are not installed there etc)

I wonder if there is any way to get my minecraft to work despite my windows username. It has to be some part of the program not recognizing the "!" in the path.

I tried renamiing my windows username but it doesn't really rename it (because windows doesn't really allow you to change the username when you look into it, for on the software level, the username is still "linux plx!")

How do I fix this problem?

  • 1
    Try this: Drop to the command prompt, execute SET USERNAME=LINUX and then navigate (on the command prompt) to the directory with minecraft and execute exe file. If this works you might be able to create a batch file for it. Nov 17, 2012 at 18:13
  • 2
    This would probably get more attention on SuperUser.
    – user28379
    Nov 18, 2012 at 1:46

2 Answers 2


Assuming you are running Windows Vista/7. The procedure would work for other versions of Windows but the PATHs will be different.

  • Create a folder named C:\Users\Public\Minecraft
  • Download the Minecraft.exe file and save it into that folder
  • Create a batch file named start-minecraft.bat (or whatever you want) and save it on your desktop or wherever you want to click to start Minecraft
  • The contents of the batch file should be


@echo off
:: set the app data to be a path that doesn't break minecraft
set APPDATA=%PUBLIC%\Minecraft
:: start up minecraft

Basically we just need to set the APPDATA variable to a directory that Minecraft will consider to be valid.

P.S. This same procedure can be used to keep multilpe different versions of Minecraft installed. Just create a different folder for each version, and update the APPDATA variable to reflect that.

  • had to change the path to C:\Users\Public\Minecraft but it worked! THank you so much :D
    – Xitcod13
    Nov 17, 2012 at 20:27
  • @Xitcod13 That's because there was a missing % in the code. I fixed it, so it should work as-written now. Nov 18, 2012 at 4:32

You should probably send an error report somehow. All I know that you can do is wait for the minecraft update where you will be able to change your username. This is most likely not your computers fault, but you can play singleplayer by typeing in the wrong username and the wrong password and then pressing play offline. I had this probelm too, but sometimes I would just wait it out. After all, I did not have an ! in my username.

  • 7
    He's talking about his windows username not his minecraft username Nov 17, 2012 at 15:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .