interview question and answer

June 25, 2012

SharePoint Interview Questions with Answers part 2

SharePoint Interview Questions with Answers part 2

Q.What are the features of the new Content management in Office SharePoint 2007?


Ans: The new and enhanced content management features in Office SharePoint Server 2007 fall within three areas:

* Document management

* Records management.

* Web content managementOffice SharePoint Server 2007 builds on the core document management functionality providedby Windows SharePoint Services 3.0, including check in and check out, versioning, metadata, and role-based granular access controls. Organizations can use this functionality to deliver enhancedauthoring, business document processing, Web content management and publishing, recordsmanagement, policy management, and support for multilingual publishing.

Q.Does a SharePoint Web site include search functionality?

Ans: Yes. SharePoint Team Services provides a powerful text-based search feature that helps you finddocuments and information fast.

Q.What are the benefits of Microsoft Office SharePoint Server 2007?

Ans: * Provide a simple, familiar, and consistent user experience.* Boost employee productivity by simplifying everyday business activities.* Help meet regulatory requirements through comprehensive control over content.* Effectively manage and repurpose content to gain increased business value.* Simplify organization-wide access to both structured and unstructured information acrossdisparate systems.* Connect people with information and expertise.* Accelerate shared business processes across organizational boundaries.* Share business data without divulging sensitive information.* Enable people to make better-informed decisions by presenting business-critical information inone central location.* Provide a single, integrated platform to manage intranet, extranet, and Internet applicationsacross the enterprise.

Q.Will SharePoint Portal Server and Team Services ever merge?

Ans: The products will come together because they are both developed by the Office team.

Q.What does partial trust mean the Web Part developer?

Ans: If an assembly is installed into the BIN directory, the code must be ensured that provides errorhandling in the event that required permissions are not available. Otherwise, unhandled securityexceptions may cause the Web Part to fail and may affect page rendering on the page where theWeb Part appears.

Q.How can I raise the trust level for assemblies installed in the BIN directory?

Ans: Windows SharePoint Services can use any of the following three options from ASP.NET and the CLR to provide assemblies installed in the BIN directory with sufficient permissions. The following table outlines the implications and requirements for each option.

1.Option Pros Cons Increase the trust level for the entire virtual server.

In a development environment,increasing the trust level allows you to test an assembly with increased permissions while allowing you to recompile assemblies directly into the BIN directory without resetting IIS. This option is least secure. This option affects all assemblies used by the virtual server.There is no guarantee the destination server has the required trust level. Therefore, Web Parts may not work once installed on the destination server.

2.Create a custom policy file for your assemblies. For more information, see "How do I create acustom policy file?" Recommended approach.This option is most secure.An assembly can operate with a unique policy that meets the minimum permission requirementsfor the assembly.By creating a custom security policy, you can ensure the destination server can run your WebParts.

3.Requires the most configuration of all three options.Install your assemblies in the GACEasy to implement.This grants Full trust to your assembly without affecting the trust level of assemblies installed inthe BIN directory.This option is less secure.Assemblies installed in the GAC are available to all virtual servers and applications on a serverrunning Windows SharePoint Services. This could represent a potential security risk as itpotentially grants a higher level of permission to your assembly across a larger scope thannecessaryIn a development environment, you must reset IIS every time you recompile assemblies.Licensing issues may arise due to the global availability of your assembly.

Q. Does SharePoint work with NFS?

Ans: Yes and no.

It can crawl documents on an NFS volume, but the sharepoint database or logs cannotbe stored there.

Q.How is SharePoint Portal Server different from the Site Server?

Ans: Site Server has search capabilities but these are more advanced using SharePoint. SPS uses digital dashboard technology which provides a nice interface for creating web parts and showing them ondashboards (pages). SS doesn't have anything as advanced as that. The biggest difference wouldbe SPS document management features which also integrate with web folders and MS Office.

SharePoint Interview Questions with Answers Part 1

SharePoint Interview Questions with Answers

Q. 1 What is the difference between SharePoint Portal Server and Windows SharePoint Services?



Ans: SharePoint Portal Server is the global portal offering features like global navigation and searching.Windows SharePoint Services is more content management based with document libraries andlists. You apply information to certain areas within your portal from windows sharepoint Services or directly to portal areas.



Q2. What is a document library?



Ans: A document library is where you upload your core documents. They consist of a row and columnview with links to the documents. When the document is updated so is the link on your site. Youcan also track metadata on your documents. Metadata would consist of document properties.



Q3. What is a meeting workspace?



Ans: A meeting workspace is a place to store information, attendees, and tasks related to a specificmeeting.



Q4. What is a document workspace?



Ans: Document workspaces consist of information surrounding a single or multiple documents.



Q5. What is the difference between a document library and a form library?



Ans:Document libraries consist of your core documents. An example would be a word document,excel, Powerpoint, visio, pdf, etc… Form libraries consist of XML forms.



Q6. What is a web part zone?



Ans: Web part zones are what your web parts reside in and help categorize your web parts when designing a page.



Q7. How is security managed in SharePoint?



Ans: Security can be handled at the machine,domain, or sharepoint level.



Q8. How are web parts developed?



