Posts

Showing posts with the label windows

Sign-in automatically to Windows 8.1 without entering password

Image
Every time Windows boot, I'm required to enter a password to logon to the Windows, while this is great security feature, though sometime I want the system just boot to desktop without any password. Why? you ask, well just pure laziness I guess, and it's just a media server where I want to set this. I wanted to just press the power button of my PC, and the media server should just be ready. But because the media server service (Plex Media Server) required user to logon to Windows first before it starts itself on the system tray. So here's the steps to set your Windows 8.1 PC to boot to Windows without any password. 1. Enter "control userpasswords2" in the Run menu (Win + R key), and press Enter. 2. Uncheck " Users must enter a user name and password to user this computer. ", enter your password when prompted. Now try reboot the PC.

Installing and upgrading node.js on Windows

Image
Steps for installation: Go to http://nodejs.org/ and download the latest version of node.   I'll proceed with the Windows Installer (.msi) version. You can also go to http://nodejs.org/download/ to download installer for other platform. Run the node-XXXXXXXXXX.msi installer, and proceed to installation like a normal Windows application (basically just Next... , Agree, Next … Finish). I'd strongly suggest that you accepts all the default configurations and selections during the setup. Once installation completed, start a command prompt and type " node --version " and verify that it shows the version of node. Steps for upgrade: I personally don't use any special tools to switch between version of nodes,   I prefer install if using the same Windows Installer. (If you uses all the default settings during setup, upgrading is simple repeating the installation steps to over...

Customizing Windows Command Prompt

Image
Having spend much time switching between Windows, Linux and OS X. I figure my Windows Command Prompt could use a little tweak at least on the PROMPT. Basically from this single line prompt To this (basically making the path section on a separate line than the prompt input) Just like on other platform, the command prompt load it's configuration from the environment variable, and the variable that changes the prompt is "PROMPT".. duh... Head over to configure Environment Variable on Windows and add a new variable to overwrite PROMPT Setting it to $P$G$_$$  should do the trick. You can also modify the prompt using the SETX command to modify the global environment variable. So just type this on a prompt SETX PROMPT   $P$G$_$$ Following is a list of variable that you can use to customize the prompt  $A   & (Ampersand)  $B   | (pipe)  $C   ( (Left parenthesis)  $D   Curren...

Mapping folder into a drive letter on Windows

Sometime I had to work with folders site deep under my file system structure, problem with this is I’ll have to browse to that folder every time I need to get something or put something in, this is quite annoying since the Windows Explorer don’t always remember your recent used folder. To fix this I use a command that available in MS DOS call SUBST, the description of this command is as below C:\>subst /? Associates a path with a drive letter. SUBST [drive1: [drive2:]path] SUBST drive1: /D drive1: Specifies a virtual drive to which you want to assign a path. [drive2:]path Specifies a physical drive and path you want to assign to a virtual drive. /D Deletes a substituted (virtual) drive. Type SUBST with no parameters to display a list of current virtual drives. What I do is just type SUBST K: C:\Documents and Settings\ChaoTze\My Documents\MyProjects\Phase1\Version1\Eng\Project1-2010 After that I can just use the mapped drive K: to acesss all my files