Just some Windows tips

Again, my new post to help our daily work with the most used client-side operating system, Windows. :p
Sometimes I forgot these little things, so in case my friends or me want to do it again, we’ve got a note.

  • To do after install windows os
    • Turn off autoplay. Open Group Policy (Windows+R, gpedit.msc, Enter). Then open Administrative Templates – System – Turn Off Autoplay. Choose Enabled, then choose All drives. Click OK. Do it for both Computer Configuration and User Configuration setting.
    • Turn off System Restore. Why? Because it consume too much space in our disk. Open System Properties (Windows+Pause Break). Choose System Restore, remove the checklist, OK.
    • Adjust the virtual memory. Still in the System Properties, choose Advanced tab, then click Settings in Performance part. Click the Change button, then adjust it to the recommended size. Usually we need big empty space for windows partition (C:), then don’t use this drive to put your paging file. Make a new partition with size about 1-2 GB for vmem. Then change the vmem from C: to this partition.
    • Allow Remote Desktop. In System Preperties, choose Remote tab. Check the “Allow users to connect remotely to this computer” box, OK. It make our job easier when administrate some PCs without moving our chair.
    • Set password for your drive. If you share your computer with public, don’t forget to protect your secret data partition from public user. You could do it with NTFS as your data file system. Open My Computer, click Tools, Folder Options, then choose View tab. Scroll to the bottom, then uncheck the “Use simple file sharing” box. Then right click to your data drive, Properties. Then set the permission only to your account and no access for the public.
    • Set password for file sharing. Open Control Panel, Administrative Tools, Computer Management. At System Tools – Local Users and Groups – Users. Right click Guest, Set password.
    • Make an autorun.inf folder with Read-only and System file attributes to all of your disk drives. Open command prompt (cmd). Go to the partition root directory (C:\ or D:\ or etc). Type “mkdir autorun.inf” (without quotes), type “attrib +R +S autorun.inf”. You also could make this folder hidden by typing “attrib +H +R +S autorun.inf”. This folder will prevent the autorun.inf from viruses to be copied to our disk drives.
    • Install your hardware drivers. If you don’t have the drivers, use Device Manager to see the VendorID and DeviceID of your hardware, then go googling for the drivers ;)
    • Install windows patch or service pack. Everyone must want to stay away from disturbing things in their computer, right?
    • Install your basic daily life applications. Yup, this step is different for each person. For me, .Net framework, JRE, Flash Player, Shockwave Player, KLMCodec, PDF reader (Adobe Acrobat or Foxit Reader), Office Apps (Ms Office or OpenOffice), Browser (Opera or Firefox), Antivirus, Google Desktop, and so on.
  • Create Firefox new profiles
    • Copy the Firefox shoortcut, and give it new name (e.g. Firefox2)
    • Right click the icon – Properties. Then in Target box, add : -no-remote -p new, so the whole line will be looked like this : “C:\Program Files\Mozilla Firefox\firefox.exe” -no-remote -p new. Then click OK
    • Double-click the Firefox2 icon. Then Firefox profile manager will appear
    • Choose Create Profile, and follow the wizard (give the new profile a name, e.g. FirefoxLight)
    • Then right click the Firefox2 shortcut icon, change new to “FirefoxLight” (or any name of profile you’ve made before). OK
    • In order to be running the different profiles of Firefox simultaneously, don’t forget to set the old Firefox shortcut, too. Right click, to old icon – Properties. Then add -no-remote -p “default”. OK.
    • You could copy the add-ons from the old (default) profile to your new profiles. First, make sure you’ve activate “Show the hidden files and folder”. Then go to C:\Documents and Settings\[your username]\Application Data\Mozilla\Firefox\Profiles. Copy the contents of {***}.default folder to {***}.FirefoxLight folder
    • Remember to use a different theme to help us to distinguish the new or the old Firefox profile. It’s optional ;)
  • Some useful commands (type in Run or Command Prompt)
    • To know the version of Windows in our PC : winver
    • To know the windows installation date : systeminfo
  • Etc (I will add more tips in this post later ;) )

Update [ May 2, 2010 ] :

  • More Windows tips
    • Delete Windows Administrative share. For more info, read here. hxxp://en.wikipedia.org/wiki/Administrative_share.
    • Remember to give password to Administrator account (if you havn’t do it at OS installation). If you didn’t do it, anyone (and of course you) could easily login admin by pressing Ctrl+Alt+Del+Del, then type Administrator, then OK.

About this entry