Ans: Web parts are developed in Visual Studio .Net. VS.Net offers many web part and page templates and can also be downloaded from the Microsoft Site.



Q9. What is a site definition?



Ans: It’s a methods for providing prepackaged site and list content.



Q 10.What is a template?



A template is a pre-defined set of functions or settings that can be used over time. There are manytemplates within SharePoint,Site Templates, Document Templates, Document Library and ListTemplates.



Q11. How do you install web parts?



Ans: Web Parts should be distributed as a .CAB (cabinet) file using the MSI Installer.



Q 12.What is CAML?



Ans: CAML stands for Collaborative Application Markup Language and is an XML-based languagethat is used in Microsoft Windows SharePoint Services to define sites and lists, including, for Eg, fields, views, or forms, but CAML is also used to define tables in the Windows SharePoint Servies database during site provisioning.



Q 13.What is a DWP?



Ans: The file extension of a web part.



Q 14.What is the GAC?



Ans: Global Assembly Cache folder on the server hosting SharePoint. You place your assemblies there for web parts and services to share them.



Q 15.What are the differences between web part page gallery, site gallery,Virtual server galleryand online gallery?



Ans: Web Part Page Gallery is the default gallery that comes installed with SharePoint. Site Gallery isspecific to one site. Virtual Server gallery is specific to that virtual server and online gallery aredownloadable web parts from Microsoft.



Q 16.What is the difference between a site and a web?



Ans: The pages in a web site generally cover one or more topics and are interconnected through hyperlinks. Most Websites have a home page as their starting point. While a Web is simply a blank site with SharePoint functionality built in; meaning you have to create the site from the ground up.



Q17. What is Microsoft Windows SharePoint Services? How is it related to Microsoft OfficeSharePoint Server 2007?



Ans: Windows SharePoint Services is the solution that enables you to create Web site for information sharing and document collaboration. Windows SharePoint Services — a key piece of theinformation worker infrastructure delivered in Microsoft Windows Server 2003 — providesadditional functionality to the Microsoft Office system and other desktop applications, and itserves as a platform for application development.Office SharePoint Server 2007 builds on top of Windows SharePoint Services 3.0 to provideadditional capabilities including collaboration, portal, search,Enterprise content management,business process and forms, and business intelligence.



Q18. Who is Office SharePoint server 2007 designed for?



Ans: Office SharePoint Server 2007 can be used by information workers, IT administrators, and application developers.



Q19. What are the main benefits of Office SharePoint Server 2007?



Ans: Office SharePoint Server 2007 provides a single integrated platform to manage intranet, extranet,and Internetapplications across the enterprise.



* Business users gain greater control over the storage, security, distribution, and management oftheir electronic content, with tools that are easy to use and tightly integrated into familiar,everyday applications.



* Organizations can accelerate shared business processes with customers and partners acrossorganizational boundaries using InfoPath Forms Services–driven solutions.



* Information workers can find information and people efficiently and easily through thefacilitated information-sharing functionality and simplified content publishing. In addition, accessto back-end data is achieved easily through a browser, and views into this data can bepersonalized.



* Administrators have powerful tools at their fingertips that ease deployment, management, and system administration, so they can spend more time on strategic tasks.



* Developers have a rich platform to build a new class of applications, called Office BusinessApplications, that combine powerful developer functionality with the flexibility and ease ofdeployment of Office SharePoint Server 2007. Through the use of out-of-the-box applicationservices, developers can build richer applications with less code.



Q20. What is the difference between Microsoft Office SharePoint Server 2007 for Internet sites and Microsoft Office SharePoint Server 2007?



Ans: Microsoft Office SharePoint Server 2007 for Internet sites and Microsoft Office SharePoint Server2007 have identical feature functionality. While the feature functionality is similar, the usagerights are different.If you are creating an Internet, or Extranet, facing website, it is recommended that you useMicrosoft Office SharePoint Server 2007 for Internet sites which does not require the purchase client access licenses. Websites hosted using an “Internet sites” edition can only be used forInternet facing websites and all content, information, and applications must be accessible to nonemployees.Websites hosted using an “Internet sites” edition cannot be accessed by employees creating, sharing, or collaborating on content which is solely for internal use only, such as an Intranet Portal scenario.



Q21.What suites of the 2007 Microsoft Office system work with Office SharePoint Server 2007?



Ans: Office Outlook 2007 provides bidirectional offline Synchronization with SharePoint documentlibraries, discussion groups, contacts, calendars, and tasks.vabnix.page.tlMicrosoft Office Groove 2007, included as part of Microsoft Office Enterprise 2007, will enablebidirectional offline synchronization with SharePoint document libraries.Features such as the document panel and the ability to publish to Excel Services will only beenabled when using Microsoft Office Professional Plus 2007or Office Enterprise 2007.Excel Services will only work with documents saved in the new Office Excel 2007 file format(XLSX).



Q22. How do I invite users to join a Windows SharePoint Services Site? Is the site secure?



Ans: SharePoint-based Web sites can be password-protected to restrict access to registered users, whoare invited to join via e-mail. In addition, the site administrator can restrict certain members' rolesby assigning different permission levels to view post and edit.



