Changed my account name folder with win7 and now sab crashes
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Changed my account name folder with win7 and now sab crashes
I needed to change my account name and profile folder for win7 and now everytime I got to startup Sabnzbd I get an, 'error occurred'. I have tried to uninstall/reinstall and still not fixed.
See error log below:
Traceback (most recent call last):
File "SABnzbd.py", line 1808, in <module>
File "SABnzbd.py", line 1077, in main
File "os.pyo", line 164, in makedirs
File "os.pyo", line 164, in makedirs
File "os.pyo", line 164, in makedirs
File "os.pyo", line 171, in makedirs
WindowsError: [Error 5] Access is denied: 'C:\\Users\\Computer-Expert-2'
I need to change the 'Computer-Expert-2' to the new profile name.
*Note I am not familiar with programming
See error log below:
Traceback (most recent call last):
File "SABnzbd.py", line 1808, in <module>
File "SABnzbd.py", line 1077, in main
File "os.pyo", line 164, in makedirs
File "os.pyo", line 164, in makedirs
File "os.pyo", line 164, in makedirs
File "os.pyo", line 171, in makedirs
WindowsError: [Error 5] Access is denied: 'C:\\Users\\Computer-Expert-2'
I need to change the 'Computer-Expert-2' to the new profile name.
*Note I am not familiar with programming
Re: Changed my account name folder with win7 and now sab cra
How did you change your account name?
In Windows it's not possible to change the base name (as used in in c:\users),
only the "fancy" name that shows in the login screen.
In Windows it's not possible to change the base name (as used in in c:\users),
only the "fancy" name that shows in the login screen.
Re: Changed my account name folder with win7 and now sab cra
shypike wrote:How did you change your account name?
In Windows it's not possible to change the base name (as used in in c:\users),
only the "fancy" name that shows in the login screen.
I had to edit the registry using a different admin account.
Re: Changed my account name folder with win7 and now sab cra
It does look like you didn't also adjust permissions.
Is the new name "Computer-Expert-2"?
Is the new name "Computer-Expert-2"?
Re: Changed my account name folder with win7 and now sab cra
No the new name is different, "Computer-Expert-2" is the old name.shypike wrote:It does look like you didn't also adjust permissions.
Is the new name "Computer-Expert-2"?
If I right click on sabnzbd.exe and run as admin it will open and just create a new folder in my users called, "Computer-Expert-2" with new App Data/local/sabnzbd.
What I would like for the program to do is link to the New profile name and retrieve the old App Data/local/sabnzbd stuff.
Basically sabnzbd wants to only open with "Computer-Expert-2" as the user and not the New profile name.
Thanks again for all the help by the way, really appreciate it.
Re: Changed my account name folder with win7 and now sab cra
How do you start SABnzbd?
Somehow it looks like the user name is hard-coded in the sabnzbd.ini file.
That's normally not case, unless you set that in Config->Folders.
Somehow it looks like the user name is hard-coded in the sabnzbd.ini file.
That's normally not case, unless you set that in Config->Folders.
Re: Changed my account name folder with win7 and now sab cra
I have start on start up or I use the short cut on my desktop, I even tried using the .exe straight from the folder and still get the same error occurred message. What .ini file is it pulling from, cause I did not see one in the main directory? I only saw it in new profile user folder and I changed the profile name call up already in their.shypike wrote:How do you start SABnzbd?
Somehow it looks like the user name is hard-coded in the sabnzbd.ini file.
That's normally not case, unless you set that in Config->Folders.
It has to be stored either in a .py file or in the registry?
Re: Changed my account name folder with win7 and now sab cra
The default location is this:
c:\Users\xxx\AppData\Local\sabnzbd\sabnzbd.ini
Check the user environment variables like:
APPDATA=C:\Users\xxx\AppData\Roaming
LOCALAPPDATA=C:\Users\xxx\AppData\Local
USERNAME=xxx
USERPROFILE=C:\Users\xxx
c:\Users\xxx\AppData\Local\sabnzbd\sabnzbd.ini
Check the user environment variables like:
APPDATA=C:\Users\xxx\AppData\Roaming
LOCALAPPDATA=C:\Users\xxx\AppData\Local
USERNAME=xxx
USERPROFILE=C:\Users\xxx
Re: Changed my account name folder with win7 and now sab cra
The thing is I already deleted the everything in the c:\Users\xxx\AppData\Local\sabnzbd\sabnzbd.ini folder the last time I unistalled (I used revo uninstaller and did a full uninstall). So if you look in my AppData\Local\ folder you will not find a sabnzbd folder at all.shypike wrote:The default location is this:
c:\Users\xxx\AppData\Local\sabnzbd\sabnzbd.ini
Check the user environment variables like:
APPDATA=C:\Users\xxx\AppData\Roaming
LOCALAPPDATA=C:\Users\xxx\AppData\Local
USERNAME=xxx
USERPROFILE=C:\Users\xxx
I think its these files that need to be changed, "SABnzbd.py" and "os.pyo" And I not know how to change or delete them?
Again this is the log from my SABnzbd.exe.log:
Traceback (most recent call last):
File "SABnzbd.py", line 1808, in <module>
File "SABnzbd.py", line 1077, in main
File "os.pyo", line 164, in makedirs
File "os.pyo", line 164, in makedirs
File "os.pyo", line 164, in makedirs
File "os.pyo", line 171, in makedirs
WindowsError: [Error 5] Access is denied: 'C:\\Users\\Computer-Expert-2'
Re: Changed my account name folder with win7 and now sab cra
SABnzbd uses the listed environment variables to locate the user profile.
If the variables have the wrong value, SABnzbd will be looking at the wrong location.
I still maintain that your account renaming isn't complete.
There is a work-around possible, but then you need to modify the shortcut used to start SABnzbd.
After the "c:\Program Files (x86)\SABnzbd\SABnzbd.exe" part, add -f c:\usenet
Where c:\usenet is the folder where SABnzbd will create its administration.
If the variables have the wrong value, SABnzbd will be looking at the wrong location.
I still maintain that your account renaming isn't complete.
There is a work-around possible, but then you need to modify the shortcut used to start SABnzbd.
After the "c:\Program Files (x86)\SABnzbd\SABnzbd.exe" part, add -f c:\usenet
Where c:\usenet is the folder where SABnzbd will create its administration.
Re: Changed my account name folder with win7 and now sab cra
Thank you so much for your help, I will continue to look into why my profile renaming is incomplete.shypike wrote:SABnzbd uses the listed environment variables to locate the user profile.
If the variables have the wrong value, SABnzbd will be looking at the wrong location.
I still maintain that your account renaming isn't complete.
There is a work-around possible, but then you need to modify the shortcut used to start SABnzbd.
After the "c:\Program Files (x86)\SABnzbd\SABnzbd.exe" part, add -f c:\usenet
Where c:\usenet is the folder where SABnzbd will create its administration.
The good news is, your work around worked and I am up add running again!
You are best and love this program!
Re: Changed my account name folder with win7 and now sab cra
I ran into the exact same problem as mentioned here.
Do you happen to have a solution to this problem, apart from the mentioned workaround?
Thanks in advance!
Do you happen to have a solution to this problem, apart from the mentioned workaround?
Thanks in advance!
Re: Changed my account name folder with win7 and now sab cra
Has anyone found a solution for this yet?
I've changed my windows user account too and I'm running into the exact same problem...
The workaround works but it doesn't solve the problem with file associations when opening nzb files.
I even uninstalled sabnzbd, including the user settings, cleaned the registry and rebooted before I installed it again but it is still searching for the old user directory.
My first thought was to check the the environment variables but nothing is pointing to the old path. I really have no clue from where sabnzbd is getting the path to the old user account.
I've changed my windows user account too and I'm running into the exact same problem...
The workaround works but it doesn't solve the problem with file associations when opening nzb files.
I even uninstalled sabnzbd, including the user settings, cleaned the registry and rebooted before I installed it again but it is still searching for the old user directory.
My first thought was to check the the environment variables but nothing is pointing to the old path. I really have no clue from where sabnzbd is getting the path to the old user account.
Re: Changed my account name folder with win7 and now sab cra
Try to search the entire registry for "SABnzbd". Remove all you find.
You'll need to use regedit for that.
You'll need to use regedit for that.
Re: Changed my account name folder with win7 and now sab cra
That did the trick. Searched the registry and replaced all occurances of the old username with the new one (only where it was necessary of courseshypike wrote:Try to search the entire registry for "SABnzbd". Remove all you find.
You'll need to use regedit for that.
Thanks!

