Robuis Posted January 6, 2012 Share 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 Link to comment Share on other sites More sharing options...
spudw2k Posted January 6, 2012 Share 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: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now