New
#11
are you going into safe mode with your user account or as Administrator? It works so I'm not sure what your doing
are you going into safe mode with your user account or as Administrator? It works so I'm not sure what your doing
What language is your Windows installation?
Apparently the default answer you specify after the /d switch has to be the first letter of the word that means "Yes" in your Windows system language.
I can't confirm as I always install en-US but it is what it claims here: https://social.technet.microsoft.com...10itprogeneral
and here:
Take Ownership - Add to Context Menu in Windows 10
So in French you would specify (from an administrator command prompt)
takeown /f "C:\Program Files\WindowsApps" /r /d O
(because "O" is short for "Oui" which means "Yes").
All the examples I could find were French so just try picking the first letter of whatever the word "Yes" is in your language if it is something else.
This worked for me, thanks. Quick question though. After system is Restored, should I change the name back to WindowsApp or does it matter for functionality.
I should add that I was getting an error message in the Command line after the Rename stage. After going back in and looking at the file (WindowsApp), I realized that the folder was Read Only and Hidden, then I had to authorize administrators to view/edit. After I made those changes I was able to Restore my system back.
One issue I have and still have, is that Windows10 mysterious lost/hid every file and some sub folders within a folder I use often. I noticed it was missing after I downloaded an app, which asked for updates, so I deleted the app and Restored the system. Still can't see files in folder.
I go into safe mode as in Option one here : https://www.tenforums.com/tutorials/...a.html#option1
Thank you for trying to help me
You are welcome but your analysis is wrong. takeown /? shows you the help text translated from English. It was never correctly translated. There are hundreds of posts about this but let us not go off on a tangent.
Just let me know what chcp (with no parameters) shows. Perhaps there is a problem in your language but as I don't know what your language is I'd be guessing.
After that we can forget language and just convert your code page into en-US (for the specific terminal session) and see if that works.
Like this:Code:chcp chcp 437 takeown /f "C:\Program Files\WindowsApps" /r /d Y
If that doesn't work post a screenshot as otherwise I'm just guessing.
If you can show me a screenshot of the error I'm happy to install Windows in your language and see if I can recreate it.
You were right! Now takeown works, but i still have problems with 'icacls "C:\Program Files\Windows Apps" /grant administrators:F /t', which comes up whit an access denied statement
I'm not sure I understood how chcp works; what is supposed to do?
I'd prefer to not borrowing you so much, unless we don't find other solutions, but thank you.
OK, one step forward :) Is your user name "administrators" though as @cgdsatx said to put in? I guess not.
chcp changes (or displays) the code page of the current job. It is slightly more complicated than this but you can think of a code page as the language. 437 is English. Anything you type after that will be assumed to be in English. This applies to input you give the shell but it doesn't invoke some sort of dictionary.
If there exists a group object called "Utilisatuers" it will not transfer it into "Users" for you.
I'm more than happy to but as you wish. I can't help if you don't say what you've done though.
All these switches make a difference though. When you take ownership and assign authority you have to do it for the same person.
You could try this:
Change your job to EnglishTake ownership for yourselfCode:chcp 437
(note there is no /a here assigning it to administrators group, the /r means recuse and the default in /d is defined as Y which is Yes in English which is the language you just told it you would write in.Give yourself full authorityCode:takeown /f "C:\Program Files\WindowsApps" /r /d Y
Don't change this. Just copy it exactly as it is.
Specifically to not change "%USERDOMAIN%\%USERNAME%" to your PC name or your name or "Administrator" or "Administrateur" or "Administrateurs" or anything. These names are system language specific and are not affected by what language you are writing in. They are objects that exist with specific names created when you install Windows. The shell will populate it for you.Code:icacls "C:\Program Files\WindowsApps" /grant "%USERDOMAIN%\%USERNAME%":(F) /t
You can see this if you enter (just for interest)I really can't help any more unless you say what language you are using and give a screenshot of the error but I will say this is one reason I install Windows as en-US. It simply makes life easier.Code:echo "%userdomain%\%username%"
Hello, I am having this same issue.
Recently it seemed like my PC was running some game worse than it had been a week ago and I thought maybe something had changed or I had a virus, but virus scans showed no issues.
I normally just do a system restore when something like this happens, but I got the error "0x80070091" so I thought maybe I did have a virus because I have seen a virus kill system restore many times before. Anyway, I first did a Windows 10 reset and still had the same System Restore issues just doing a quick create and restore, so thought maybe the virus was still there.
So then I did a full new install of Windows 10, a new System Restore seemed to work fine, but after another day and some software installs and Windows updates another System Restore test failed with same error. Check Disks look fine also.
I have not tried the fix here yet, but I am more trying to figure out why this fix is needed on a new install, if this a windows update bug? I never noticed this before but I can not even browse "c:\program files\windowsapps" at all, is that normal, I have not really poked around Windows 10 much but I am not used to there being a directory on my own OS that I can not look in to.
My system seems to be running fine now, and I can live without System Restore, but am totally lost how Microsoft can break things like this and not know it.
Thanks.
it makes a new windows app folder during restore you can copy and drag the stuff from the old to the new if you want
probably doesn't matter but if you want to you can do this
How to reinstall all the Windows 10 default apps with PowerShell | Digital Citizen
the attrib command should have "unhide" the app folder , before the restore I mean once restore goes through it will be hidden again , check hidden items in view tab of explorer .
the missing files I don't know, maybe check hidden items in view tab of explorer see if they're "hidden" files , or I've heard to check under the C:\USERS some times there in another users folder or under c:\windowsold\users or even in public .
If you created a new Microsoft account when you upgraded from Windows 7, your files may be located in a disabled administrator account. You'll need to enable this account and sign in again to see your files.
Personally what I would do is type a name of a file or folder that was missing and I remember and just search the HD. There's other options but those are most common to try first.
Last edited by cgdsatx; 22 Feb 2017 at 20:09.