Closed TheOnlyChuon closed 3 months ago
btw cmd commands don't use -
, they use /
(so help is usually /?
)
However dism should work as normal, so check your PATH (if cmd is crashing, it's probably because of these command not found errors, you may also want to try changing your default terminal emaulator to Windows Terminal as is the win11 default)
btw cmd commands don't use
-
, they use/
(so help is usually/?
)
yeah i was wrong at that point, but what ever it is, the 'sfc' still can not be recognized. i tried everthing i could but nothing get better, maybe i need to reinstall my windows again and wait for new atlas version...
btw cmd commands don't use
-
, they use/
(so help is usually/?
)yeah i was wrong at that point, but what ever it is, the 'sfc' still can not be recognized. i tried everthing i could but nothing get better, maybe i need to reinstall my windows again and wait for new atlas version...
You may not have reinstalled correctly, what were your steps?
what were your steps?
just like everyone else: install ventoy on an usb stick, boot up an official iso and start to install windows normally. i had run those commands normally before installed Atlas so i pretty sure that Atlas causes this bug.
what were your steps?
just like everyone else: install ventoy on an usb stick, boot up an official iso and start to install windows normally. i had run those commands normally before installed Atlas so i pretty sure that Atlas causes this bug.
That's not the steps, and if you're gonna use a USB, wipe your disk to ensure the install is clean (you don't even need to use a USB)
That's not the steps
That's the MAIN STEPS I did, I just want you to understand that I know how to install Windows correctly, and the bug only appears after installing AtlasOS.
That's not the steps
That's the MAIN STEPS I did, I just want you to understand that I know how to install Windows correctly, and the bug only appears after installed AtlasOS
During USB install if you just clicked your C: drive you didn't fully wipe windows, so reinstall again, and wipe your drive (erase all partitions)
During USB install if you just clicked your C: drive you didn't fully wipe windows
Nahh I didnt do that bro, i deleted every windows partitions and used diskpart
to wipe my drive so pls understand that i know how to install windows correctly. The bug only appears after installing AtlasOS (2 times in 2 different windows edition!!).
are you sure you didn't delete anything from PATH? i have tried 0.4 and sfc, dism all work fine
are you sure you didn't delete anything from PATH?
yes, i ran some .cmd files and those command before installing AtlasOS so im pretty sure that everything was run normaly
i have tried 0.4 and sfc, dism all work fine
that's so weird, i tried 0.4 on 2 different editons of windows (both are clean installation) and still got that bug...
Can you please send the TIOutput.txt
in the Atlas folder inside of %ProgramData%\AME\Logs
? The PATH variable is somehow messed up.
Unfortunately, I have just reinstalled Windows and no longer have that file π. I will try installing AtlasOS in a VM to see if the bug appears again; then I will send you the file. If it doesn't, I will close this report. Thanks for your reply.
(Btw, I really love your EdgeRemover script, it helps me a lot π).
Can you please send the TIOutput.txt in the Atlas folder inside of %ProgramData%\AME\Logs?
Here is the file you need
TIOutput.txt
@Ast3risk-ops @he3als
Atlas doesn't replace the PATH variable, it just appends to it. https://github.com/Atlas-OS/Atlas/blob/main/src/playbook/Configuration/atlas/start.yml#L9
I'm not too sure what could be wrong or how to reproduce your issue.
Closing as resolved.
Thanks.
I'm going to re-open this as I think there could be more investigation regarding alternatives to getting the PATH variable.
My atlasOS install is fine with all PATHs and cmds all work as expected. (I installed about a week ago with a fresh install because my last windows was broken coincidentally the paths)
I've rewritten the function that adds to the PATH variable for the next release. Although I'm unsure how the previous implementation caused issues, it should be more reliable now. If this doesn't fix it, I'm unsure what else can be done as it can't be reproduced. https://github.com/Atlas-OS/Atlas/commit/3aac4b82d7bf9d4fd0e9347cb6d3eeeb61e6b53d
You can test an experimental build, which includes it here: https://github.com/Atlas-OS/Atlas/actions/runs/9429700703
Remember that these builds are not meant for daily driving and should only be used for testing. There are unfinished things as well as bugs.
I'm going to close this issue, but if there are any testing results, just comment.
Just reporting in, I ran into this bug today using the latest AME Wizard (0.7.5 Beta?) and Atlas playbook on a fresh install of Windows 11 Home using freshly-created install media with a newly-downloaded copy of Windows (from Microsoft.)
After Atlas setup, the system Path variable was set to only include:
PATH=;C:\Windows\AtlasModules;C:\Windows\AtlasModules\Apps;C:\Windows\AtlasModules\Other;C:\Windows\AtlasModules\Tools;C:\Windows\AtlasModules\Scripts
Windows 11 Home
https://docs.atlasos.net/install-faq/windows-home/
Atlas doesn't support Home, try with Pro.
I don't have the option on that machine, as it has the key embedded and will not accept Pro. In any case, while I do understand the desire to head off bug reports in unsupported configurations, I don't really think that has anything to do with this issue. :)
I don't need support, as I've already resolved the problem by manually replacing the path variable, but I wanted to provide the report so that you know that this can still happen to people despite the issue being closed.
On Sat, Aug 17, 2024, 10:07 Asterisk @.***> wrote:
Windows 11 Home
https://docs.atlasos.net/install-faq/windows-home/
We don't support Home, try with Pro.
β Reply to this email directly, view it on GitHub https://github.com/Atlas-OS/Atlas/issues/1076#issuecomment-2294885722, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACATXTJKPI2KM4LRG3WRVZLZR5RKTAVCNFSM6AAAAABGEKQW4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHA4DKNZSGI . You are receiving this because you commented.Message ID: @.***>
However the issue might be specific to Home, you can override the key lock using a USB (might work without one too if the iso is extracted) and the ei.cfg
file (place it inside the sources
folder, it will force the edition picker to appear)
I doubt this issue is related to Windows Home, but the logic for adding to the PATH variable has been updated for v0.5 anyway, so it should be fixed for the next release.
Did you install any software before installing Atlas? Or did you install Atlas without following the installation guide?
I followed the guide, although I have installed Atlas many times before on many other machines. 1) Prepare image using Rufus 2) Install on clean (no volumes present) drive, in this case a raid-0 of two PCIe 4.0 SSDs (don't get on my case, that's how Dell provisioned the machine to begin with) 2.1) Use a local administrator account (not the built-in one) 3) Install video and Ethernet drivers 4) Connect internet and perform all Windows updates including drivers 5) Pause updates and disable required security features 6) Install Atlas playbook 7) After reboot, apply tweaks from Atlas folder on desktop β this is where things went awry
Also, this is really for a separate issue, but I selected Firefox as my browser and Atlas failed to install it, leaving me with no browser, which was a mild pain, lol.
On Sat, Aug 17, 2024, 18:35 he3als @.***> wrote:
I doubt this issue is related to Windows Home, but the logic for adding to the PATH variable has been updated for v0.5 anyway, so it should be fixed for the next release.
Did you install any software before installing Atlas? Or did you install Atlas without following the installation guide https://docs.atlasos.net/getting-started/installation/?
β Reply to this email directly, view it on GitHub https://github.com/Atlas-OS/Atlas/issues/1076#issuecomment-2295026864, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACATXTPSWWWZ2ZMHLTNXPRTZR7M2RAVCNFSM6AAAAABGEKQW4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGAZDMOBWGQ . You are receiving this because you commented.Message ID: @.***>
Can you send your logs from C:\ProgramData\AME\Logs
?
I most certainly can: Output.txt
Looks like the path issue may have caused the Firefox issue? Wonder what else it broke.
Description
Steps to reproduce
Double click to open a .cmd file or run some commands in cmd.
Watch it doesnt work like you expected.
Expected behavior
It supposes to run normally.
Actual behavior
Atlas Edition
Atlas for Windows 11 23H2
Desktop information
Operating System: Windows 11 Pro System Manufacturer: Acer System Model: Aspire A715-43G Processor: AMD Ryzen 5 5625U with Radeon Graphics (12 CPUs), ~2.3GHz Memory: 24576MB RAM Card name: NVIDIA GeForce RTX 3050 Laptop GPU
Additional content
[Update] Simply fixed it by looking up missing paths in this link and adding them back, those commands now work normally again.