oscdimage not found on the system
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
While running MicroWin, there is an errorr saying oscdimage.exe not found
file is pressent at:
c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. this is 23h2, upgraded from w10 22h2
What happens when you run this in your PowerShell prompt?
Get-Command -Type Application oscdimg
As an example of what you should hope to see:
im getting this error while it installs ADK.
Not that lucky unfortunately...
Basically the same as #1269.
Not that lucky unfortunately...
Try Get-Command -Type Application 'oscdimg.exe'
That might work.
If it does, Mr. Munkk knows which line to edit. :)
@PowerCoder did one of you guys raise a PR for this? Or do you want me to do it so you can also test it?
@ChrisTitusTech I really think we should rethink this whole pulling down ADK, I know it is the safest from the perspective of "getting the legit binary" but it might be better to just check in that binary into the git repo with SHA256 and download it from there, or BASE64 it right into the winutil.ps1
@PowerCoder did one of you guys raise a PR for this? Or do you want me to do it so you can also test it?
@ChrisTitusTech I really think we should rethink this whole pulling down ADK, I know it is the safest from the perspective of "getting the legit binary" but it might be better to just check in that binary into the git repo with SHA256 and download it from there, or BASE64 it right into the winutil.ps1
I have not raised a PR for this. I have been AFK all weekend. I haven't dealt with this behavior myself so I still need to test it to ensure a proper PR to fix it. I won't be able to look until tomorrow sometime.
Not sure if I'm adding new information here but it seems that there is an obvious typo. The script calls for oscdimge instead of oscdimg.
Therefore, the process abort. Should be an easy one to fix.
Not sure if I'm adding new information here but it seems that there is an obvious typo. The script calls for oscdimge instead of oscdimg.
![]()
![]()
Therefore, the process abort. Should be an easy one to fix.
Those are just print type messages. Shouldn't affect runtime code I don't think. Still should be updated. Thanks!
I noticed that as well, figured I'd been complaining enough and probably shouldn't start talking about print typos as well. :)
Haven't been able to test anything, sorry. I'm in the middle of a reinstall of my home workstation. It's how I ended up here in the first place, looking for something to debloat a fresh install with. I need it for work so I haven't been able to test.
Could be a simple string issue with no impact but incidentally the process abort ritght there for me... ADK is installed and I have choco installed as well. Could it be a language issue ? I'm using a french-canadian Windows version.
Could be a simple string issue with no impact but incidentally the process abort ritght there for me... ADK is installed and I have choco installed as well. Could it be a language issue ? I'm using a french-canadian Windows version.
Question; does your username have a space in it? Like C:\Users\roco bruno\?
Nope, it is C:\Users\Tech
Since my validation came back as $False until I did "Get-Command -Type Application 'oscdimg.exe'" instead of "Get-Command -Type Application oscdimg" that might be the fix in @rocobruno 's case. The screenshot shows the latter one. Same might help @13mhz . @tezpadhye has the space-in-username issue.
Closed due to inactivity
the dev branch works✅ irm "https://christitus.com/windev" | iex