Pages

Search This Blog

Thursday, September 8, 2011

Reduce Windows 7 Boot Time and Shut Down

Simply put, this little collection of tools will help you to gain control on quicker start times, internet confirmation, shut down times as well as throwing in some performance improvements.  As a bit of a start though, lets discuss two of the largest causes of a lengthy boot time on a computer, automatic updating and virus programs.  A great many programs leave files in your startup folder and automatically set themselves to automatic updating on installation.  Automatic updating can increase your boot time by 6-60 seconds, and more, depending on what you have installed.

For example, I use a great optimization utility called Advanced System Care which does a great job keeping my system clean.  It only get used when I choose so I never considered that it would be the cause of a 7-8 second delay in my start time.  It turns out that, in the programs Options menu, there are two check boxes, one for starting the program automatically at startup and the other for automatic updating.  I simply unchecked them and got that time back but who knew right?

The other consideration that I mention has to do with finding the right virus program.  I like freeware myself and have had the opportunity to check the start times of four programs in the past while.  Was I surprised to find that the best program started in the least amount of time was 5-6 seconds while at least two others chocked 10-15 seconds on to the boot time.


a. Configuration File Adjustment

The Configuration File can be found by pressing the WinKey + letter ’R’ simultaneously which will bring up the Run command. From there, type ‘msconfig’ into the box and press enter. While here we are going to perform a few changes to decrease our boot time:
  1. Check  No GUI Boot which will stop the colorful opening ceremonies of the software and save you precious seconds at start up as will these others;
  2. Reduce the Delay time to 3 seconds;
  3. Choose Advanced options and select 2 for the number of processors if you are fortunate to have such; and
  4. Click on OK followed by Apply and then agree to restart your computer.

b. Remove any Unused and Unneeded Services

Windows 7 running services can potentially be the main cause for slow start and performance in a computer system. Many of the services are never used by the computer as the general settings are meant to cover any number of computers and their configurations. On first seeing the Service Applet, the columns will show the name of each service, description, status and startup type. The user needs to carefully consider the properties of each one to determine if it needs to be running or not. The safest method of approach is to set services to manual, when unsure, rather than to disable them.

So, simply press WinKey + ‘R’ to again bring up the Run Command and type in ‘services.msc’ before pressing OK. Double clicking on any service will help in determining if it is useful or not as well as changing its properties.

Some services that start automatically, by default, that can be disabled are:

• Computer Browser
• Distributed Link Tracking Client
• IKE and AuthIP IP Keying Modules
• Offline Files
• Remote Registry
• Tablet PC Input Service (If you are not using a tablet)
• Windows Error Reporting

You can experiment carefully with some services and I would suggest only a few at a time and then return if something doesn’t work as planned or there are adverse results.


c. Eliminate Unneeded Start Up Programs

Start Up programs, as with Windows Services, have the ability to slow your system down a great deal. Start Up programs are a bit more obvious to the typical user however. Many software programs, on installation, embed files within the Startup folder that are running behind the scenes needlessly. Quick Time is famous for this as is MS Office, however, MSN Messenger and the many communications programs that start automatically are a better example.  My best suggestion is to choose quicker boot times rather than starting frequently used programs automatically.

To examine your Startup, press WinKey + ‘R’ and type ‘msconfig’ and OK. From there select Startup and examine the running files. Again, determining what you can shut down may take a bit of work, however, my policy is that if I can start it when I select the program, there is no need for its files to be running all the time and slowing my system.


d. Remove Unused Fonts

I have just counted and was astounded to learn that there were a total of 708 fonts installed on my computer by Windows 7 taking up a whopping ½ GB of space, all but three of which I may never use. Windows loads each and every one of these fonts at boot up and must keep track of them, thus slowing your system. Feel free to cut down on the total number by simply deleting them. Go to Start Menu/Control Panel/Fonts.


e. Get Quicker Internet Confirmation

There is a quick trick to getting your internet to confirm quicker on boot. Press Winkey + ‘R’, type in ‘services.msc', double click and disable Workstation.

PRECAUTION: This tweak is not advisable if your system is located within a network or workstation environment as it will affect the environment itself.


f. Speed Up Your Shut Down Time

