donpham Posted August 21, 2018 Share Posted August 21, 2018 I am having problem with my script which is used to rename pc and join domain. This script is working with Windows 10 Pro, but not Enterprise edition. When script executed, cursor is flashing few seconds in the "Computer Description" of "System Properties" window, then frozen. I also tried with older versions on Win 10 Enterprise, same issue. My script is enclosed for reference. Has anyone same issue? Is there a fix for this? Thanks for help! pcname.au3 Link to comment Share on other sites More sharing options...
LisHawj Posted August 21, 2018 Share Posted August 21, 2018 You should look into using the AD.UDF instead. You'll never go back after using it. Link to comment Share on other sites More sharing options...
caramen Posted August 22, 2018 Share Posted August 22, 2018 (edited) 1: Post your [Full] code in the code tool. 2: Windows Pro & Enterprise edition is same. You got two solution A:Rework your code with AD.au3 B:Fix your code but post it. When i watch your code btw... You got Zero mouseclick so... If you got one more field somewhere you will be lost. Edited August 22, 2018 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
donpham Posted August 22, 2018 Author Share Posted August 22, 2018 This is my code: ; Start Script Sleep(5000) ; Open Left Windows key Send("{lwin}") Sleep(7000) ; Open System Properties Send("sysdm.cpl") Sleep(5000) Send("{enter}") Sleep(7000) ; Select "Change" option Send("{tab}") Sleep(2000) Send("{tab}") Sleep(2000) Send("{enter}") Sleep(7000) ; Typing a PC name ; select Domain option ;Send("{tab}") ;Sleep(3000) ; typing domain name 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