Category Archives: Microsoft Windows

ISO Download Microsoft Windows 10 Anniversary Update

You can direct download the official (untouched) ISO file for Microsoft Windows 10 Anniversary Update (both 32-bit and 64-bit) from Microsoft website at the following link: Download Windows 10 Disc Image (ISO File) Under “Select edition” just select “Windows 10” and click on “Confirm”. The .ISO files are named respectively: Win10_1607_English_x32.iso Win10_1607_English_x64.iso

Disable /SILENT and /VERYSILENT uninstall in Inno Setup

Disable the option to silently uninstall your application: function InitializeUninstall(): Boolean; begin // Default to OK result := true;   // If it’s in silent mode, exit if UninstallSilent() then begin MsgBox(‘This setup doesn”t support silent uninstallation.’, mbInformation, MB_OK); result := false; end; end;function InitializeUninstall(): Boolean; begin // Default to OK result := true; // […]

Set directory permissions using Inno Setup

Add this in your Inno Setup script: [Dirs] Name: "{commonappdata}\YourProgramName\LogsFolder\"; Permissions: users-modify; Flags: uninsneveruninstall[Dirs] Name: "{commonappdata}\YourProgramName\LogsFolder\"; Permissions: users-modify; Flags: uninsneveruninstall The desired folder will have write and modify permissions for all users: Standard User Accounts will be able to modify/write to files inside that folder. Other useful links: http://www.jrsoftware.org/ishelp/topic_dirssection.htm http://www.jrsoftware.org/ishelp/index.php?topic=consts

Disable USB Autorun in Windows XP Vista 7 8

Create a .reg file with this content: Windows Registry Editor Version 5.00   [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:000000ff "NoAutorun"=dword:00000001Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:000000ff "NoAutorun"=dword:00000001 Save the file somewhere and run it. The reg file will disable autorun on all kinds of drives and for all users. This line disables Autorun on all kinds of drives: "NoDriveTypeAutoRun"=dword:000000ff"NoDriveTypeAutoRun"=dword:000000ff […]

Disable CTRL+ALT+DEL options on Microsoft Windows

You can disable all options in the CTRL+ALT+DEL menu on Microsoft Windows: So the above CTRL+ALT+DEL menu looks like this: To do that, you need to create a .reg file with this content: Windows Registry Editor Version 5.00   [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoLogOff"=dword:00000001   [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] "DisableTaskMgr"=dword:00000001 "DisableLockWorkstation"=dword:00000001 "DisableChangePassword"=dword:00000001   [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "HideFastUserSwitching"=dword:00000001 "DisableLockWorkstation"=-Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] […]

Get system information via Regedit on Microsoft Windows

Windows Registry Editor Version 5.00   [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SystemInformation] "BIOSVersion"="V1.09" "BIOSReleaseDate"="07/11/2014" "SystemManufacturer"="Acer" "SystemProductName"="TravelMate P257-EG" "InformationSource"=dword:00000001Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SystemInformation] "BIOSVersion"="V1.09" "BIOSReleaseDate"="07/11/2014" "SystemManufacturer"="Acer" "SystemProductName"="TravelMate P257-EG" "InformationSource"=dword:00000001

Use FFREPORT with FFMPEG on Microsoft Windows

Use this command-line to output the FFMPEG log file to a custom location: set FFREPORT=file=C\:\\Users\\Testing\\Desktop\\ffmpeg\\status.log && ffmpeg -loglevel quiet -report -i test.mp4 new.mp4set FFREPORT=file=C\:\\Users\\Testing\\Desktop\\ffmpeg\\status.log && ffmpeg -loglevel quiet -report -i test.mp4 new.mp4 More info about FFREPORT on FFMPEG documentation.

Check if Hardware DEP is enabled on Windows OS

Make sure hardware DEP is working on your Windows OS. Type this text on cmd.exe command prompt: wmic OS Get DataExecutionPrevention_Availablewmic OS Get DataExecutionPrevention_Available Example output: C:\>wmic OS Get DataExecutionPrevention_Available DataExecutionPrevention_Available TRUEC:\>wmic OS Get DataExecutionPrevention_Available DataExecutionPrevention_Available TRUE Type this text to determine the current DEP support policy: wmic OS Get DataExecutionPrevention_SupportPolicywmic OS Get DataExecutionPrevention_SupportPolicy Example […]

Check if PAE is enabled on Windows 7

Detect if PAE (Physical Address Extension) is enabled in your OS. Type this command in cmd.exe command prompt: wmic os get PAEEnabledwmic os get PAEEnabled Example output: C:\> wmic os get PAEEnabled PAEEnabledC:\> wmic os get PAEEnabled PAEEnabled

Automate Code Signing with InnoSetup

Open Inno Setup, click on Tools -> Configure Sign Tools… -> Add… Name of the Sign Tool: SignToolSignTool Command of the Sign Tool: cmd.exe /c cd "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin" &signtool.exe sign /f certificate.pfx /p yourpassword /t http://timestamp.globalsign.com/scripts/timestamp.dll $fcmd.exe /c cd "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin" &signtool.exe sign /f certificate.pfx /p yourpassword /t http://timestamp.globalsign.com/scripts/timestamp.dll $f Then in your […]