22
October

XCACLS, And Some Other Permission Security Recovery Tools Like The SUBINCAL

posted October 22nd, 2006 posted posted by Loz

What can you do to ensure that your hard drive you want to copy keeps the security permissions?

The follow article contains a few tools that can help save a Windows Operating System Administrator time of a very large scale permission security dilema.

Lets use an exampe for the Extended Change Access Control List (XCACLS) tool so we can provide a visual picture to get a better understanding. You’re in a position now where you need to copy your hard drive data over to another that has around 100GB of data on it, which holds thousands of files and folders. These type of operating systems happen to be a part of a Microsoft Windows 2000 OS domain System, and the permissions are quite rough in definition. To start this process we first need to make a duplicate copy of this data we are having security problems with and then start using a synchronization to some other sort of duplication tool and leave it be for the day. As you return the next day everything seems to be copied and looks ok. When you try to access the data, there’s a problem.

Now the information has been replicated on to the new hard drive we can’t acess it any more: permissions security problem.

What you probably didn’t get straight away until now is the information you just copied is the data from the root directory of the hard drive and it had the incorrect permissions declared for it. To add, the allocation of the permissons were configured in such a way that any information that is added to the hard drive is over written with the same security permissions of the root directory. It was an old profile that didn’t exist any more. You may believe this or not, this can happen. Windows Administrators might know what I’m referring to. After all of this fiddling around we’re now left to figure out what we need to do. Do I need to make the necessary changes to the root hard drive so that this time they’ll contain the precise permissons we need to use to access the data and wait hours and hours for the settings to proganate. Or shall I go ahead and re format the newer hard drive then change the inheritance permissions on the root directory and try this again?
Why even bother when there’s a much simplier way. We can get around this by using the SUBINCAL too that helps display or modify Access Control Entries (ACEs) for file and folder Permissions, Ownership and Domain. Or we can use the previously mentioned tool XCACLS, the choice is yours.

To take the time comuming process away to reset file and directory permissions, XCALCS allows you to do this effectively and very fast.

Please note that because time is a limited for me right now I can’t go into great details about how to use the other tool SUBINCAL which you will need to use for complex permission structures.

You will find that the XCALCS tool is a very fast in which it will allow you to remove, change, add and set the security permission settings on directories and files. For instance it allows the replacement of all of the old permissions within the profile account with that of “computingsolutions.txt” on the file “file.txt” with read-only access: “xcalcs file.txt /Y /T /G domaincomputingsolutions:r”.
Although that is easy and very helpful to us, how about changing all of the files and directories that a lot of PC users have thousands of to allow the domaincomputingsolutions profile have complete and full access?
To do this very quickly one could enter the following from the root directory of the hard drive: “for /d %g IN (*.*) DO xcalcs “%g” /Y /T /G domaincomputingsolutions:f”
Then it will then proceed to go through every one of your directories, including sub directories and then file and replace the current permissions with computingsolutions giving it to the full access we wanted to let it have to the object.
Please also take note that I also added double quotes to the start and end of the %g command. Really you don’t need to have this there, however should you have a lot of files that have spaces between each word as your directory name in them you’ll need to have the double quotes. I think it’s best to leave it with the double quotes any way just to make sure that we do not miss those folders that have spaces in between the words.

Are there any other ways we can use XCALCS to help us modify the Security Permissions?

Here’s a few handy tips that you can use when using the Extended Change Access Control List (XCACLS) tool. Take note of the command prompt that allows the means for changing, updating and getting rid of profile accounts and its permissions from a huge number of files and directories.

The following instruction set will replace the existing permission access rights to a profile that contains the permissions with read only access.

for /d %g IN (*.*) DO xcacls “%g” /Y /T /G domaincomputersolutions:r

You can use this example that will not change existing profile permissions, however it does add account, for example in hte local admin account wtih read only permissions.

for /d %g IN (*.*) DO xcacls “%g” /Y /E /T /G administrator:r

You can also try using this which will remove the account “administrator” permissions from all directories, sub directories and files:

for /d %g IN (*.*) DO xcacls “%g” /Y /E /T /R administrator

And the following command will update every one of the directories and their contents you have to allow Domain Admins full access:

for /d %g IN (*.*) DO xcacls “%g” /Y /T /G “Domain Admins:f”

I tried this test on my Windows Operating system, it allowed me to change the profile account permissions on about 20000 directories and files in less 50 seconds. On one of my web servers I was able to get around a 300% increase in speed. Now it’s really fast.

No Comments »




interactions levitra niacin metformin diovanxanax minimum and maximum detection timezyban nicoretteadd wellbutrin or adderalllexapro paxil vsultram adverse reactionsbuy leagle phenterminemeridia headacheelavil causing bone lossmetformin pcos monitorevista special informationcheap online genric ambienatenolol and furosemide taken togetheraccouter viagrageneric metformin erorder tramadol online without prescriptionxanax fear of needlesnexium in waterimpotent because nervous viagrainternet nexiumerectile dysfuntion medication atenololfluoxetine companiescortisol and adipexdrug facts about prescription ultramwhat is augmentin xrpaxil and hostilityzolpidem generic ambien fucked updiscount no prescription phentermine 30mgpaxil anti-depression medicationlong term effects of synthroidtramadol appearancephentermine discount no prescription comparelevitra cockviagra stanozololwellbutrin cymbaltaside effectspaxil an ssriviagra discount retailconsultation xanax alprazolam order anxietyalternative buy viagramixing diet pills with wellbutrinhow much paxil to takesoma online without prescriptionget high orr ultram erlevitra headachecheapest generic meridia canadafed ex tramadolsoma crystal water bottleaugmentin 315 mg liquidxanax deliverreplacement for valiumother names for xanaxdistrict of columbia viagra flomax interactionlong term damage from tramadoltricor pravachol zocor paxiladipex columbus ohiomeridia phentriminedifference between zovirax and valtrexdoes paxil give you night tremerscialis tadalafil free sildenafil rx-partnersdelaware celexa hydrobromide citalopramlong term effects of cialisfioricet ebpvs wellbutrin zybanphentermine 15gmnrop phentermine codphentermine 30 mgfinasteride efeitos colateraisfosamax osteonecrosis5 cheap sildenafil citrate 101carisoprodol manufactured by mutual pharmaceuticalsxanax what it looks likeeffexor wellbutrin side effectsdrug screen for ultramenhancing xanaxzovirax vs valtrexdrinking alcohol and ambienamoxicillin to treat tracheobronchitiswho sells propeciaover dose of synthroidpharmacies online with lorazepameffects of celexa on sex drivesoma teensxanax xr anxiety disorderviagra kamagra cialis anerosvertigo with atenololwellbutrin memory side effectultracet controled substanceatenolol and adhdcialis cheepcelebrex nexium valtrex wetrack it zybanwhat is clomiphenepaxil sideeffectspaxil nausea crampsdj valium doin it again120 carisoprodol tab watsonlong term effects of paxilnexium and vitamin b6zyban shopfinasteride lotionviagra before and after photostramadol 50 mg side effectsxanax wellbutrinfioricet ageherbal iv viagrazyban directions quitting smoking15mg meridiaxanax and no prescription andzoloft and lorazepam interactionviagra us man healthterm wellbutrin memory shortg3721 xanax picsonline prescription viagra phentermine meridia adipexfile viewtopic t 144 viagrapicture of an orange valiummetformin hydrochloride and ticsambien as a sex drugotc xenical walgreenswelbutron vs zybandeaths caused by xanaxwere to buy xanaxphysciological effects of xanaxbuy cialis omlinecephalexin and metforminviagra online discount4 xanaxpeyronie's disease and viagracelecoxib over diclofenacrash caused by dyes in synthroidclomiphene nitrate cash on delivermetformin and appetite problemszyban csnadiancelexa anemiasildenafil trochesambien breast milkevista musemeridia and allergic reactionslamisil 1 creami had withdrawal tramadolwellbutrin weight side effectviagra below wholesalevision problems and alprazolampremarin topicalmost popular information about levitrasoma hair removejohn colins san francisco somaalprazolam information on healthlinephentermine phentermine side effects take phenterminephentermine shippedamoxicillin used forphentermine without rx shipped to usacialis multiplenexium and foot crampsuk propecia salesnexium healthtadalafil salediscount ultram onlineadipex resultsdoseof xanax totem polevalium hiccupbuy xenical viagra propecia com carisoprodolwhere does amoxicillin come fromtetracyclines foodzithromax perscriptionviagra from canada legitimatehow long does lorazepam lastultram er tab 100mgwhat is the dosage of somaambien cr golf swing ability agreeadipex 37.5 online doctorviagra reminder adscoumadin viagracheap carisoprodol free shippingdefine levitrahow much finasteride while on cyclecheapest mail order phentermineside effects of tetracyclinewhat does lorazepam do to kidsxanax pills be injectedambien lawsuit driving massachusettsside effect of atenololnormal dose of paxilsoma 44 picsmastercard carisoprodolwithdrawal and effexor and paxiltramadol online dream pharmaceuticalunited states bupropion hcl wellbutrinviews on synthroidambien and alcoholcarisoprodol muscle relaxants2mg xanax purchase online overnight eliverybuy real adipex pay with mastercardviagra pain relief womenidentify valium n 345fioricet w cocinebuy xanax online nowcelexa abusephentermine and cheapoffshore pharmacy phenterminebrand viagra without prescriptioncheap tramadol somazolt ambienonline phentermine california no prescriptionxanax doctor consultation us pharmacyzithromax powderby check online order phentermineativan and xanax prescribed togetheranxiety wellbutrin srcomparison of cialis levitra and viagraplavix cialis taken togetherwellbutrin tramadol seizurewellbutrin have long term effectsactos phentermine cvs pharmacy photoonline pharmacy adipexerotic stories gay viagrapharmacy tech career carisoprodolsildenafil hourxanax prozactaking paxil and then taking celexaphentermine no prescrtiptionpolska viagraejaculation disorder with celexadrug interaction nexium rolaidsmetformin package insertfda approve paxilhow long can nexium be takentramadol generic namespaxil neck spasmpropecia medicationbuy phentermine 90 pills 90 dolarsdxm mixed with xanaxtramadol 120 ea codsoma watson cheap mastercardphentermine for sale without perscriptionlow cost phentermine us licensed pharmacieszyban guideambien rem sleepdog ate xanax ambienwhat does ultracet look likecelexa and autistic childrencelecoxib synthesissucralfate with nexiumdifference in augmentin and amoxicilliondrug interaction prozac and zybanserotonergic drugs valiumadipex loss pill weightampicillin amoxicillin penicillinlamisil catcialis no prescription cheapphentermine and paroxetinezanaflex medicationmetformin stopping and startingphentermine ohiomeridia grants banking and finance legalviagra uninsured depositsoral amoxicillin and syphilisevista side affectsambien cleanse colongetting off lorazepamtramadol withdrawal self helpakane soma videoswellbutrin adipex combinedbefore ambienabodominal pain phenterminephentermine pain breasthospital meridia southpointecan i take ambien when pregnantphentermine rxmexico online buy ultrampropecia not workingfluoxetine schizophreniawhat category of drug ambiencialis and clarithromycincheap adipex p pharmacy onlinejoke viagraatenolol on line pharmaciesmelatonin vs ambientadalafil ic35evista ordermouse somarestaurant soma beverlyphentermine and topiramate emotional side efectsphentermine safetycialis viagra levitra trusted pharmacy catalogaspen clinic adipex couponsfioricet withdrawal symtomsarticle insider adipex diet pillscialis next day shippingparoxetine vs paxilclaim status lawsuit for viagraorder xanax online no perscriptiondoes phentermine really worksfioricet genericamoxicillin infection yeastpaxil paroxetine hcl prescribing information glaxosmithklinepaxil elavilpremarin and thinning tissuretaking librium with xanaxalprazolam withdrawal symptomsalprazolam no prescription orderpicture of ultramfinasteride in genesiswhats better wellbutrin or effexorsynthroid menphentermine and b12 shots austin txcan augmentin cause bloatingwellbutrin withdrawl angeradipex and side effectsatenolol 100mg tablet price from canadabuy tramadol online cod buy ultramescasez de metforminviagra belgiquelowes t online phentermine pricemail order clomiphene citrateviagra etcviagra falls docs of rockvalium xanax cloneazapamvalium zanex onlinne presciptionpicture of tramadolwellbutrin and agitationtramadol intensify other drugssoma message boardsoma cube gravestone solutiononline pharmacy cialiszithromax dry mouth2cialis generic levitra viagraamoxicillin be taken with alcoholweb keywords phenterminephentermine cap 30mgsuperior drugs phentermine 90 countbuy phentermine adipex onlineambien 10 informationonline catalog buy phentermineadipex diet drugvaltrex information onphentermine forum2 comparison levitra viagrais xanax an addictive drugtramadol detox side effectstv commercial fosamax plusmetformin efficacy diabetes type ii algorithmviagra as altitude medicinedifference between celexa and paxilcitrus greening and tetracycline injectionlorazepam injection stability room temperaturexanax impotancetramadol ordersclomid and glucophage and trigger shotambien discountaugmentin withdrawal effectsvalium detoxificationsoma pot ncias mesma basewhat are the ingredients in wellbutrincheap overnight phentermineproper name for valiumfemale uk viagrameridia w polscevalium familysildenafil sample india silagrameridia mexico bus fareassociation between intravenous premarin and strokephentermine no subscriptionlevitra levetriamedil journals pulmonary hypertension viagrapropecia haar groei middelmarijuana cialisbuy darvon and somawellbutrin spleendiflucan vs lamisilmetformin and menphendimetrazine phentermine cheap mastercardviagra vs levitra vsviagra free without prescriptionrepeated use cialisviagra in storessoma supreme waterbedbuy phentermine from china mexicocustomer reviews about save generic phentermineedta and tetracyclinevalium salewellbutrin tdhawellbutrin combined to zoloftwellbutrin sr bupropion hawaiinova evistacheap xanax overnight deliverytalk about meridiaunsecured loan buy tramadolnecrotic bone pain zithromaxmeridia 15mg no scripttry levitra sample packsoma fly agarichair loss synthroidadipex reviewwellbutrin sr and cymbalta togethervalium wpicture of 1 mg lorazepamdoes phentermine cause positive drug testside effects celexahcg injections clomid glucophage multiple birthswilliams medical reassurance valiumzyban dosingactive ingredients of celexasoma sutraaddiction to cialiszenegra cheapest viagra substitute sildenafillunester or ambienbuy adipex online cheap pharvalium gel for seizuresmedicine antidote for alprazolamnexium caps side affectsaugmentin reactionphentermine blue clear capsules thailandbuy valium onlne uktramadol rxxanax zoloft andcompare generic cialis pills to levitracheap no prescription adipexdrugs similar to ambiencheap phenterminebuy tramadol online 200 overnightcan paxil cause suicidezovirax shingleswhat age group uses alprazolamtramadol boxer dogsvalium mg alcoholphorum phenterminecandidas lamisilonline cheaper carisoprodolpurchasing viagra australiahow much xanax is overdoseinformation on wellbutrin xlbuy u s adipexclomiphene citrate precursor dissolutionpay pal order ultramtaking xanax and motrin togetherultracet tablet mcntadalafil softtabs worksaxcion and phenterminevalium or zanaxtramadol sidclub soma sports arenabuy alprazolam 2nd daysoma steroidphotograph of xanaxsuppliers of viagra in ukwellbutrin weight loss storieslawsuit action celexa classactos ambienbuying xanax in chinathe strokes soma mp3how valtrex workscelexa paxillowest price phentermine gtpropecia vs finasteridetinnitus meridiaaugmentin ndmetformin ranitidinegeneric meridia onlineonline pharmacy prescriptions for oxycontin somastramadol withdrawphetermine phentermineambien vs ambien ertramadol c o dpurchase phentermine online pharmacy youuse of metformin to increase pregnancyzithromax and nursing babypharmacy college tramadolcialis pills eli lillypharmacy tech online buy tramadolways to abuse xanaxdoes wellbutrin cause weight gainpaxil warninghow effective is teva fluoxetineweight loss on fluoxetinerecreational use of ultracettetracycline enzyme inhibitiontetracycline and mrsafuture propecia studiescelecoxib medicinepropecia specificationspaxil cr pill descriptionlamisil course of treatmentneon somawill tramadol help with withdrawlsambien blurry visionwellbutrin and celexaambien pillowstramadol 50 mg tabscheap phentermine no prescriptionu id password viagrapharmacokinetics of clomiphene journalschemical analysis celexatramadol efficasydoes wellbutrin give you energyphentermine on line consultation and prescriptionwellbutrin and st johns wortdrug classification of zoviraxviagra pfizerwellbutrin sr message boardscialis viagra levitra tramadolpropecia forums