Windows 10 messed up

FabFab10

Active member
Joined
Aug 19, 2015
Posts
25
hello i had a problem with Microsoft Edge on windows 10 and tried launching the following command:

Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} |Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

After that the computer lost accessing menu from the windows icon and notification window, and also most of the appication from the lower bar are not accessible as well as task manager opens up but blocks right away.

I'm now trying to run :
DISM /Online /Clean'up-Image /RestoreHealth
what else could i do ?
 
I decided to do a system restore preserving user's files. After reinstalling the operating system everything seems fine but microsoft edge still not working. I installed Chrome and i can access any kind of site.
Since Edge is capable of opening local html files, what's wrong with it and network connection that makes impossible to reach any website?
 
Edge does seem to be trickier to reset than most. The procedure you were trying to use (the PowerShell commands) seem to work best when the Edge package is deleted first. And of course all of this must be done with Administrator privileges... Here's a cut-and-paste of the procedure you tried earlier, but that includes deleting the Edge package first ...

Well to reset Edge I have found deleting
C:\Users\%username%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe


Clears it, including favourites and all. That does break Edge for the user. To get it running again from an admin PowerShell prompt;
Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}

It's a bit disturbing that it was badly broken before that, though: was there a serious malware presence? (If you haven't checked that angle yet, run some scans)

Let us know if you still need help.
 
