Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

  • Country


Everything posted by Outbreaker

  1. Hi, I'm looking for a one line command that would Refresh the Desktop or send the F5 key to the Desktop. Would that be possible with PowerShell or in Batch?
  2. Why is the DTS "Central Brazilian Standard Time" and "E. South America Standard Time" removed? I still have them in my Windows 10.
  3. What about the KB4507704 entry below, was it removed from the the KB4557900? [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Morocco Standard Time] "MapID"="1,66"
  4. I tried it out, but their is still a bug hiding somewhere that prevents it from running with the Timeout code. I also tried a few other methods from the internet but without luck.
  5. Interesting to watch how the script is editing the cookie. One little question i tried to add a short delay to the script to close the div. This should be an easy Task. Well, that's what I thought it would be. for ( let i = 0; i < msgs.length; i++ ) { msgs[i].onclick = function() { setTimeout(function(){ this.style.display = 'none'; clks++; createCookie('clicks', clks, 1); }, 3000); } }
  6. HI, Do you know how to tweak the script so it will only hide the div if it gets clicked 3 times in 24 hours? I also changed the code so that it would work with CSS Style "class" instead of "ID". Is below the proper JavaScript code to do that? FROM: document.getElementById('popupDiv'). TO: document.getElementsByClassName('popupDiv')[0].
  7. H, After google for hours for a JavaScript that would hide a div for X(12) Hours if clicked X(2) Times. I was only able to find a jQuery script that would do this. Could someone help me to convert this jQuery script below in to a vanilla JavaScript? http://jsfiddle.net/mbdu6vtg/ $(document).ready(function() { // If the 'hide cookie is not set we show the message if (!readCookie('hide')) { $('#popupDiv').show(); } // Add the event that closes the popup and sets the cookie that tells us to // not show it again until one day has passed. $('#close').click(function() { $('#popupDiv').hide(); createCookie('hide', true, 1) return false; }); }); // --- // And some generic cookie logic // --- function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function eraseCookie(name) { createCookie(name,"",-1); }
  8. Is it recommended to also include the Primetime CDM plugin into the Basilisk/UXP browser.
  9. Ahh nice. Do i also need to add the LVA file into the basilisk/UXP folders too? Because it's playing videos also without this files.
  10. HI, Would it be possible to add a link to the newest versions into the Help option of this browsers?
  11. 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?
  12. 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
  13. 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.
  14. 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.
  15. 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)"""
  16. 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"
  17. 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".
  18. 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.
  19. 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.
  20. 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.
  21. 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
  22. 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.

  • Create New...