Gå til innhold
🎄🎅❄️God Jul og Godt Nyttår fra alle oss i Diskusjon.no ×

Access denied to disk drive System C: & D:


Anbefalte innlegg

Hello. 

So i was going to restrict what my guest account could access in the files system. I changed the rights to open the disks C: and D:. The C: drive is system windows drive. 

Now here's the case .. I locked my own ass out cool.gif I know, how cool im i bergenser.gif cheers. 

It seems i lost my own admin right's and now i have problem running programs bevcuse c drive is in lockdown. 

I would like to crack it open. Letæs have fun.

Anyone?

Lenke til kommentar
Videoannonse
Annonse

Only I can think of is to place the disk containing system partition in another computer where you have administrator rights and fix the permissions. So you are able to get to the data.

 

But a windows installation with broken permissions is not good and will cause a lot of problems. So preparere yourself for a reinstallasjon.

Endret av syar2003
  • Liker 1
Lenke til kommentar

Only I can think of is to place the disk containing system partition in another computer where you have administrator rights and fix the permissions. So you are able to get to the data.

 

But a windows installation with broken permissions is not good and will cause a lot of problems. So preparere yourself for a reinstallasjon.

Hello, Tnx. 

 

that can be an sulution to it. I am however hoping to find a solution aroung it. 

 

I can access the CMD with full rights when i run it outside login. So i made it so i can accsess cmd from loginscreen. 

 

Since i have access to all files and CMD, should i not be able to do a fix? 

 

 

Lenke til kommentar

All user rights ownerships is tedious and complicated when it comes to system protected directories like the two .\Program Files\ Windows folders User profile and all subfolders of theese . There is no 100% quick fix the latest windows versjon I'm aware of.

 

Assuming you run Windows 10 , a better solution would be a windows upgrade on top and select to "keep files and settings".

This would fix the broken ownerships and user permissions.

 

I can't guarantee all is fixed for your situation but you might want to consider this as part of the approach:

https://www.tenforums.com/general-support/27627-how-reset-default-file-permissions-these-directories.html

Endret av syar2003
Lenke til kommentar

All user rights ownerships is tedious and complicated when it comes to system protected directories like the two .\Program Files\ Windows folders User profile and all subfolders of theese . There is no 100% quick fix the latest windows versjon I'm aware of.

 

Assuming you run Windows 10 , a better solution would be a windows upgrade on top and select to "keep files and settings".

This would fix the broken ownerships and user permissions.

Windows will not update couse it needs access to the disk and admin rights to do it. So it looks like im am on a lower level admin, even tho it is the hidden one and i have recuired @takeown@ over C drive and system32. Still tells me i need to be POWER USER. 

 

The update will not work as per now.

Lenke til kommentar

 

All user rights ownerships is tedious and complicated when it comes to system protected directories like the two .\Program Files\ Windows folders User profile and all subfolders of theese . There is no 100% quick fix the latest windows versjon I'm aware of.

Assuming you run Windows 10 , a better solution would be a windows upgrade on top and select to "keep files and settings".

This would fix the broken ownerships and user permissions.

 

Windows will not update couse it needs access to the disk and admin rights to do it. So it looks like im am on a lower level admin, even tho it is the hidden one and i have recuired @takeown@ over C drive and system32. Still tells me i need to be POWER USER. 

The update will not work as per now.

I do not think so when you start this upgrade of course offline from the installation. Boot from install media.

The install will then run with full access privileges.

Lenke til kommentar

 

 

All user rights ownerships is tedious and complicated when it comes to system protected directories like the two .\Program Files\ Windows folders User profile and all subfolders of theese . There is no 100% quick fix the latest windows versjon I'm aware of.

Assuming you run Windows 10 , a better solution would be a windows upgrade on top and select to "keep files and settings".

This would fix the broken ownerships and user permissions.

Windows will not update couse it needs access to the disk and admin rights to do it. So it looks like im am on a lower level admin, even tho it is the hidden one and i have recuired @takeown@ over C drive and system32. Still tells me i need to be POWER USER. 

The update will not work as per now.

I do not think so when you start this upgrade of course offline from the installation. Boot from install media.

The install will then run with full access privileges.

 

That could actually be. Then i would need antorher computer and create a bootable device. Ofc, you said it, when im not IN LOGIN i have full accsess in CMD, it is only after LOGIN the problems occur. 

 

Im am a bit curious tho, how i could do it if i did not have another PC at hand.

Lenke til kommentar

So what i did: 

 

- Got into PC repair mode

- Changed the file name of CMD to work on the setch command (tapping shift 5 times)
- Restart

- Got to windows login screen, here i hit the bleep to get the CMD running

- Activated the hidden user account and retreevd password to the other account be using /random. 
- I also used the command "takeown" to add rights to the local administrators group over C://windows/system32

Result: FAIL (fail to take own of C: & D: disk, still locked)

So next i downloaded new OS on another machine and installed it.

Result: Positive 
- Go control over C disk (dah, i just deleted the thing, so  you know, it happend) But antoher thing
- when i had this under control i now could force ownership of D: disk, where i had my files stored. 

So gratz to me and tnx for all help and comments on the way guys! 

Now i am going to do the same thing once more. Couse im am sure i could get thru without installing new OS, since i had control to the CMD on login and DOS. if you want to taggle along, say hey. tnx again. exuse the english.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...