New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updater.bat failing on Windows 11 Home Edition #1769
Comments
I wonder if 23H2 (The update began rolling out on October 31, 2023) has anything to do with it. I haven't tested anything, btw - this is not really my cup of tea - pinging the bat boffins @earthlng Can you tell me if this has ever worked for you on that machine, and if so when did it start failing? |
This comment was marked as outdated.
This comment was marked as outdated.
hang on - it's in the wiki - https://github.com/arkenfox/user.js/wiki/3.4-Apply-&-Update-&-Maintain#-update-error My best guess is that you are blocking it - anti virus, firewall, pihole, etc |
It's never worked on this machine. I first tried it about 2 days before I created the issue. |
OK, so the issue is not that it doesn't work, but that "something" is blocking it. If we can work it out, I can edit the wiki - e.g. windows 10/11 home users, do "this" |
Actually, IDK - it could be the script because that error message is from the script |
hi, |
Would you mind running |
Thanks. |
Setting the environment variable |
how did you set the environment variable, why chose 8? - so I can add the info to the wiki - TIA |
I did it by opening the Start menu and searching "environment variables". This should pull up "Edit the system environment variables" from the Control Panel. You click on the result, then click on "Environment Variables" at the bottom of the window that pops up. In the window that opens, you can look for "__PSLockdownPolicy" in the list labelled "System variables", and set its value to 8 by selecting it and clicking "Edit...". I set it to 8 as that corresponds to the FullLanguage language mode, according to StackOverflow. |
updated the wiki - thanks for troubleshooting @PencilVoid 🍕 🍺 🍰 |
When running updater.bat, it fails at the "retrieving latest user.js" stage.
Steps to reproduce:
Expected result: updater.bat downloads user.js, appends the contents of user-overrides.js, and continues as expected.
Actual result:
Things I have tried, that did not fix it:
I managed to use it properly on another machine running Windows 10 Pro Edition by following the steps given in the wiki. The troubleshooting I did leads me to believe it's caused by a difference between 11 Home and 10 Pro.
The text was updated successfully, but these errors were encountered: