Iznogoud Posted September 16, 2008 Share Posted September 16, 2008 (edited) I install and deliver many server environments and for the loginscript part i am using KIX32.This works perfectly, but the old DOS screen is bugging me since i learned a bit of AutoIT. So i tried KixForms, but this is way to hard to understand and no easy logic.I want to do this with AutoIT and the following commands keeps returning so if i can find the best way to do this in AutoIT i can create a nice window with logo etc. and text that updates while the login process is running on.Kix32 Commands:@PRODUCTTYPEUSEAddPrinterConnectionInGroupSetDefaultPrinterShell %COMSPEC%....WriteValueThe following commands from AutoIT i can use for these to be replaced:AutoIT Commands:@OSVersionDriveMapAdd andDriveMapDelRun(@ComSpec & " /c " &RegWriteThe InGroup version i could use the one from this topic: http://www.autoitscript.com/forum/index.php?showtopic=37378But is the best solution to use?And last but not least, the Printer commands.Could anyone help me to create loginscripts in AutoIT, so i can replace KIX32 with AutoIT scripts? Edited September 16, 2008 by Iznogoud Link to comment Share on other sites More sharing options...
BillLuvsU Posted September 16, 2008 Share Posted September 16, 2008 It might help if you werer a little more specific in your description of what you want to do. I know I at least have never heard of KIX32. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
Legacy99 Posted September 16, 2008 Share Posted September 16, 2008 It's actually KixTart, Kix32 is the executable. I would be replacing the Kix scripts that I support if Autoit had the equivalent of ingroup, the AD hierarchy is extremely complicated for some of the clients and AutoIT could do it but it would double the amount of code needed. Link to comment Share on other sites More sharing options...
Bert Posted September 16, 2008 Share Posted September 16, 2008 For the printers, look here: http://www.autoitscript.com/forum/index.ph...amp;hl=printers The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Iznogoud Posted September 17, 2008 Author Share Posted September 17, 2008 (edited) The other option i have is using AutoIT as a front end to create the splash window with progress and running kix scripts hidden on the background. But i hoped it was possible to do it all in AutoIT.Kix32 Commands:@PRODUCTTYPE USEAddPrinterConnectionInGroupSetDefaultPrinterShell %COMSPEC%....WriteValueKix32 Commands Explained:Used in an IF statement to check if the OS is Windows XP and not a Windows 2003Used to create/map network drivesCheck if the printer has been installed, if not add the printer.Check if the user is member of a group, if so execute some random commandSetting the default printerRunning a DOS commandReading and Writing of the registry Edited September 17, 2008 by Iznogoud Link to comment Share on other sites More sharing options...
ptrex Posted September 17, 2008 Share Posted September 17, 2008 (edited) @All My 2 cents. I still use KIX And was not planning on replacing it yet for the very same reason mentioned by the OP. But to overcome your InGroup. You can symply use the InGroup.exe from MS which they supply to use in VBScript. Regards, ptrex Edited September 17, 2008 by ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
twillster Posted April 8, 2009 Share Posted April 8, 2009 The AD group stuff can be overcome with the _ADIsMemberOf function from the AD functions script by Jonthan Clelland. 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