Skip to content
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

File system error (12007) #2129

Closed
bugproof opened this issue Jul 27, 2019 · 25 comments
Closed

File system error (12007) #2129

bugproof opened this issue Jul 27, 2019 · 25 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@bugproof
Copy link

bugproof commented Jul 27, 2019

I installed terminal with choco and I can't run it. I installed from msixbundle and I'm getting the same error.

Windows 10 1903 (18362.239)

#2022

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 27, 2019
@zadjii-msft
Copy link
Member

Do you have a Windows Error Reporting bucket ID we could investigate?

Could you try deleting your profiles.json file, and re-starting the terminal, to see if that fixes it? The settings roam across PC's, so it's possible valid setting on another machine is invalid on this one. (make sure to back the profiles.json file up first, just in case).

@zadjii-msft zadjii-msft added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jul 29, 2019
@bugproof
Copy link
Author

I don't have any bucket ID. There's no crash, just a message box with this error.

I don't have profiles.json file

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jul 29, 2019
@DHowett-MSFT
Copy link
Contributor

Do you even have a screenshot of this filesystem error? This is not very much to go on.

@DHowett-MSFT DHowett-MSFT added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Jul 29, 2019
@bugproof
Copy link
Author

bugproof commented Jul 29, 2019

It's not in English but that can be translated to "File system error"

image

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jul 29, 2019
@DHowett-MSFT
Copy link
Contributor

This looks like the same thing as #1538.

@DHowett-MSFT DHowett-MSFT added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Jul 29, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Jul 29, 2019
@DHowett-MSFT DHowett-MSFT removed Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jul 29, 2019
@bugproof
Copy link
Author

bugproof commented Jul 30, 2019

I wouldn't say it's the same. I can't use the terminal doesn't matter if I run it as administrator or not. Also, the error from the issue you linked doesn't show the same error. It's funny because other UWP apps work fine.

I have the same error on 2 computers

@bugproof
Copy link
Author

bugproof commented Jul 30, 2019

It was an issue with a firewall and etc/hosts. It works fine now

@conradolandia
Copy link

It was an issue with a firewall and etc/hosts. It works fine now

Could you comment a little more on that? I'm having the same issue. I think I have the same problem as you.

@DHowett-MSFT
Copy link
Contributor

Yeah, I too am very interested in how those things are related.

@bugproof
Copy link
Author

bugproof commented Aug 8, 2019

@conradolandia In the past, I used a tool Destroy Windows 10 Spying and it was blocking a bunch of Microsoft's addresses (Windows store app too) in the C:\Windows\System32\drivers\etc\hosts file and in the firewall. I removed those addresses from hosts and temporarily disabled the firewall and re-installed the terminal and it worked. I am suspecting it just couldn't download some default configuration or something like that which was hosted on the blocked IP and/or domain.

@JamesSeaward
Copy link

I know this has been closed for a while but I just ran into this issue and it wasn't immediately clear how to workaround it.

Just empty your C:\Windows\System32\drivers\etc\hosts file, open Windows Terminal once, and then put the hosts file back to normal. Since doing this, the terminal has worked correctly.

Both bugs related to this are marked as closed but this unhelpful error message is still present in the latest build. Even if this problem is caused by people blocking microsoft ip addresses it would be nice if it could fail more gracefully/helpfully.

@shark300
Copy link

I had a same issue too. I've installed Terminal on a corporate notebook but I've tried to log in my private Live account unsuccessfully earlier. Sometimes, I've got a notification message to repair that, but it was unsuccessful. After I removed this account, it works.

@zszen
Copy link

zszen commented Aug 3, 2022

I have the same problem. Because I install it with offline network. It's ok.

@zhro
Copy link

zhro commented Oct 9, 2022

I just did a clean format and reinstall of Windows 10 and got this error after installing the Minecraft launcher. I can't log in either, with it reporting some "Deep Ocean" error.

after-installation

launcher

@DHowett
Copy link
Member

DHowett commented Oct 10, 2022

This is very interesting! Your Minecraft issue probably has the same root cause as the Terminal issue you're commenting on, but we haven't been able to solve either of them. Huh.

@sylveon
Copy link

sylveon commented Dec 13, 2022

This is happening to users of my app that try to install the app on their debloated system. They're forced to downgrade to a 4 years old version :(

I'm trying to be a good citizen of the platform and adopt appinstaller, but it's hard when you get these kinds of strange reports every other week... Not to mention some of them removed the app installer app so they have to use powershell to even be able to install the app, ugh.

@zadjii-msft
Copy link
Member

try to install the app on their debloated system

perhaps, some of that stuff they removed as "bloat" was actually important. Crazy idea, I know 🤔 /s

In all seriousness, I don't think any of us on the Terminal team can really help with this. Maybe you'd have more luck getting traction over on the WASDK repo. Not sure where the internal bug report went, or what the status of that is ATM - I'm sure I could find it if I looked hard enough.

I appreciate the effort in being a good citizen - it's something we deal with every day here on the Terminal, and we do try our best to make sure the papercuts we experience are escalated as we see 'em. It's annoying when we've got to deal with them, but it outright sucks when any 3p devs have to deal with them too.

@niekvb
Copy link

niekvb commented Dec 23, 2022

I experienced the same issue while having blocked MS telemetry endpoints. The app needs to phone home to activate it's license so temporarily lifting the blocked endpoints (I suspect licensing.mp.microsoft.com) should resolve the issue.

@savchenko
Copy link

The app needs to phone home to activate it's license

Which is an issue in itself. @zadjii-msft ?

@zadjii-msft
Copy link
Member

Not... really? The Terminal is a packaged app like any other packaged app on Windows. We (the Terminal) don't do any extra validation of our license beyond what the OS / Store already do. You can of course always grab an unpackaged terminal .zip off our Releases page as an alternative.

@savchenko
Copy link

@zadjii-msft , thanks.

For anyone finding this via Google, Duckduckgo, etc. Have a look: #6010 (comment)

TL;DR - This is how modern MS Windows operates, seemingly (some?) appx packages must be verified online before installation.

On the bright side, there is a .ZIP file you can use instead. Unpack and run wt.exe.

@sylveon
Copy link

sylveon commented Jan 25, 2024

Yes, store signed-apps need a license to run, whether they're free or not.

Speaking of @DHowett @zadjii-msft, but is there a way for a third party store dev to also get an offline license to deploy on offline machines, like you did in the preinstallation kit? Some of my users don't have access to the MS store for business and neither do I (I'm a solo independent dev).

I would try using the appLicensing capability to avoid this (since AFAIk it should bypass the store license stuff) but people I know tried this already and their store submissions where rejected and they were told to use the store for business :\

@DHowett
Copy link
Member

DHowett commented Jan 25, 2024

@savchenko You can also download the "Preinstallation Kit" from any of our release artifacts, which contains an offline license provisioning file. As of today, it's the best we can do for making sure a Terminal package install doesn't require internet access. I don't love it either.

@sylveon Watch this space (re appLicensing). We're about to go bother the Partner Center folks to make sure people don't get rejected for it. Grabbing a preinstall kit should be possible for any developer with partner center access, though... Manage packages -> Get Windows 10 Package -> Download Windows 10 Package.

If that's not available for you, then I'm all "question marks guy" meme over here.

@sylveon
Copy link

sylveon commented Jan 25, 2024

Yeah there doesn't seem to be a download option:

image

Gonna watch for the appLicensing stuff though 👀

@daltzctr
Copy link

daltzctr commented May 24, 2024

@DHowett

Is there any update on

Watch this space (re appLicensing). We're about to go bother the Partner Center folks to make sure people don't get rejected for it.

I just submitted an app with appLicensing enabled to improve support for enterprise type scenarios (IE the above), and it got rejected saying the capability is not approved.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests