Search the Community
Showing results for tags 'dism'.
-
I'm running AutoIT v3.3.14.2 on Windows 10 ver 1511. The September Cumulative Update from Microsoft has broken the way some third party credential providers work. You can see more detail here: https://www.novell.com/support/kb/doc.php?id=7018051 So I want to automatically and silently remove this update from all our machines. In Windows 7 I could easily do it with this: wusa.exe /uninstall /kb:3185614 /quiet But apparently Microsoft has taken away the /quiet switch functionality in Windows 10. wusa /? will show that the switch is there, but when trying to use it error 87 (invalid parameter) is returned. So I relented on that point and decided to run wusa without the quiet switch. It pops up a child window that prompts for confirmation before uninstalling the update. Sounds like a perfect job for AutoIT, right? Except I can't get the button to click, either using ControlClick or ControlSend or Send. I can select it by sending the {Alt} key to it and it highlights. But I just can't get it to accept the click or {Enter}. I then tried using Powershell and DISM to remove the package, but this is a hotfix and doesn't have a package name, so I can't use dism /remove-package, either. Does anybody have any other ideas how this can be done silently?
-
Hey, i'm working with a dll which comes with Windows 10 (Pro x64) called dismapi.dll, which is located under C:\Windows\system32\dismapi.dll. I tested some of it's functions with my compiled script on Windows 10 (x86) and it worked properly, but when i run my script on my x64 system with directive set, it doesn't work anymore (AutoIT breaks on line 1255 in DISM.au3). Without this directive it works. Is there something i have to change to get it work? Thanks for help...(You can use my attach. If you use WIndows 10, it will work directly, on Windows 8 you might have to adjust the dism api path ($ghdismapi) in DISM.au3. On Windows 7, you will need Windows ADK to get DISM.) _DLLStructDisplay.au3 is only for debug. https://msdn.microsoft.com/de-de/library/windows/desktop/hh825837.aspx Misc.au3 _DLLStructDisplay.au3 DismConstants.au3 DismExample.au3 DISM.au3