Q23. Can I post any kind of document?



Ans: You can post documents in many formats, including .pdf, .htm and .doc. In addition, if you areusing Microsoft Office XP, you can save documents directly to your Windows SharePointServices site.



Q24. Can I create custom templates?



Ans: Yes you can. You can have templates for business plans, doctor's office, lawyer's office etc.



Q25. How can I make My site public?



Ans: By default, all sites are created private.If you want your site to be a public Web site, enable anonymous access for the entire site. Then you can give out your URL to anybody in yourbusiness card, e-mail or any other marketing material. The URL for your Web site will be:http:// yoursitename.wss.bcentral.comHence, please take special care to name your site.These Web sites are ideal for information and knowledge intensive sites and/or sites where youneed to have shared Web workspace.Remember: Under each parent Web site, you can create up to 10 sub-sites each with uniquepermissions, settings and security rights.



Q26. How do the sub sites work?



Ans: You can create a sub site for various categories.



For example:* Departments - finance, marketing, IT* Products - electrical, mechanical, hydraulics* Projects - Trey Research, Department of Transportation, FDA* Team - Retention team, BPR team* Clients - new clients, old clients* Suppliers - Supplier 1, Supplier 2, Supplier 3* Customers - Customer A, Customer B, Customer C* Real estate - property A, property BThe URLs for each will be, for example:* http://yoursitename.wss.bcentral.com/finance* http://yoursitename.wss.bcentral.com/marketingYou can keep track of permissions for each team separately so that access is restricted whilevabnix.page.tlmaintaining global access to the parent site.



Q27.How do I make my site non-restricted?



Ans: If you want your site to have anonymous access enabled (i.e., you want to treat it like any site onthe Internet that does not ask you to provide a user name and password to see the content of thesite), follow these simple steps:



# Login as an administrator



# Click on site settings



# Click on Go to Site Administration



# Click on Manage anonymous access



# Choose one of the three conditions on what Anonymous users can access:** Entire Web site** Lists and libraries** NothingDefault condition is nothing; your site has restricted access.



The default conditions allow you to create a secure site for your Web site.



Q28. Can I ask users outside of my organization to participate in my Windows SharePointServices site?



Ans: Yes. You can manage this process using the Administration Site Settings. Simply add users via their e-mail alias and assign permissions such as Reader or Contributor.



Q29. Are there any restrictions or requirements for accessing the Windows SharePoint Services?



Ans: No. There are no system or bandwidth limitations for international trial users. Additionallylanguage packs have been installed which allow users to set up sub-webs in languages other thanEnglish. These include: Arabic, Danish, Dutch, Finnish, French, German, Hebrew, Italian,Japanese, Polish, Portuguese (Brazilian), Spanish and Swedish.



Q30. Are there any browser recommendations?



Ans: Yes. Microsoft recommends using the following browsers for viewing and editing WindowsSharePoint Services sites: Microsoft Internet Explorer 5.01 with Service Pack 2, MicrosoftInternet Explorer 5.5 with Service Pack 2, Internet Explorer 6, Netscape Navigator




Q31.What security levels are assigned to users?



Ans: Security levels are assigned by the administrator who is adding the user. There are four levels bydefault and additional levels can be composed as necessary.



* Reader - Has read-only access to the Web site.



* Contributor - Can add content to existing document libraries and lists.



* Web Designer - Can create lists and document libraries and customize pages in the Web site.



* Administrator - Has full control of the Web site.



Q32.What is the difference between an Internet and an intranet site?



Ans: An internet site is a normal site that anyone on the internet can access (e.g., www.msn.com, www.microsoft.com, etc.). You can set up a site for your company that can be accessed by anyonewithout any user name and password.An intranet (or internal network), though hosted on the Web, can only be accessed by people whoare members of the network. They need to have a login and password that was assigned to them when they were added to the site by the site administrator.



Q33. What is a workspace?



Ans: A site or workspace is when you want a new place for collaborating on Web pages, lists anddocument libraries. For example, you might create a site to manage a new team or project,collaborate on a document or prepare for a meeting.



Q34.How customizable is the user-to-user access?



Ans: User permissions apply to an entire Web, not to documents themselves. However, you can haveadditional sub webs that can optionally have their own permissions. Each user can be given any offour default roles. Additional roles can be defined by the administrator.



Q35.Can each user have access to their own calendar?



Ans: Yes there are two ways to do this,



* by creating a calendar for each user, or



* by creating a calendar with a view for each user.



Q36. What types of files can I upload / post to the site?



Ans: The only files restricted are those ending with the following extensions: .asa, .asp, .ida, .idc, .idq.Microsoft reserves the right to add additional file types to this listing at any time. Also, no content that violates the terms of service may be uploaded or posted to the site.



Q37.Can SharePoint be linked to an external data source?



Ans: SharePoint data can be opened with Access and Excel as an external data source. Thus, SharePoint can be referenced as an external data source. SharePoint itself cannot reference an external datasource.



Q38. Can SharePoint be linked to a SQL database?



Ans: This is possible via a custom application, but it not natively supported by SharePoint or SQLServer.



Q39.Can I customize my Windows SharePoint Services site?



Ans: YES! Windows SharePoint Services makes updating sites and their content from the browser easier then ever.SharePoint includes tools that let you create custom lists, calendars, page views, etc. You can apply a theme; add List, Survey and Document Library Web Parts to a page; create personalviews; change logos; connect Web Parts and more.To fully customize your site, you can use Microsoft FrontPage 2003. Specifically, you can useFrontPage themes and shared borders, and also use FrontPage to create photo galleries and top tenlists, utilize standard usage reports, and integrate automatic Web content.



Q40. Will Microsoft Office SharePoint Server 2007 run on a 64-bit version of MicrosoftWindows?Ans: Windows SharePoint Services 3.0, Office SharePoint Server 2007, Office Forms Server 2007, andOffice SharePoint Server 2007 for Search will support 64-bit versions of Windows Server 2003.



Q41. What are the features that the portal components of Office SharePoint Server 2007 include?



Ans: The portal components of Office SharePoint Server 2007 include features that are especially useful for designing, deploying, and managing enterprise intranet portals, corporate Internet Websites, and divisional portal sites. The portal components make it easier to connect to people withinthe organization who have the right skills, knowledge, and project experience.



Q42.What are the advanced features of MOSS 2007?



Ans: * User Interface (UI) and navigation enhancements



* Document management enhancements



* The new Workflow engine



* Office 2007 Integration



* New Web Parts



* New Site-type templates



* Enhancements to List technology



* Web Content Management



* Business Data Catalog



* Search enhancements



* Report Center



* Records Management



* Business Intelligence and Excel Server



* Forms Server and InfoPath



* The “Features” feature



* Alternate authentication providers and Forms-based authentication

June 24, 2012

Make Your Windows XP Fast As Never Before!


1.DISABLE INDEXING SERVICES
Indexing Services is a small little program that uses large amounts of RAM and can often make a computer endlessly loud and noisy. This system process indexes and updates lists of all the files that are on your computer. It does this so that when you do a search for something on your computer, it will search faster by scanning the index lists. If you don’t search your computer often, or even if you do search often, this system service is completely unnecessary. To disable do the following:
1. Go to Start
2. Click Settings
3. Click Control Panel
4. Double-click Add/Remove Programs
5. Click the Add/Remove Window Components
6. Uncheck the Indexing services
7. Click Next

2. OPTIMIZE DISPLAY SETTINGS
Windows XP can look sexy but displaying all the visual items can waste system resources. To optimise:
1.Go to Start
2. Click Settings
3. Click Control Panel
4. Click System
5. Click Advanced tab
6. In the Performance tab click Settings
7. Leave only the following ticked:
- Show shadows under menus
- Show shadows under mouse pointer
- Show translucent selection rectangle
- Use drop shadows for icons labels on the desktop
- Use visual styles on windows and buttons

3.DISABLE PERFORMANCE COUNTERS
Windows XP has a performance monitor utility which monitors several areas of your PC’s performance. These utilities take up system resources so disabling is a good idea.
To disable:
1. download and install the Extensible Performance Counter List
2.Then select each counter in turn in the ‘Extensible performance counters’ window and clear the ‘performance counters enabled’ checkbox at the bottom.button below.

4.SPEEDUP FOLDER BROWSING
You may have noticed that everytime you open my computer to browse folders that there is a slight delay. This is because Windows XP automatically searches for network files and printers everytime you open Windows Explorer. To fix this and to increase browsing significantly:
1. Open My Computer
2. Click on Tools menu
3. Click on Folder Options
4. Click on the View tab.
5. Uncheck the Automatically search for network folders and printers check box
6
. Click Apply
7. Click Ok
8. Reboot your computer

5.IMPROVE MEMORY USAGE
Cacheman Improves the performance of your computer by optimizing the disk cache, memory and a number of other settings.
Once Installed:
1.Go to Show Wizard and select All
2.Run all the wizards by selecting Next or Finished until you are back to the main menu. Use the defaults unless you know exactly what you are doing.
3.Exit and Save Cacheman
4.Restart Windows

6.OPTIMIZE YOUR INTERNET CONNECTION
There are lots of ways to do this but by far the easiest is to run TCP/IP Optimizer.
1. Download and install
2. Click the General Settings tab and select your Connection Speed (Kbps)
3. Click Network Adapter and choose the interface you use to connect to the Internet
4. Check Optimal Settings then Apply
5. Reboot
7. OPTIMIZE YOUR PAGE FILE
If you give your page file a fixed size it saves the operating system from needing to resize the page file.
1. Right click on My Computer and select Properties
2. Select the Advanced tab
3. Under Performance choose the Settings button
4. Select the Advanced tab again and under Virtual Memory select Change
5. Highlight the drive containing your page file and make the initial Size of the file the same as the Maximum Size of the file.
Windows XP sizes the page file to about 1.5X the amount of actual physical memory by default. While this is good for systems with smaller amounts of memory (under 512MB) it is unlikely that a typical XP desktop system will ever need 1.5 X 512MB or more of virtual memory. If you have less than 512MB of memory, leave the page file at its default size. If you have 512MB or more, change the ratio to 1:1 page file size to physical memory size.

8.RUN BOOTVIS – IMPROVE BOOT TIMES
BootVis will significantly improve boot times
1. Download and Run
2. Select Trace
3. Select Next Boot and Driver Trace
4. A Trace Repetitions screen will appear, select Ok and Reboot
5. Upon reboot, BootVis will automatically start, analyze and log your system’s boot process. When it’s done, in the menu go to Trace and select Optimize System
6. Reboot.
7. When your machine has rebooted wait until you see the Optimizing System box appear. Be patient and wait for the process to complete

9.REMOVE THE DESKTOP PICTURE
Your desktop background consumes a fair amount of memory and can slow the loading time of your system. Removing it will improve performance.
1. Right click on Desktop and select Properties
2. Select the Desktop tab
3. In the Background window select None
4. Click Ok

10.REMOVE FONTS FOR SPEED
Fonts, especially TrueType fonts, use quite a bit of system resources. For optimal performance, trim your fonts down to just those that you need to use on a daily basis and fonts that applications may require.
1. Open Control Panel
2. Open Fonts folder
3. Move fonts you don’t need to a temporary directory (e.g. C:FONTBKUP?) just in case you need or want to bring a few of them back. The more fonts you uninstall, the more system resources you will gain.

11.DISABLE UNNECESSARY SERVICES
Because Windows XP has to be all things to all people it has many services running that take up system resources that you will never need. Below is a list of services that can be disabled on most machines:
Alerter
Clipbook
Computer Browser
Distributed Link Tracking Client
Fast User Switching
Help and Support – (If you use Windows Help and Support leave this enabled)
Human Interface Access Devices
Indexing Service
IPSEC Services
Messenger
Netmeeting Remote Desktop Sharing (disabled for extra security)
Portable Media Serial Number
Remote Desktop Help Session Manager (disabled for extra security)
Remote Procedure Call Locator
Remote Registry (disabled for extra security)
Remote Registry Service
Secondary Logon
Routing & Remote Access (disabled for extra security)
Server

SSDP Discovery Service – (Unplug n’ Pray will disable this)
Telnet
TCP/IP NetBIOS Helper
Upload Manager
Universal Plug and Play Device Host
Windows Time
Wireless Zero Configuration (Do not disable if you use a wireless network)
Workstation
To disable these services:
Go to Start and then Run and type “services.msc”
Doubleclick on the service you want to change
Change the startup type to ‘Disable”
12.TURN OFF SYSTEM RESTORE
System Restore can be a useful if your computer is having problems, however storing all the restore points can literally take up Gigabytes of space on your hard drive. To turn off System Restore:
Open Control Panel
Click on Performance and Maintenance
Click on System
Click on the System Restore tab
Tick ‘Turn off System Restore on All Drives’
Click ‘Ok’

13.DEFRAGMENT YOUR PAGE FILE
Keeping your pagefile defragmented can provide a major performance boost. One of the best ways of doing this is to creat a separate partition on your hard drive just for your page file, so that it doesn’t get impacted by normal disk usage. Another way of keeping your pagefile defragmented is to run PageDefrag. This cool little app can be used to defrag your pagefile, and can also be set to defrag the pagefile everytime your PC starts. To install:
Download and Run PageDefrag
Tick “Defrag at next Reboot”,
Click “Ok”
Reboot

14.SPEEDUP FOLDER ACCESS – DISABLE LAST ACCESS UPDATE
If you have a lot of folders and subdirectories on your computer, when you access a directory XP wastes a lot of time updating the time stamp showing the last access time for that directory and for ALL sub directories. To stop XP doing this you need to edit the registry. If you are uncomfortable doing this then please do not attempt.
Go to Start and then Run and type “regedit”
Click through the file system until you get to “HKEY_LOCAL_MACHINESystemCurrentControlSetControlFileSystem”
Right-click in a blank area of the window on the right and select ‘DWORD Value’
Create a new DWORD Value called ‘NtfsDisableLastAccessUpdate’
Then Right click on the new value and select ‘Modify’
Change the Value Data to ’1′
Click ‘OK’

15.DISABLE SYSTEM SOUNDS
Surprisingly, the beeps that your computer makes for various system sounds can slow it down, particularly at startup and shut-down. To fix this turn off the system sounds:
Open Control Panel
Click Sounds and Audio Devices
Check Place
volume icon in taskbar
Click Sounds Tab
Choose “No Sounds” for the Sound Scheme
Click “No”
Click “Apply”
Click “OK”
IMPROVE BOOT TIMES
IMPROVE BOOT TIMES
A great new feature in Microsoft Wind 1ws XP is the ability to do a boot defragment. This places all boot files next to each other on the disk to allow for faster booting. By default this option in enables but on some builds it is not so below is how to turn it on.
Go to Start Menu and Click Run
Type in “Regedit” then click ok
Find “HKEY_LOCAL_MACHINESOFTWAREMicrosoftDfrgBootOpt imizeFunction”
Select “Enable” from the list on the right
Right on it and select “Modify”
Change the value to “Y to enable”
Reboot

