Robuis 0 Posted January 6, 2012 I am very new to Autoit. My goal is to create a script that can do the following.Set two local security policies. I got that working!Add a local group, this I have working too!Now what i need to do is four more things. I need to Edit limits in the dcomcnfg.exe my computer properties, Com Security tab, Access restrictions to allow "Remote access" to the Anonymous Log in user. Next add my custom user to the edit limits button for Launch and activaion permissions with local and remote launch and activation allowed.The other two things I need to do is drill down the DCOM tree for my app and set Launch/Launch activation permissions and access permissions to custom and add my custom usergroup.Can this be done? Where should I start? Quote Share this post Link to post Share on other sites
spudw2k 231 Posted January 6, 2012 I once had to modify access permissions to a DCOM component and was able to do so with just a registry update. I believe how I approached it was I set the permissions I desired by hand, then found those reg keys under HKEY_CLASSES_ROOTAppID and exported a .REG file. Alternatively you could use the AUInfo Tool included with AutoIt to determine the control IDs within the DCOMCNFG gui and manipulate them. The registry method has less room for error and you may find that sometimes (depending on how it is accomplished) automating a GUI in this way may be unreliable. Spoiler Things I've Made: AOT Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Share this post Link to post Share on other sites