Stuck in a loophole; Locked myself out of C:\

Good news, i mannaged to fix the problem without having to do a repair install.

Remember those 4 user names that i mentioned earlier? I changed my C:/'s ownership to those specific names, the other two present would not let me grant them total access to the drive and would produce errors, luckily the system picked up the two deleted accounts up as legitimate users still on the system and then realised that it's functional to give those accounts ownership of the drive.

The names of the accounts werent avaliable by default, i had to find the names to grant access to, should've thought of that sooner, I thought that since i deleted them they woulden't still be recoverable.

Long story short no drastic measures were required and i luckily got out of what would otherwise be a total dead end.

Also reinstalling windows 7 woulden't be that much of a problem anyway, i have the OS itself stored on a 30gig partition, all my important files run on secondary drives.

Thanks guys

Trust me on this...you still need to do a reinstall before you continue using your system. What you've done is butchered the normal permissions and ownership on your drive, and you are going to have nothing but problems as you continue to use it.
 

My Computer My Computer

At a glance

Windows 7 Ultimate RTM (Technet)3.00 gigahertz Intel Core2 Duo E84004GBATI Radeon X1950 Pro
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate RTM (Technet)
CPU
3.00 gigahertz Intel Core2 Duo E8400
Motherboard
ASUSTeK Computer INC. P5K/EPU Rev 1.xx
Memory
4GB
Graphics Card(s)
ATI Radeon X1950 Pro
Sound Card
Built in HD Audio
Monitor(s) Displays
22" Gateway LCD
Screen Resolution
1920 x 1200
Hard Drives
ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK
Keyboard
Logitech G11
Mouse
Microsoft Wireless Laser Mouse 5000
Internet Speed
13.44 Mbps
Is there no other alternative?

I am grateful for you trying to help regardless.
I would think a "Repair Install" would get you back up and running without deleting everything and starting over.

http://www.sevenforums.com/tutorials/3413-repair-install.html

Perhaps not a very good analogy, but sort of: think of buying food at a fast food joint. You only see the kid at the cash register, but behind the wall are all sorts of people doing different jobs so that the kid can put your food on a tray and pass it to you. What you have done is dismiss all the people behind the wall and now can't get your order filled?

Cheers!
Robert

A repair install won't change permissions....
 

My Computer My Computer

At a glance

Windows 7 Ultimate RTM (Technet)3.00 gigahertz Intel Core2 Duo E84004GBATI Radeon X1950 Pro
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate RTM (Technet)
CPU
3.00 gigahertz Intel Core2 Duo E8400
Motherboard
ASUSTeK Computer INC. P5K/EPU Rev 1.xx
Memory
4GB
Graphics Card(s)
ATI Radeon X1950 Pro
Sound Card
Built in HD Audio
Monitor(s) Displays
22" Gateway LCD
Screen Resolution
1920 x 1200
Hard Drives
ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK
Keyboard
Logitech G11
Mouse
Microsoft Wireless Laser Mouse 5000
Internet Speed
13.44 Mbps
The solution suggested by richc46 is very easy and will not erase any data.

I am not in Win 7 right now, but how did you delete System? Did you delete it from the security tab for the C: partition and maybe that is why you cannot access it? Can you go back and add the System and fix it?

You say you can access the partition using a shortcut. It almost sounds like you mapped it.

If i search any file in the windows directory and then go to link location, it will take me to the file and thus in explorer i'm inside c:\windows\.

Also you're right i deleted System through the security tab.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Clean reformat 7 - and watch what you delete this time.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x86-64[email protected] 1066MHz FSB6GB DDR3 1066MHz9300M GS 256MB Dedicated (Speed) + Intel4500M...
Computer Manufacturer/Model Number
Sony Vaio Z46GDU
OS
Windows 7 Ultimate x86-64
CPU
[email protected] 1066MHz FSB
Motherboard
Sony branded
Memory
6GB DDR3 1066MHz
Graphics Card(s)
9300M GS 256MB Dedicated (Speed) + Intel4500MHD (Stamina)
Sound Card
Realtek HD Audio
Monitor(s) Displays
13.1' WXGA
Screen Resolution
1600x900
Hard Drives
320GB 7200RPM w/ 16MB cache
Internet Speed
1MB/s
Trust me on this...you still need to do a reinstall before you continue using your system. What you've done is butchered the normal permissions and ownership on your drive, and you are going to have nothing but problems as you continue to use it.

What problems would these be? Everything appears to be functional, i can run command console under admin rights and the few programs i have on this partition all work fine.

As far as the user directory goes, i see no problems.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Good news, i mannaged to fix the problem without having to do a repair install.

Remember those 4 user names that i mentioned earlier? I changed my C:/'s ownership to those specific names, the other two present would not let me grant them total access to the drive and would produce errors, luckily the system picked up the two deleted accounts up as legitimate users still on the system and then realised that it's functional to give those accounts ownership of the drive.

The names of the accounts werent avaliable by default, i had to find the names to grant access to, should've thought of that sooner, I thought that since i deleted them they woulden't still be recoverable.

Long story short no drastic measures were required and i luckily got out of what would otherwise be a total dead end.

Also reinstalling windows 7 woulden't be that much of a problem anyway, i have the OS itself stored on a 30gig partition, all my important files run on secondary drives.

Thanks guys
I'm glad you didn't have to reformat. Reformatting sux any way you slice it.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Good news, i mannaged to fix the problem without having to do a repair install.

Remember those 4 user names that i mentioned earlier? I changed my C:/'s ownership to those specific names, the other two present would not let me grant them total access to the drive and would produce errors, luckily the system picked up the two deleted accounts up as legitimate users still on the system and then realised that it's functional to give those accounts ownership of the drive.

