def test_global_reg2(): code = api.set_reg( [host], key=r"HKU:\*\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="Wallpaper", data=r"C:\pic1.jpg") code = api.set_reg( [host], key=r"HKU:\*\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="NoDispScrSavPage", data=1, datatype="dword")
def change_defualt_user_reg(): code = api.set_reg( [host], key= r"HKU:\default_profile\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="Wallpaper", data=r"C:\pic.jpg") code = api.set_reg( [host], key= r"HKU:\default_profile\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="NoDispScrSavPage", data=1, datatype="dword")
def test_reg(): # api.set_reg([host], key="HKU:\.DEFAULT\Software\MyCompany", value="Young", data="good") code = api.set_reg( [host], key=r"HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="Wallpaper", data=r"C:\pic1.jpg") print "return code:", code code = api.set_reg( [host], key=r"HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="NoDispScrSavPage", data=1, datatype="dword") print "return code:", code
def hide_user(): code = api.set_reg( [host], key= r"HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList", value="iscas", data=0, datatype="dword")
def hide_user(): code = api.set_reg([host], key=r"HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList", value="iscas", data=0, datatype="dword")
def change_defualt_user_reg(): code = api.set_reg([host], key=r"HKU:\default_profile\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="Wallpaper", data=r"C:\pic.jpg") code = api.set_reg([host], key=r"HKU:\default_profile\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="NoDispScrSavPage", data=1, datatype="dword")
def test_global_reg2(): code = api.set_reg([host], key=r"HKU:\*\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="Wallpaper", data=r"C:\pic1.jpg") code = api.set_reg([host], key=r"HKU:\*\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="NoDispScrSavPage", data=1, datatype="dword")
def test_reg(): # api.set_reg([host], key="HKU:\.DEFAULT\Software\MyCompany", value="Young", data="good") code = api.set_reg([host], key=r"HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="Wallpaper", data=r"C:\pic1.jpg") print "return code:", code code = api.set_reg([host], key=r"HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System", value="NoDispScrSavPage", data=1, datatype="dword") print "return code:", code