Windows 7 allows you to control your shut down time and allows it to be set from instantaneous to a 20 second delay. In considering this, your work habits need to be thought of and whether or not there is data being saved on exit. My shut down time is set at 2 seconds which I find a perfect setting as I hate waiting for a computer to shut down. We need to go into the Registry for this one so buckle up!
  1. Press Winkey +’R’ and type ‘Regedit’ which brings you to the Registry Editor;
  2. Follow” HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control and then look to the right to find WaitToKillServiceTimeOut and double click on it. You can enter a value from 2 to 20000, each value representing a millisecond. Two seconds would be 2000; and
  3. Again click OK and then simply exit the program; it will be saved automatically.

Linux Basic Commands


For changing directory / to /etc
[root@pc1 /]# cd /etc
One step back /etc to /
[root@pc1 etc]# cd ..
Go to previous working directory
[root@pc1 /]# cd -
Go to current login user home directory
[root@pc1 etc]# cd ~
Show the contents of /etc in single color
[root@pc1 ~]#  dir  /etc
Show the contents of /etc in different colors with nature of contents
[root@pc1 ~]#  Ls  /etc
create a folder on root partition
[root@pc1  ~]#  mkdir  /disk
Create a folder in /disk
[root@pc1  ~]#  mkdir  /disk/dir
Create multiple folder in multiple directories with single command
[root@pc1  ~]#  mkdir  /etc/dir1 /var/dir2 /usr/dir3
Create multiple folder in same directory
[root@pc1  ~]#  mkdir  dir1 dir2 dir3
Copy a file in directory
[root@pc1  disk]#  cp  file dir
Copy a file from /disk/file and paste it in /disk/dir/
[root@pc1  disk]#  cp  /disk/file /disk/dir
Copy a directory with –r option
[root@pc1  disk]#  cp  -r  dir  dir2
Copy a file from /disk/file and paste it in /etc with myfile name
[root@pc1  disk]#  cp  /disk/file  /etc/myfile
Remove a file
[root@pc1  disk]#  rm file
Remove a file with forcefully option
[root@pc1  disk]#  rm –f  file
Remove a directory with out –r option and you face will an error
[root@pc1  disk]#  rm dir
Remove a directory with –r option
[root@pc1  disk]#  rm  -r  /disk
Remove a directory with forcefully option
[root@pc1  disk]#  rm  -rf  dir
Move /etc/dir1 to /disk/ with different name
[root@pc1  disk]#  mv  /etc/dir1  /disk/mydir


Rename the folder name mydir to dir
[root@pc1  disk]#  mv  /disk/mydir  /disk/dir
Rename the file name with myfile
[root@pc1  disk]#  mv file myfile
Read a file page by page with less command
[root@pc1  disk]# less  /etc/grub.conf
Read a file page by page with more command
[root@pc1  disk]# more  /etc/qrub.conf
Read first ten lines of grub.conf
[root@pc1  disk]# head  /etc/grub.conf
Read last ten lings of grub.conf
[root@pc1  disk]# tail  /etc/grub.conf
Read first 12 lines with –n option
[root@pc1  disk]# head  -n  12  /etc/grub.conf
Read last 11 lines with –n option
[root@pc1  disk]# tail  -n 11  /etc/grub.conf
Copy the contents of /etc/grub.conf in /disk/file
[root@pc1  disk]# cat  /etc/grub.conf > /disk/file
Append the contents /etc/mtab in /etc/file
[root@pc1  disk]# cat  /etc/mtab >>  /disk/file
Merging tow commands with pipe sign output of the first command is input of second command
[root@pc1  disk]# cat  /etc/squid/squid.conf I more
Count the total lines of squid.conf
[root@pc1  disk]# cat  /etc/squid/squid.conf I wc  -L
Show only spool words in squid.conf
[root@pc1  disk]# cat  /etc/squid/squid.conf  I grep  spool
Flush the contents of file
[root@pc1  disk]# cat  /dev/null  >  /var/log/messages

Mozilla And Netscape E-Mail Back up path

With Netscape Communicator and  Mozilla the default e-mail clients location share the same folder locations for e-mail database:

C:\Documents and Settings\User Name\Application Data\Mozilla\Profiles\
C:\Windows\Profiles\User Name\Application Data\Mozilla\Profiles\
C:\Windows\Application Data\Mozilla\Profiles\

Mozilla profile contains your bookmarks, mail/news files and account settings, stored passwords, address book, security certificates and preferences.

  • Mail. Mail messages are stored in the Mail sub-directory. To back up your mail messages, save the files without extension, for example INBOX. To back up filters too, save the rules.dat file. The *.msf files are index files that will be automatically regenerated if removed. Save the entire Mail directory if you are uncertain what to save.
  • News. News settings and messages are stored in the News sub-directory. Your subscribed groups are stored in the *.rc files. The complete news server groups list is stored in hostinfo.dat. *.msf files store message summaries. To back up news, save the *.rc, *.dat, and *.msf files.
  • Address book. In your profile directory, save abook.mab (personal address book) and history.mab (collected addresses). If you have more than one address book, save all *.mab files.
  • Bookmarks. Save the bookmarks.html file.
  • Saved password data. Username and password data is stored in 12345678.s (the number part is random). Save the file.
  • Cookies. Save the cookies.txt file.

How to install Cisco Unified Communication Manager version 8.x in VMWare?


Cisco Unified Communications Manager Version 8.0 
Cisco Unified Communications Manager Version 8.0 is the powerful call-processing component of the Cisco Unified Communications Solution. It is scalable, distributable, and highly available enterprise IP telephony call-processing solution. Follow the given points to install CUCM 8 in vmware step by step. 
Step-1
             Turn off your Window's Firewall and set a static IP in your Loopback Adapter.  
Step-2
            Configure a NTP Server in GNS and connect with VMware through Cloud. 
Step-3 (a)
username and password.
Now Configure VMware with these settings. Select Typical option. 
Step-3 (b)
                  If you have CUCM-8.0 IOS in DVD then select Installer disc option, If you have CUCM-8.0 IOS in your hard disk or flash drive then select Installer disc image file (ios). Do not select option I will install the operating system later. 
Step-3 (c)
                 Provide information like Name, User name, Password. 
Step-3 (d)
                 Provide Virtual machine name e.g (CUCM 8) and Browse the location where you want to save the CUCM 8 files. 
Step-3 (e)
                 Allocate hard disk size, Minimumm size of hard disk for CUCM 8 is 72 GB and select option Store virtual disk as a single file. 
Step-3 (f)
                Allocate Memory more than 2GB to run CUCM 8 properly and also configure Network Adapter as a Bridged. 
After step-3 virtual machine settings are complete. Power On this Virtual machine (CUCM 8).
Step-4 (a)
                 If you want to check your media resources (e.g hard disk, RAM etc) then select Yes, but if don't select No. This media check is Optional. 
Step-4 (b)
                 Cisco Unity Connection and CUCM Business Edition are not supported on current hardware. 
Step-4 (c)
                 Select Yes for further installation. 
Step-4 (d)
                 Select Proceed for further installation. 
Step-4 (e)
                 If you have any Upgrade patch regarding CUCM 8.0 then select Yes otherwise select No. 
Step-4 (f)
                Select Continue for further installation. 
Step-4 (g)
                Select your Timezone and select Yes for further installation.
Step-4 (i)
                 If you want to change MTU size then select Yes, if don't select Nom, then next step If you want DHCP on this machine select Yes, if you don't select.
Step-4 (k)
                Provide Network configuration. 
Step-4 (l)
               If you want to enable DNS client on this machine select Yes otherwise No. 
Step-4 (m)
                 Provide OS Administrator Login



Step-4 (n)
                Provide Certificate Information. This option about your organization information.
Step-4 (o)
                Select Yes if this CUCM is Publisher. Select No if you have already a Publisher. 
Step-4 (p)
                Provide NTP server's IP address as provided in step-2. 
Step-4 (q)
                Provide Security Password. This password is used in Clustering. 
Step-4 (r)
                If you want to configure SMTP select Yes but if you don't select No.  Now                 Provide Application User Configuration. 
Step-4 (t)
               Select Ok if you provide correct information. Select Back if you want to change anything.

How to display the hidden settings of iPhone handsets?

ip will help you to play with your iPhone mobile phones using secrets codes. These secret codes will work on most of the Apple mobile handsets. You can display the hidden information of Apple handsets and troubleshoot the routine problems with the help of these codes.
Code                                        Action 
*#06#                                           To display the IMEI Number of the mobile

*225#                           Use to display the balance detail of postpaid number    

*#43#                                           Use to verify if call waiting is enabled

*#61#                                           Verify the number for unanswered calls

*#62#                                           Verify the number for call forwarding if no service is available.


*#67#                                           Verify the number for call forwarding if phone is busy

*#646#                          Use to display the minute detail of postpaid number

*777#                                Use to display the balance detail of prepaid number    



*3001#12345#*                         Display the iphone inner settings
*#33#                                           To verify whether barring is enabled or disabled for outgoing
*#21#                                           To display the settings for your call forwarding

Follow the list of latest Apple codes list: