Jump to content

Recommended Posts

Posted

Hello guys,

I'm trying to automate this step for SCCM deployment. This is my first time using AutoIt.

I managed to somehow automate the step from the second picture, but I can't send text to the html form that asks for my credentials. 

I've also attached the Info I got with the WIndows Info tool in the last screenshot.

This is the non-working script that I currently have:

#RequireAdmin
run("powershell -executionpolicy bypass -command Show-WindowsDeveloperLicenseRegistration")
WinWait("[CLASS:#32770]")
WinActivate("[CLASS:#32770]")
ControlClick("[CLASS:#32770]", "", "[CLASS:Button; INSTANCE:1]","left","1")
Sleep(5000)
WinWait("[CLASS:#32770]")
WinActivate("[CLASS:#32770]")
Send('{TAB}'
Send('{TAB}'
Send('username@company.com')
Send('{TAB}')
Send('password')
Send('{ENTER}')

Can anyone here help me with this? Thank you!

1.png

2.png

3.png

4.png

5.png

6.png

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
  • Recently Browsing   0 members

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