I am trying to create a program with python, I wrote code that allows one computer to connect another, I don't know how I can see the other computer desktop and control it's running programs
ip = "127.0.0.1"
username = ""#"username"
password = ""#"password"
try:
print ("Establishing connection to %s" %ip)
connection = wmi.WMI(ip, user=username, password=password)
connection.Win32_Process.Create(CommandLine="notepad.exe /c text.txt")
print ("Connection established")
except wmi.x_wmi:
print ("Your Username and Password of "+getfqdn(ip)+" are wrong.")