Solved Making files undeletable

roboticarm

Banned
Local time
11:42 PM
Messages
225
Location
Earth's core
Hi everyone. :)

I have Windows 7 HP with 2 user accounts. 1 admin and other under the "users" group. I have a folder on the HD that I don't want the any "user" to access except admin. What I have done is set the folder attributes to hidden and system protected (attrib +s +h). Now the folder is not visible until a user enables viewing of protected operating system files in folder options. But he/she can search Google and still find out how to enable viewing of all hidden files including system protected folders/files. So this isn't a foolproof method. So I started encrypting the files and now they appear in green color and are not accessible in other user accounts.

But I'm afraid if the user somehow finds and deletes them. How can I make those files undeletable? :rolleyes:
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Thanks UsernameIssues for the prompt reply! ;)

I read the article but I find it a bit too complicated, there are a lot of "steps" and I don't get which ones should I perform and which ones not. :o

Can you please explain the same in a shorter way? I am scared to mess with the permissions.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
I might be able to explain it in a shorter way, but first, let me ask:
Can the folder that you want to limit access to be placed on the desktop of the admin user?
Does the admin account use a password?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Oups.... Hehe. thought of helping you. made a hidden map. and cant find it or delete it..
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 64Bit
CPU
Intel i7 6700K Cooled by Noctua NH-U14S
Motherboard
ASUS Z170 Pro Gaming
Memory
16GB 2133MHZ DDR4 Corsair
Graphics Card(s)
ASUS Direct CUII OC GTX 660
Sound Card
Supreme FX (On-Board)
Monitor(s) Displays
1: 24" Asus 144hz 2: 21.5" Benq 3: 20" Hp 2009m
Screen Resolution
1:1920x1080 2:1920x1080 3:1600:900
Hard Drives
Primary/OS: Samsung 850 EVO SSD 250GB
Secondary/Main: Seagate 1TB SSHD 3.5"
Media/Backups: WD Green 2TB HDD 3.5"
PSU
Corsair RM 650W
Case
Fractal Design R4
Cooling
2 140mm Noctua NF-A14 ULN, Noctua NH-U14S Cpu cooler
Keyboard
Corsair K70 RGB
Mouse
ROCCAT Kone XTD
Internet Speed
100 Mbit/s Download 100MBit/s Upload
Antivirus
F-Secure SAFE
Browser
Chrome, Firefox
Other Info
I hope hanging up your harddrives in rubber-bands for noise reasons isn't too harmful for the drives :S, but eh, rather silence than lasting drives.. :|
@UserIss As far as I understand you, that folder is not on the desktop of the admin account but I can place it temporarily if you ask me to do so. And yes, the admin account has a password.

Thanks in advance. :)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
Does it matter where the folder is?

Can it stay on the desktop or in another folder that the admin uses (My Documents, My Pictures, ....)?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Yeah it does matter. Sometimes I have to give others users access to admin account temporarily. I dont want them to access that folder anyway so I have placed that folder at a safe location. It would be great if its possible to make it undeletable at that safe location.

Thanks in advance.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
Thanks for the additional info. The fact that you temporarily have to give others users access to admin account changes everything. Anyone with access to that account can delete most anything. Also, if you (as admin) need to be able to edit files in this folder, then I think that your admin account must be able to delete files within the folder.

It is probably time to not reply on NTFS permissions and move the folder/files to a USB flash drive. You can keep them encrypted, but having them on a flash drive (or an external USB drive) that you can remove, should keep others from deleting the folder and its contents.

Also, since these files are important, you should be keeping them in more than one place as a backup.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Thanks for the reply.

Yes I do have proper backups. When I need to give other people admin access, I will be present in person before the machine to make sure that they don't delete the imp data. But I still want that data to be undeletable through any other user account other than my admin account. Is it still possible? Something up with those permissions? I tried but it's quite confusing. After changing the permissions, I myself was unable to access the folder or delete it. Then I had to take ownership of the folder to regain access to it.

Thanks.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
As you found out, folder/file permissions should be able to prevent users from getting to the folder. You just need to understand how to retain access for your admin account. I cannot walk you thru that right now - maybe later.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
As you found out, folder/file permissions should be able to prevent users from getting to the folder. You just need to understand how to retain access for your admin account. I cannot walk you thru that right now - maybe later.

Maybe it's a bit too complicated for me... :o

Though I can wait, it's not that urgent. ;)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
See if this helps:

You might want to watch this at 720p and in the full screen mode.


You will want to add your admin account where you see me add username.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
See if this helps:

You might want to watch this at 720p and in the full screen mode.


You will want to add your admin account where you see me add username.

Oh man that worked like a charm! :D Microsoft should have made it simpler...it's too complicated though works fine!

Thankyou UserIssues so much! I can't rep you - forum is asking me to distribute rep elsewhere, lol :p
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium x64
Glad that it worked :-)
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Back
Top