Jump to content

Script Paused


Recommended Posts

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

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 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 - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...