First of all thanks for your answer.
I think i've identified what the problem could be:
this computer is member of an active directory domain. Its network connection is in a "nasty" state, meaning that is currently a public network (which shouyldn't be) but it doesn't appear as a network profile.
If i go into PowerShell and issue the command "Get-NetConnectionProfile" nothing is displayed.
I guess that if i find a way to reset this everything will come back to working properly.
I also have tried to reset profiles with netsh reset profile command but nothing happened.

Any ideas how to come through this?

Thanks
 
Since you are familiar with PowerShell, you can still try the two commands listed in that copy&paste quote that I put in the last note. It helped quite a fair number of users "re-install" Microsoft Edge. Shouldn't hurt to try.

Most of my experience (in the last 12 years) has been with small businesses and personal computers ... none of which needed Active Directory... So I'm not much up-to-date on that end. [Still remember enough Unix, DEC & Tandem NonStop commands :) ...] Is the domain for a business or school?
 
Gary,
the command you suggest is where i started from and the system got messed up, so i'm a bit scared of running it again. It should take care of software re-installation but i'm pretty sure my problem is more of properly reconfiguring the network profile which is currently undefined and not present. Any piece of software controlling the network profile is not working (Edge, store, Microsoft login for cortana ecc).
Any suggestion on how to make the network profile work again?
 
Seems that if the only trouble was with the network profile, then Chrome should have had the same issue (shouldn't have been able to connect). The issues concerning the tie-ins with your Microsoft account could account for some of the difficulty, but I haven't seen that yet - perhaps others have.

If you are connecting by a wired Ethernet cable, you should be able to change its type to "Private" (which would allow network devices discovery) from its likely current setting ("Public"). In Settings - Network & Internet - Ethernet - Find devices and content, change the setting to "On".

If you are connecting wirelessly, click on WiFi, VPN, or cellular dial-up - select the appropriate icon, and change the "Find devices and content" to "On" for the network you are connecting to.

A network should show up when you rest your pointer over the network icon in the System tray (or "Notification Area"). Whatever network that identifies is the first one that you'll want to change.

If no network shows, even when you are connected to the Internet - something is truly wrong. Edge & Cortana can't be removed by any of the normal means [the PowerShell methods work best for any of the built-in Universal-type System apps except Edge & Cortana]. The few users who've been successful with the Edge "re-install" first had to manually remove (delete) the packages first, and then run the PowerShell "Get-AppXPackage..." commands. The same procedure might work for Cortana as well ... but I haven't heard of anyone trying that one yet.

If you can't find the network you are connected to in Settings ... try removing all of the networks listed, in each category, and then remove your network adapter used for that connection from Device Manager. That should force Windows to re-detect and re-install it, and allow you to re-detect and configure the networks it finds after the re-installation.

You could try the DISM redo again, should the above not work.

If the DISM fails, it seems like time for a recovery method that saves your data. If you haven't tried any System Restore points from prior to the one you last restored to, you could try an older one. A System Reset saving personal files would likely work, but programs would have to be reinstalled.
_________________

One other possibility - that I haven't mentioned yet. Is it possible that you happened to connect to different networks when using Chrome vs. Edge? If a network is listed as "Unidentified", it will likely not have Internet access. Usually updating the network adapter's driver to the latest Windows 10 compatible driver works.

Hope it works out. The reset nearly always works - but then you'd have to reinstall things.
 
Everything is working Ip-wise except those activities who relies on a deeper analysis of the network profile. So Chrome is working and Edge is telling there is no internet connection!! This system reports to be connected to internet (when I rest my pointer over the network icon in the System tray (or "Notification Area")) but no network name is associated with it. This network is wired but there is no place where to change it from public to private (and actually it should go to domain in my case) because there is nothing to change, despite the fact i have an ip addressed bound to the physical network card. So i can't remove any network because there is no network listed, even when checking from powershell as previously reported.
I can try to run DISM again, but when i tried it said that couldn't access installation package i guess for the same reason. I also tried System Restore to a previuos point which failed and did a System Restore saving my personal files, this is the point i'm at.
I wish i can find a way to fix this without having to restore everything from scratch.
 
Have you tried removing the wired Ethernet adapter from Device Manager yet? Seems like that would force it to re-install the driver, and ask to choose Public or Private for the network on its first connection after the adapter's re-installation. Odd that nothing at all shows for the Network if you visit the properties in Settings - Network & Internet. Then again, if it's some detail in Active Directory that I'm not familiar with - that could be an area to look at next.
 
previously i have tried that too, but as soon as you reboot the system install the driver itself and everything comes to the same state. In the registry there are some profiles for both wired and wireless network (this machine has both interfaces) by checking this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
and of them is Category "2" which means "domain". the problem is this profile is not used and since it doesn't appear anywhere i can't change something that doesn't exists!!
Some other profiles are wireless and some others are Category "1" which is private.
I'm pretty sure that if i could somehow reset these profiles and force an auto recognition everything would come back to normal.
 
There are a few things involved here that I'm not that familiar with, but - why not - there's always "learning opportunities". The spades I'm not conversant on are Active Directory, Network Location Local Security Policy [or "Network List Manager Policies" in Local Security Policy (secpol.msc)], ... and the effects of having Office 365 installed, and the difference between the choice during Windows 10 installation to the question "Who owns this PC" (whether "My Organization" or "I do"). Seems like certain acrobatics happen when the PC is first installed with the answer "I do", and then later added to a domain. (There's a referred discussion over on TechNet - that in turn refers to even more discussions - about the two choices https://social.technet.microsoft.co...mall-home-networrk-with-server-2012-r2-active ) ... (and another article about common Windows 10 installation issues covers the owner choices -- you'd scroll down to the "Who Owns This PC?" section -- 12 Windows 10 install issues -- and what to do about them | InfoWorld )

I'll be looking into the Active Directory info a bit later (... since none of my clients are large enough businesses to need it, this is my "recreational reading") ... It looks like the Azure Active Directory might be a bit different than other versions...

The Local Security Policy might be an interesting tool during troubleshooting, since it could be used to change the "All Networks" temporarily to the Private or Domain setting, and see what results. If you previously were able to successfully connect to a domain, but currently aren't: this might be an interesting thing to try. If you haven't ever been able to successfully connect to a domain, then you could try leaving the domain & then attempting to re-join it.

The problems of Office 365 & Active Directory appear to have been discussed (I saw a commonly referred to Register article Fancy signing into Windows 10 with Office 365? WHOA there, my friend ? The Register ) ... but I'll haven't read through it yet.

And one last article that covers pretty much most of the angles that we are looking at (I imagine you might have seen this on already) --- Network Location - Set to Private or Public in Windows 10 - Windows 10 Forums
_______

... if another tech with experience in Active Directory setup in Windows 10 happens to see this discussion: please feel free to jump in and enlighten us.
 
Did you check for proxy setting in Edge?

I've seen IE not work because of a proxy settings left behind by uninstalled proxy/VPN apps, while every other network accessing app worked at the time.

On the Start button search for "Internet Options" Look in the "Connections" tab.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top