Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 07-12-2011, 07:31 PM   #1
In Runtime
atomichybrid's Avatar
Join Date: Apr 2007
Posts: 174
Default Did the dumbest thing in my life

Okay i have recently found this command to make the files inaccessible and undeletable

Command : cacls filename /e /c /d %username%

Now heres the the dumb part, I thought it might be cool to do the same on the network hard drives where there are some folders I dont want tampering. I've accidently made the network hard drive inaccessible and using the command:

cacls Z:\ /e /c /g %username%:f

is useless and give me access denied to the harddrive.
Ive tried going into command prompt in administrator mode and used the same command but cacls is somewhat deprecated and recommends using icacls.

Bottom line I need to access the network hard drive which I've stupidly locked and there is no way i can get around it. I would appreciate the help and if there is a solution to this it would be a very big lesson that I've learnt.


EDIT: All is good now, there was a weekly IT check up and the expert fixed it up. Dont know how to close this but the problem is now solved.
|ASUS N56VG|i7-3630QM@2.40 GHz|8GB DDR3 RAM|NVIDIA Geforce GT 650M 4GB|512 GB Crucial M500 SSD|1TB HDD|
atomichybrid is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 09:09 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0