Category Archives: Microsoft Windows

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

Enable DEP and ASLR on a Delphi XE executable

Enable DEP and ASLR flags on a Delphi XE+ executable: unit Unit1;   //{$SetPEOptFlags $100} //to set the ASLR flag //{$SetPEOptFlags $40} //to set the DEP flag {$SetPEOptFlags $140} //to set both DEP + ASLR in one lineunit Unit1; //{$SetPEOptFlags $100} //to set the ASLR flag //{$SetPEOptFlags $40} //to set the DEP flag {$SetPEOptFlags $140} […]

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 […]

Convert single image to video with VirtualDub

With VirtualDub it is very easy to create a video file using a single image (or in other words, convert a single image file to a video file). Open VirtualDub, then click on “File” -> “Open video file…” and select the image file (PNG, JPG, JPEG, etc), now click on “Video” -> “Frame Rate…” to […]

Write raw disk image to a removable device

Win32 Disk Imager is a free and open source application for Microsoft Windows operating systems designed to write a raw disk image to a removable device or backup a removable device to a raw image file. In short, this tool is used for writing images to USB sticks or SD/CF cards. It is very useful […]