16.IMPROVE SWAPFILE PERFORMANCE
If you have more than 256MB of RAM this tweak will considerably improve your performance. It basically makes sure that your PC uses every last drop of memory (faster than swap file) before it starts using the swap file.
Go to Start then Run
Type “msconfig.exe” then ok
Click on the System.ini tab
Expand the 386enh tab by clicking on the plus sign
Click on new then in the blank box type”ConservativeSwapfileUsage=1″
Click OK
Restart PC

17.MAKE YOUR MENUS LOAD FASTER
This is one of my favourite tweaks as it makes a huge difference to how fast your machine will ‘feel’. What this tweak does is remove the slight delay between clicking on a menu and XP displaying the menu.
Go to Start then Run
Type ‘Regedit’ then click ‘Ok’
Find “HKEY_CURRENT_USERControl PanelDesktop”
Select “MenuShowDelay”
Right click and select “Modify’
Reduce the number to around “100″
This is the delay time before a menu is opened. You can set it to “0″ but it can make windows really hard to use as menus will open if you just look at them – well move your mouse over them anyway. I tend to go for anywhere between 50-150 depending on my mood

18.MAKE PROGRAMS LOAD FASTER
This little tweak tends to work for most programs. If your program doesn’t load properly just undo the change. For any program:
Right-click on the icon/shortcut you use to launch the program
Select properties
In the ‘target’ box, add ‘ /prefetch:1′ at the end of the line.
Click “Ok”
Voila – your programs will now load faster.

19.IMPROVE XP SHUTDOWN SPEED
This tweak reduces the time XP waits before automatically closing any running programs when you give it the command to shutdown.
Go to Start then select Run
Type ‘Regedit’ and click ok
Find ‘HKEY_CURRENT_USERControl PanelDesktop\’
Select ‘WaitToKillAppTimeout’
Right click and select ‘Modify’
Change the value to ’1000′
Click ‘OK’
Now select ‘HungAppTimeout’
Right click and select ‘Modify’
Change the value to ’1000′
Click ‘OK’
Now find ‘HKEY_USERS.DEFAULTControl PanelDesktop’
Select ‘WaitToKillAppTimeout’
Right click and select ‘Modify’
Change the value to ’1000′
Click ‘OK’
Now find ‘HKEY_LOCAL_MACHINESystemCurrentControlSetControl\’
Select ‘WaitToKillServiceTimeout’
Right click and select ‘Modify’
Change the value to ’1000′
Click ‘OK’

20.SPEED UP BOOT TIMES I
This tweak works by creating a batch file to clear the temp and history folders everytime you shutdown so that your PC doesn’t waste time checking these folders the next time it boots. It’s quite simple to implement:
1. Open Notepad and create a new file with the following entries:
RD /S /q “C:Documents and Settings”UserName without quotes”Local SettingsHistory”
RD /S /q “C:Documents and SettingsDefault UserLocal SettingsHistory”
RD /S /q “D:Temp” <–”Deletes temp folder, type in the location of your temp folder”
2. Save the new as anything you like but it has to be a ‘.bat’ file e.g. fastboot.bat or deltemp.bat
3. Click ‘Start’ then ‘Run’
4. Type in ‘gpedit.msc’ and hit ‘ok’
5. Click on ‘Computer Configuration’ then ‘Windows Settings’
6. Double-click on ‘Scripts’ and then on ‘Shutdown’
7. Click ‘Add’ and find the batch file that you created and then press ‘Ok’

21.SPEED UP BOOT TIMES II
When your PC starts it usually looks for any bootable media in any floppy or cd-rom drives you have installed before it gets around to loading the Operating System from the HDD. This can waste valuable time. To fix this we need to make some changes to the Bios.
1. To enter the bios you usually press ‘F2′ or ‘delete’ when your PC starts
2. Navigate to the ‘Boot’ menu
3. Select ‘Boot Sequence’
4. Then either move your Hard drive to the top position or set it as the ‘First Device’
5. Press the ‘Escape’ key to leave the bios. Don’t forget to save your settings before exiting
Note: Once this change has been made, you won’t be able to boot from a floppy disc or a CD-rom. If for some strange reason you need to do this in the future, just go back into your bios, repeat the steps above and put your floppy or CD-rom back as the ‘First Device’

22.SPEED UP BOOT TIMES III
When your computer boots up it usually has to check with the network to see what IP addresses are free and then it grabs one of these. By configuring a manually assigned IP address your boot time will improve. To do this do the following:
1. Click on ‘Start’ and then ”Connect To/Show All Connections’
2. Right-click your network adapter card and click ‘Properties’.
3. On the ‘General’ tab, select ‘TCP/IP’ in the list of services and click ‘Properties’
4.I n the TCP/IP properties, click ‘Use the following address’ and enter an IP address for your PC. If you are using a router this is usually 192.168.0.xx or 192.168.1.xx. If you are not sure what address you could check with your ISP or go to ‘Start/run’ and type ‘cmd’ and then ‘ipconfig/all’. This will show your current IP settings which you will need to copy.
5. Enter the correct details for ‘Subnet mask’, ‘Default gateway’ and ‘DNS Server’. Again if you are not sure what figures to enter use ‘ipconfig/all’ as in stage 4.

23.FREE UP MEMORY
I found this useful app via FixMyXP. ClearMem Is an Excellent Tool for speeding up your XP Computer (especially if your system has been on for awhile and you have a lot of applications open). What it does, is it Forces pages out of physical memory and reduces the size of running processes if working sets to a minimum. When you run this tool, the system pauses because of excessive high-priority activity associated with trimming the working sets. To run this tool, your paging file must be at least as large as physical memory. To Check your Paging File:
1. Go to your control panel, then click on ‘System’, then go to the ‘Advanced’ Tab, and Under ‘Performance’ click ‘Settings’ then the ‘Advanced’ Tab
2. On the Bottom you should see ‘Virtual Memory’ and a value. This is the value that must be at least as large as how much memory is in your system.
3. If the Virtual Memory Value is smaller than your system memory, click Change and change the Min Virtual Memory to a number that is greater than your total system memory, then click ‘Set’ and Reboot.
4. Once you have rebooted install ClearMem

24.ENSURE XP IS USING DMA MODE
XP enables DMA for Hard-Drives and CD-Roms by default on most ATA or ATAPI (IDE) devices. However, sometimes computers switch to PIO mode which is slower for data transfer – a typical reason is because of a virus. To ensure that your machine is using DMA:
1. Open ‘Device Manager’
2. Double-click ‘IDE ATA/ATAPI Controllers’
3. Right-click ‘Primary Channel’ and select ‘Properties’ and then ‘Advanced Settings’
4. In the ‘Current Transfer Mode’ drop-down box, select ‘DMA if Available’ if the current setting is ‘PIO Only’
ADD CORRECT NETWORK CARD SETTINGS
Some machines suffer from jerky graphics or high CPU usage even when a machine is idle. A possible solution for this, which, can also can help network performance is to:
1. RightClick ‘My Computer’
2. Select ‘Manage’
3. Click on ‘Device Manager’
4. DoubleClick your network adaptor under ‘Network Adapters’
5. In the new window, select the ‘Advanced’ tab
6. Select ‘Connection Type’ and select the correct type for your card and then Reboot

25.REMOVE ANNOYING DELETE CONFIRMATION MESSAGES
Although not strictly a performance tweak I love this fix as it makes my machine ‘feel’ faster. I hate the annoying ‘are you sure?’ messages that XP displays, especially if I have to use a laptop touchpad to close them. To remove these messages:
1. Right-click on the ‘Recycle Bin’ on the desktop and then click ‘Properties’
2. Clear the ‘Display Delete Confirmation Dialog’ check box and click ‘Ok’
If you do accidently delete a file don’t worry as all is not lost. Just go to your Recycle Bin and ‘Restore’ the file.

26.DISABLE PREFETCH ON LOW MEMORY SYSTEMS
Prefetch is designed to speed up program launching by preloading programs into memory – not a good idea is memory is in short supply, as it can make programs hang. To disable prefetch:
1. Click ‘Start’ then ‘Run’
2. Type in ‘Regedit’ then click ‘Ok’
3. Navigate to ‘HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory ManagementPrefetchParameters\’
4. Right-click on “EnablePrefetcher” and set the value to ’0′
5. Reboot.

Configure DHCP On RHEL-5

Configure DHCP On RHEL-5


DYNAMIC HOST CONTROL PROTOCOL (DHCP)


Setup:

Server: sandeeplinux-server (192.168.4.1 Local Network IP)
Client: Linux & Windows XP/2003 etc...


Requirement: This DHCPD package available on RHEL5 DVD only

dhcp-3.0.5-3.el5.i386.rpm
 
Installation Of Required Packages:



[root@maheshlinux-server ~]# rpm -qa
grep dhcp

dhcpv6_client-0.10-33.el5

[root@maheshlinux-server ~]#



[root@maheshlinux-server RHEL5_Total_Pack]# rpm -i dhcp-3.0.5-3.el5.i386.rpm

warning: dhcp-3.0.5-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

[root@maheshlinux-server RHEL5_Total_Pack]#



Configure DHCP config file:

NOTE: Modify dhcpd.conf file (Before Modifying any Files take one backup copy)



In this file you will get information to modify dhcpd.conf.sample file which located in “/usr/share/doc/dhcp-3.0.5”



[root@maheshlinux-server ~]# cd /etc/

[root@maheshlinux-server etc]# cat dhcpd.conf

#

# DHCP Server Configuration file.

# see /usr/share/doc/dhcp*/dhcpd.conf.sample

#[root@maheshlinux-server etc]#



GO TO --> /usr/share/doc/dhcp-3.0.5/



[root@maheshlinux-server etc]# cd /usr/share/doc/dhcp-3.0.5/

[root@maheshlinux-server dhcp-3.0.5]#



[root@maheshlinux-server dhcp-3.0.5]# vi dhcpd.conf.sample

ddns-update-style interim;

ignore client-updates;



subnet 192.168.4.0 netmask 255.255.255.0 {



# --- default gateway

option routers 192.168.4.1;

option subnet-mask 255.255.255.0;



option nis-domain "domain.org";

option domain-name "domain.org";

option domain-name-servers 192.168.4.1;



option time-offset -18000; # Eastern Standard Time

# option ntp-servers 192.168.4.1;

# option netbios-name-servers 192.168.4.1;

# --- Selects point-to-point node (default is hybrid). Don't change this unless

# -- you understand Netbios very well

# option netbios-node-type 2;



range dynamic-bootp 192.168.4.128 192.168.4.254;

default-lease-time 21600;

max-lease-time 43200;



# we want the nameserver to appear at a fixed address

host ns {

next-server marvin.redhat.com;

hardware ethernet 12:34:56:78:AB:CD;

fixed-address 192.168.4.100;

}

}

[root@maheshlinux-server dhcp-3.0.5]#



Now Try To Start DHCPD Service:

[root@maheshlinux-server RHEL5_Total_Pack]# service dhcpd status

dhcpd is stopped

[root@maheshlinux-server RHEL5_Total_Pack]# service dhcpd start

Starting dhcpd: [FAILED]

[root@maheshlinux-server RHEL5_Total_Pack]# chkconfig dhcpd on

[root@maheshlinux-server RHEL5_Total_Pack]#





IF ITS GETTING FAIL TO START MEANS copy dhcpd.conf.sample file to dhcpd.conf file

[root@maheshlinux-server dhcp-3.0.5]# cp dhcpd.conf.sample /etc/dhcpd.conf

It will ask for over write dhcpd.conf file give YES



[root@maheshlinux-server dhcp-3.0.5]# service dhcpd restart

Shutting down dhcpd: [ OK ]

Starting dhcpd: [ OK ]

[root@maheshlinux-server dhcp-3.0.5]#



Now Check DHCP with Windows Client:





Go To My Network Places --> Properties --> Local Area Connection --> Properties --> General Tab --> Internet Protocol (TCP/IP) --> Properties --> Obtain an IP Address Automatically --> OK

SQUID Configuration On RHEL-5

SQUID Configuration On RHEL-5
  SQUID (PROXY SERVER)
Setup:


Server: maheshlinux-server (192.168.4.1 Local Network IP)

Client: Linux & Windows XP/2003 etc...

Default Port NO: 3128



Requirement: This SQUID package available on RHEL5 DVD only

squid-2.6.STABLE6-3.el5

Installation Of Required Packages:

[root@maheshlinux-server RHEL5_Total_Pack]# rpm -i squid-2.6.STABLE6-3.el5

warning: squid-2.6.STABLE6-3.el5: Header V3 DSA signature: NOKEY, key ID 37017186

[root@maheshlinux-server RHEL5_Total_Pack]#

Configure SQUID config file:


NOTE: Modify squid.conf file (Before Modifying any Files take one backup copy)



[root@maheslinux-server ~]# cd /etc/squid

[root@maheshlinux-server squid]# vi squid.conf

Uncomment Bellow lines in config file...




Access Control Lists

# Add in ACL your local network information

acl all src 192.168.1.0/255.255.255.0 (Allow here your local network Address)



One Sample Passage for ACL configuration



#Recommended minimum configuration:

acl all src 192.168.4.0/255.255.255.0

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443

acl Safe_ports port 80 # http

acl Safe_ports port 21 # ftp

acl Safe_ports port 443 # https

acl Safe_ports port 70 # gopher

acl Safe_ports port 210 # wais

acl Safe_ports port 1025-65535 # unregistered ports

acl Safe_ports port 280 # http-mgmt

acl Safe_ports port 488 # gss-http

acl Safe_ports port 591 # filemaker

acl Safe_ports port 777 # multiling http

acl CONNECT method CONNECT

acl blocksites dstdomain .orkut.com

acl blocksites dstdomain .facebook.com

acl blocksites dstdomain .youtube.com

http_access deny blocksites

acl banned src 192.168.4.3

http_access deny banned

acl localnetwork src 192.168.1.0/24

http_access allow localnetwork

acl blockfiles urlpath_regex /etc/squid/blocks.files.acl

deny_info ERR_BLOCKED_FILES blockfiles

http_access deny blockfiles

acl business_hours time M T W H F 9:00-19:00

acl RestrictedHost src 192.168.1.3

http_access deny RestrictedHost

http_access allow business_hours

acl bad url_regex "/etc/squid/squid-block.acl"

http_access deny bad



Now Try To Start SQUID Service & Keep Permanently On:



[root@maheshlinux-server squid]# service squid status

squid is stopped

[root@maheshlinux-server squid]# service squid start

Starting squid: [OK]

[root@maheshlinux-server squid]# chkconfig squid on

[root@maheshlinux-server squid]#



Now Check SQUID/PROXY with Windows Client:



Go To Internet Explore --> Properties --> Connections --> LAN Settings --> Use a Proxy Server for your LAN --> Give server IP or Name --> Port 3128 --> OK



BLOCKED SITE EXAMPLE (ORKUT SITE)



For Writing our own Notice Messages and all modification you can do in /usr/share/squid/errors/English

[root@maheshlinux-server English]# vi ERR_ACCESS_DENIED

Write Message Save & Exit and Restart once your squid server.