Jump to content

Outbreaker

Member
  • Posts

    376
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Luxembourg

Everything posted by Outbreaker

  1. I would use this on WinNT5.0 and up and PowerShell is only directly included in Win6.1. If supresssing this MSG Box is not possible with a VBScript would it then be possible to skip the CopyHere with a silent switch (/s) when a Font file is already installed?
  2. HI, Is it possible to modify this script to support a silent install command (/s) to suppress the MSG Box when a Font is already installed? Const FONTS = &H14&Dim Dic :Set Dic = CreateObject("Scripting.Dictionary")Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")Dim Shl :Set Shl = CreateObject("Shell.Application")Dim Fns :Set Fns = Shl.Namespace(FONTS)Dim i,v :v = Array("fon","otf","pfm", "ttf") For Each i In v Dic.CompareMode = 1 'Make lookups case-insensitive. Dic.Add i, True Next For Each i In Fso.getfolder(".").Files If Dic.Exists(Fso.GetExtensionName(i)) Then Fns.CopyHere i.Path End If Next
  3. I reversed back to KB975713 because KB2926765 only fixes a Elevation Privilege Vulnerability where you have to be log on locally to exploit this vulnerability. Let's see if MickySoft fixes this until April 2019.
  4. I'm using this command multiple times and it makes it easier to edit and to find typos and i will also using this code in a different scenario.
  5. I use this command in a .inf file. 11,,cmd.exe,,,"/Q /V:ON /C ""SET ""EmptyFolder=%ProgramFiles%\Software\temp"" & PUSHD ""!EmptyFolder!"" && (RMDIR ""!EmptyFolder!"" /S /Q 2>NUL & POPD)"""
  6. After looking into this a little more i think this will not work because the "Add/Remove Windows Components" is using "ocgen.dll" to execute the .inf files. Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\MU]"INF"="WINXPUP.inf""Section"="MicrosoftUpdate""Installed"="1"
  7. I'm using "ocgen.dll" not sure if i could use "advpack.dll" for an UpdatePack without messing things up. This .inf part is being run from the "Add/Remove Windows Components".
  8. The thing is that the "DataStore.edb" file is used by the "wuauserv" service so it needs to be stoped before i can overwrite the "DataStore.edb" file. But no matter what i try the .inf file is always executing the CopyFiles ("DataStore.edb") before the UnregisterDlls (SC stop "wuauserv"). So i try to find a workaround for the .inf file to first execute a command before a copy process.
  9. True "net stop wuauserv" would be a more cleaner way to do this then "taskkill.exe /IM "wuauclt.exe" /F". But still have to find out how to execute this in a inf file before CopyFiles.
  10. Interesting this one works great thanks. For anyone who asks themselves why i need this command here is the complete command i use. CMD /S /Q /V:ON /C "SET "EmptyFolder=%ProgramFiles%\Software\temp" & PUSHD "!EmptyFolder!" && (RMDIR "!EmptyFolder!" /S /Q 2>NUL & POPD)"This will delete everything in a folder but will not delete the Root folder (temp). I'm only not sure if i should use the /S at the beginning or not it works with both.
  11. Here is the best i could come up with (Trimmed down). The "wuauclt.exe" process needs to be terminated so that the "DataStor.edb" file can be overwritten. But this does not works because the CopyFiles is executed before the UnregisterDlls so i'm trying to find a way around this problem. [Version] signature="$Windows NT$" ClassGUID={00000000-0000-0000-0000-000000000000} SetupClass=Base LayoutFile=layout.inf DriverVer=07/01/2001,5.1.2600.5512[Optional Components] MicrosoftUpdate[MicrosoftUpdate] UnregisterDlls = Stop.MicrosoftUpdate CopyFiles = DataStore.Files[Stop.MicrosoftUpdate] 11,,taskkill.exe,,,"/IM ""wuauclt.exe"" /F"[DestinationDirs] DataStore.Files = 10, "SoftwareDistribution\DataStore" DataStore.Files] DataStore.edb, DataStor.edb, ,4
  12. HI, I try for hours to find a way to run taskkill in an .inf file before CopyFiles i tried so many different thinks but none have worked.
  13. The first example didn't work so i used the last one but since i need to have everything in one code line i used this code below this one should work but it doesn't. CMD /Q /C V:ON SET "FM=FolderName" & ECHO "!FM!"
  14. HI, I'm trying to get this first command line here to work but i have no luck to get it working. @ECHO OFFSET "FN=FolderName" & ECHO "%FN%"PAUSE But on separate lines i works. @ECHO OFFSET "FN=FolderName"ECHO "%FN%"PAUSE
  15. I posted this a long time ago it's a bug in the KB2926765 update (shlwapi.dll) MickySoft never fixed it and in 2 month we can celebrate the 1st anniversary of this bug.
  16. You trick worked for me to. Looks like MickySoft did again a great job.
  17. I have exactly the same problem everything worked fine last week looks like MickySoft has again messed this up.
  18. @harkaz Tested it and the fronts problem is gone and i also didn't run into any other problems. Is there any reason why you used the win32k.sys file verison 5.1.2600.6733 and not 5.1.2600.6713 (only one number higher than the KB3013455)? I think there could be an installation problem if Microsoft releases next month a win32k.sys with a file version below 5.1.2600.6734.
  19. Please share.
  20. I could run a test if you upload your modified "win32k.sys" file. Did you compare the Windows Server 2003 x86 Update KB3037639 (win32k.sys 5.2.3790.5534) with the previous Update KB3013455 (win32k.sys 5.2.3790.5513)?
  21. It's really said that no one that has access to Windows XP Custom Support are posting the updates on the internet so that everyone could use them.
  22. Check the version of the "win32k.sys" file in the folder "C:\WINDOWS\system32". And in my option they didn't do a NT5.1 patch is to p*** off the people that are still using Windows XP. It's not the first update mess they didn't fix for NT5.1. :angrym:
  23. A fixed update for the KB3013455 is out but not for the Windows Embedded (NT 5.1) editions. https://support2.microsoft.com/kb/3037639/
  24. Does anyone still remember the KB2926765 bug that breaks the option on Windows XP to change the "Internet" and "E-mail" item on the Start menu? I'm still wating for a Microsoft fix since May 2014.
×
×
  • Create New...