The names of the accounts werent avaliable by default, i had to find the names to grant access to, should've thought of that sooner, I thought that since i deleted them they woulden't still be recoverable.

Long story short no drastic measures were required and i luckily got out of what would otherwise be a total dead end.

Also reinstalling windows 7 woulden't be that much of a problem anyway, i have the OS itself stored on a 30gig partition, all my important files run on secondary drives.

Thanks guys
I'm glad you didn't have to reformat. Reformatting sux any way you slice it.

Not if its necessary.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x86-64[email protected] 1066MHz FSB6GB DDR3 1066MHz9300M GS 256MB Dedicated (Speed) + Intel4500M...
Computer Manufacturer/Model Number
Sony Vaio Z46GDU
OS
Windows 7 Ultimate x86-64
CPU
[email protected] 1066MHz FSB
Motherboard
Sony branded
Memory
6GB DDR3 1066MHz
Graphics Card(s)
9300M GS 256MB Dedicated (Speed) + Intel4500MHD (Stamina)
Sound Card
Realtek HD Audio
Monitor(s) Displays
13.1' WXGA
Screen Resolution
1600x900
Hard Drives
320GB 7200RPM w/ 16MB cache
Internet Speed
1MB/s
Good Going, makes you feel good, doesn't it.
 

My Computer My Computer

At a glance

Windows 10, Home Clean InstallIntel Core2 processsor Q8200(2.33Ghz 1333FSB)...6 gbATI Radeon 256MB HD3650
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 420
OS
Windows 10, Home Clean Install
CPU
Intel Core2 processsor Q8200(2.33Ghz 1333FSB) Quad Core Tech
Motherboard
Dell
Memory
6 gb
Graphics Card(s)
ATI Radeon 256MB HD3650
Sound Card
Intergrated 7.1 Channel Audio
Monitor(s) Displays
Dell SP2009W 20"
Hard Drives
640 GB Serial ATA Hard drive
Cooling
Fan
Keyboard
Dell USB Keyboard
Mouse
Dell Premium Optical USB
Internet Speed
DSL 2.85
Good Going, makes you feel good, doesn't it.

Last year i had to do a manual system restore using the live boot CD recovery console, that was rewarding, this was just tediously upsetting.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
@5674 I have worked with Windows NT thru Windows 7 and what you have done to your system will lead to issues later. I have been there. I would do one of two things. 1) Back up all your data and wipe the drive and do a clean install. 2) Find another machine with the same version of Windows 7 and go through all folders and files on the entire system looking at the permissions and setting them the same. This is a long process but will save you a re-install. If it were me I would just do #1. It is so fast to install Windows now-a-days.
 

My Computer My Computer

At a glance

Windows 7 Enterprise (x64); Windows Server 20...16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg

My Computer My Computer

At a glance

WINDOWS 7 rtmAMD Turion 64 x23gbATI Radeon x1200
Computer Manufacturer/Model Number
Toshiba L305d
OS
WINDOWS 7 rtm
CPU
AMD Turion 64 x2
Memory
3gb
Graphics Card(s)
ATI Radeon x1200
Sound Card
Realtekk HD
Screen Resolution
1280 x 800
Hard Drives
Fujitsu 160gb
Internet Speed
1536 kbps
I'm a newbie to Windows 7, but would resetting permissions to default help in this situation:

Reset the entire registry permissions to defaults | Windows Reference

I've haven't had to do this, but it looks promising.

Jc


FYI:

Those settings are nowhere near the default settings. Those settings will make a machine work but they are not default. In many cases the Administrator IS NOT allowed to edit the registry. This is to protect against problems.

Look at the key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ACPI

You will see that EVERYONE has "Read", OWNER RIGHTS has "Special Permissions" and SYSTEM has "Full Control" and "Read" permissions.

So as you can see the link you have provided does not apply the rights as default.

You will find the same with files in %SystemRoot%\System32\<folder>\<filename> as well.
 

My Computer My Computer

At a glance

Windows 7 Enterprise (x64); Windows Server 20...16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
I came into this late but am wondering why System Restore isn't being considered.

Would it not restore the accounts to their same state before they were deleted?
 
I came into this late but am wondering why System Restore isn't being considered.

Would it not restore the accounts to their same state before they were deleted?
Nope. The list of Login accounts wasn't effected. It was the NTFS ACLs, which aren't copied by System Restore.

At least they weren't copied during Vista's System Restore.......
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Meh

Tried system restore? im not sure if it will work, but it's worth a shot.
Another thing you could try is:

1.Open notepad
2.Type sfc /scannow
3.Click save as
4.Write anything.bat
5.Change Text Document to all files
6.Save then run.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-BitIntel Core i7-2630QM 2.0 - 2.9 GHZ8GB RamAMD Radeon 6770M + Switchable Intel Graphics
Computer Manufacturer/Model Number
HP Pavilion DV6-6090
OS
Windows 7 Ultimate 64-Bit
CPU
Intel Core i7-2630QM 2.0 - 2.9 GHZ
Motherboard
Unknown
Memory
8GB Ram
Graphics Card(s)
AMD Radeon 6770M + Switchable Intel Graphics
Sound Card
Beats Audio
Screen Resolution
1366 x 768
Hard Drives
Laptop Hard Drive: 1TB
FreeAgent Go: 250GB
FreeAgent 2: 1TB
PSU
Stock
Case
Stock
Cooling
Stock
Keyboard
Stock
Mouse
Some generic HP mouse XD
Internet Speed
Download:125Kbps
Other Info
USB 3.0, LED Screen, Fingerprint Reader, Beats Audio 4 Speakers, Blu-Ray Drive.
Back
Top