Please click here if you are not redirected within a few seconds.
Windows Development Setup › shanebow.com
Windows Development Setup

Contents


Misc


Set default image editor to GIMP

That one entry affects all file types that Windows classifies as images. Interestingly, Windows does not consider GIMP xcf files to be images, but then they open in GIMP by default anyway.


Dependency Walker

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules.

Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.


PM2

PM2 is a daemon process manager that will help you manage and keep your application online 24/7

PM2 Example Commands

Install PM2

 npm install pm2 -g
 npm install pm2-windows-startup -g
 pm2-startup install
 pm2 start myApp.js --name mySuperApp
 pm2 save
 reboot
 pm2 ls

Note: Puts logs, config files in C:\Users\.pm2


Running Scripts

Useful management scripts are found in the System32 folder. The default program for running scripts is wscript.exe which is a graphical windows program. However, it is often much more convenient to use the command line version:

Click on start menu.
Type cmd in search field.
Right-click on cmd.exe and select on Run as Administrator, to allow all privileges.
Type wscript //H:cscript to switch script execution to the command line version.
Run some vbs command(s) such as slmgr -rearm
Type wscript //H:wscript to return to the default graphical script execution program.
Reset Windows 7 Rearm Count

First, try using regedit to change the SkipRearm keys value data to 1: This key is found at HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/WindowsNT/CurrentVersion/SoftwareProtectionPlatform/SkipRearm

Then rerun slmgr -rearm. But if that doesn't work do the following...

Create c:\reset.bat:
reg load HKLM\MY_SYSTEM "%~dp0Windows\System32\config\system"
reg delete HKLM\MY_SYSTEM\WPA /f
reg unload HKLM\MY_SYSTEM
Reboot and press F8 to get the Advanced Boot Options menu
Select Repair Your Computer
Login and select Command Prompt
Execute c:\reset
Set Windows 7 Activation Key

Again use slmgr and use a valid key for the version of Windows

  • Ultimate – slmgr /ipk D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV
  • Professional – slmgr /ipk HYF8J-CVRMY-CM74G-RPHKF-PW487
  • Home Premium – slmgr /ipk RHPQ2-RMFJH-74XYM-BH4JX-XM76F
  • Home Basic – slmgr /ipk YGFVB-QTFXQ-3H233-PTWTJ-YRYRV
  • Starter – slmgr /ipk 7Q28W-FT9PC-CMMYT-WHMY2-89M6G

For more details see Windows 7 Product Key not available


Verdaccio

Verdaccio is an npm package which allows you to create a local npm registry, without any configuration. It's a batteries included project, coming with its own database. It does so by acting as a local caching/proxy server.

Environment Variables