Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Help removing old Windows & Users folder without breaking anything!

07 Dec 2012   #11
jimdandy

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by AddRAM View Post
Not sure. Who is Alpha/Red, the users on that install ?
Yep. Alpha/Red is the only user account on this computer.

Quote   Quote: Originally Posted by AddRAM View Post
Have you tried taking ownership of the files ?
Yep. I used this tutorial. It seems to work when I use it on the Users and Windows folder on F drive. I can see the word 'Success' flash by in the command prompt, and the phrase '...now owned by "Alpha/Red"'.

Quote   Quote: Originally Posted by Kaktussoft View Post
Are you logged on as user RED on computer ALPHA? Do you have administrator priviliges?
Yep. I'm sure that I have admin privileges, it's the only user account. Here's a screenshot if that helps:

Help removing old Windows & Users folder without breaking anything!-user-accounts-capture-2012-12-07.png


Quote   Quote: Originally Posted by Kaktussoft View Post
Does system,admistrator,user etc have any DENY access in folder Windows?
No. Every 'group or username' seems to have full access with the exception of 'Special Permissions'. The only 'group or username' that doesn't have full access is the 'CREATOR OWNER' account and the 'TrustedInstaller' account that each only appear on the Windows folder permissions.

Here's the message I get when I try to delete Windows or Users from the F drive:

Help removing old Windows & Users folder without breaking anything!-folder-access-denied-capture-2012-12-07.png







My System SpecsSystem Spec
.

07 Dec 2012   #12
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

right click F:\windows , properties, tab security->advanced
Post screenshot
tab owner. Post screenshot as well
My System SpecsSystem Spec
07 Dec 2012   #13
jimdandy

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
right click F:\windows , properties, tab security->advanced
Post screenshot
tab owner. Post screenshot as well
Thanks Kaktussoft, here we go:

Help removing old Windows & Users folder without breaking anything!-permissions-capture-2012-12-07.png

Help removing old Windows & Users folder without breaking anything!-owner-capture-2012-12-07.png


My System SpecsSystem Spec
.


07 Dec 2012   #14
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Try to delete some folders in f:\windows (some random one)
Try to delete some files in f:\windows (some random one)
Works?? if not

Create a file and folder in f:\windows. Works? Delete them, works?
My System SpecsSystem Spec
07 Dec 2012   #15
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

In elevated command prompt:
Code:
become owner of everything under f:\windows
takeown  /f  f:\windows  /r  /d  Y
reset the permissions. includes subfolders
icacls  f:\windows\*  /reset  /t  /c  /l  /q
set permission to inherete. includes subfolders
icacls  f:\windows\*  /inheritance:e  /t  /c  /l  /q
Works? any errors?
My System SpecsSystem Spec
07 Dec 2012   #16
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
In elevated command prompt:
Code:
become owner of everything under f:\windows
takeown  /f  f:\windows  /r  /d  Y
reset the permissions. includes subfolders
icacls  f:\windows\*  /reset  /t  /c  /l  /q
set permission to inherete. includes subfolders
icacls  f:\windows\*  /inheritance:e  /t  /c  /l  /q
Works? any errors?
did it fix the problem?
My System SpecsSystem Spec
07 Dec 2012   #17
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Might this be a case for EVERYONE?

Add the EVERYONE object with full control to the security for F:\Windows and F:\Users - populate subfolders and files.

Might work.

Bill
My System SpecsSystem Spec
07 Dec 2012   #18
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Slartybart View Post
Might this be a case for EVERYONE?

Add the EVERYONE object with full control to the security for F:\Windows and F:\Users - populate subfolders and files.

Might work.

Bill
Better do: Take ownership for F:\Windows and F:\Users - populate subfolders and files first. And populate the permissions as well. So remove the excplicit permissions and inheret them only.

Full access to EVERYONE is not enough! There can be be DENY permissions (although very unlikely)
My System SpecsSystem Spec
07 Dec 2012   #19
jimdandy

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
In elevated command prompt:
Code:
become owner of everything under f:\windows
takeown  /f  f:\windows  /r  /d  Y
reset the permissions. includes subfolders
icacls  f:\windows\*  /reset  /t  /c  /l  /q
set permission to inherete. includes subfolders
icacls  f:\windows\*  /inheritance:e  /t  /c  /l  /q
Works? any errors?
Kaktussoft, I think you've done it!! Thankyou so much.

Windows folder is gone and I'm in the process of repeating the process with the Users folder as I type. Thanks for sharing your ninja command prompt moves!

I think I must have good karma after helping out lots of people on audio forums! Thanks again to AddRAM, Kaktussoft and Slartybart.. hopefully some other forum members can gain something from this thread too!

My System SpecsSystem Spec
07 Dec 2012   #20
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by jimdandy View Post
Quote   Quote: Originally Posted by Kaktussoft View Post
In elevated command prompt:
Code:
become owner of everything under f:\windows
takeown  /f  f:\windows  /r  /d  Y
reset the permissions. includes subfolders
icacls  f:\windows\*  /reset  /t  /c  /l  /q
set permission to inherete. includes subfolders
icacls  f:\windows\*  /inheritance:e  /t  /c  /l  /q
Works? any errors?
Kaktussoft, I think you've done it!! Thankyou so much.

Windows folder is gone and I'm in the process of repeating the process with the Users folder as I type. Thanks for sharing your ninja command prompt moves!

I think I must have good karma after helping out lots of people on audio forums! Thanks again to AddRAM, Kaktussoft and Slartybart.. hopefully some other forum members can gain something from this thread too!

Glad you solved it. You could have done it yourself using windows explorer GUI!


My commands only did:
  • take ownership of everything in f:\windows
  • delete all explicit permissions on the files
  • activate inherentence.
Probably most of the files did actually delete on first try(?)
You forgot to populate ownership to files/subfolders(?)
You forgot to populate permissions to files/subfolders(?)

that's why I gave you the cryptic commands.

Why not simply format F?
My System SpecsSystem Spec
Reply

 Help removing old Windows & Users folder without breaking anything!




Thread Tools





Similar help and support threads
Thread Forum
Windows only allows me to share Users folder
Whenever I share other folders, I can't access them on my tablet, only except for the Users folder which is shared by default, the others give me "you don't have permission blah blah" I'm frustrated with windows :\ plz help
Network & Sharing
windows 7 removing the owner from shared folder
hi there is a shared folder. it was created by user A and he shared it with some 8 users. now he is transfered to another department. so he should not be able to access this shared folder but since it is shared with him he can. how to i remove him from shared folder as he is shown as owner ? ...
Network & Sharing
Can't access users folder since re-installing windows.
Since re-installing Windows 7, I can't open the Users folder on my other data drive. http://i.imgur.com/BcjjW.png The green bar goes almost to the end of the X, then freezes. I've tried leaving it for a couple hours and it's still in the same spot. I've tried disabling the thumbnails...
General Discussion
Windows 7 duplicating Users folder on a separate partition
Hello everyone, I have a 2TB drive that is split into 2 partitions, Partition A has a fresh install of Win 7 Ultimate on it, Partition B is a copy of all the info from my old hard drive. For some reason the Windows 7 install Users folder with all the data in it is being copied to the...
General Discussion
Removing Users from login screen (without being disabled)
Hello all! I'm in a bit of a dilemma, and I can't necessarily work around this. On most of my systems, I have two users. One of them is the user, and the other is an administrative account that I never login to unless I absolutely have to. I've also done the same on some PC's I've worked on for...
General Discussion
Re-directing Windows 7 Users folder to another drive
Being the impatient type, I decided to go for max performance(Minimun boot up and application start-up time) by adding a 300 GByte 10,000 hard drive as my Windows 7 boot and application drive. What I want to do is keep all data off this drive. Any suggestions on how I could re-direct Windows 7...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App