Solved Need help in restoring default permissions of system on specific Drive

Blade

New member
Local time
7:23 PM
Messages
2
Hi all,

I had a bit of a network security breach earlier today. And decided later to fiddle around with the security permissions of my drives in a attempt to reduce the risks to my system.

Then I made a huge mistake that I only realised afterwords, "naturally",...

I had set the drives system permissions to not allow any changes to be made to the drive or its permissions...! :mad:

Now I am quite stuck with my finger up somewhere since I do not find any way to restore the permissions to default and I have no backup to restore to. I have attempted the suggested cmd method of,

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

But does not get all of the database entries restored, I have gone to administrator and accessed the regedit to no avail.

Please help I did see another thread where the following batch file was given to fix a similar problem but it gives me an error.

Bat file unlock:

@echo off
:FRM
cls

title File/Folder Restriction Menu
echo Folder Restriction Menu
echo.
echo Please Enter Access Level...
echo.
set /p a=Enter Path Of File/Folder:
echo.
set /p b=User Name:
set /p c=Permission Type:
echo.
echo.
echo.
if %c%==deny goto lock
if %c%==grant goto unlock
if %a%==menu goto start2
if %b%==menu goto start2
if %c%==menu goto start2
:lock
cacls %a% /e /d %b%
cls
goto start2
pause
exit
:unlock
cacls %a% /e /g %b%:f
cls
goto start2
pause

Error:
"The system cannot find the batch label specified - start2"

Please help if anyone has some advice on maybe fixing this problem?
 

My Computer My Computer

At a glance

Windows 7 64 Bit
Computer type
PC/Desktop
OS
Windows 7 64 Bit
Blade, the problem with your batch file is that there really is not a batch label called :start2

which is what the batch file is looking for to goto..

Rich
 

My Computer My Computer

At a glance

Windows 7 Pro x64 SP1Intel Core I716 GigsNVIDIA GeForce GTX 670M
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Laptop Qosimo X870
OS
Windows 7 Pro x64 SP1
CPU
Intel Core I7
Motherboard
Toshiba Qosmio
Memory
16 Gigs
Graphics Card(s)
NVIDIA GeForce GTX 670M
Monitor(s) Displays
17.7" laptop
Screen Resolution
1600 x 900
Hard Drives
256 Gig SanDisk SSD for C
256 Gig Intel SSD for D
Internet Speed
50/25 FIOS
Antivirus
Vipre (all you can eat for 10 machines)
Browser
IE and FF
Other Info
I have dos 6.22, wfwg 3.11, win98, 2000 and xp VHD's available for testing. MS's Virtual PC works great.
Maybe this helps: i accidentally removed permission for 'authenticated users', and now getting error "access is denied" for my D drive, Then what i did and worked: My computer->right click on D drive- Properties-Security-add/edit and type Authenticated users , ok , all restored..
 

My Computer My Computer

At a glance

win 7intel4 GBradeon
Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell
OS
win 7
CPU
intel
Motherboard
zz
Memory
4 GB
Graphics Card(s)
radeon
Hard Drives
1 tb
Antivirus
zzz
Browser
firefox
Back
Top