For XP Pro, click Start, Run and enter GPEDIT.MSC
Go to Computer Configuration, Windows Settings, Security Settings, Local Policies, User Rights Assignment.
By default the Administrators and Power Users groups have this privilege. You can modify this setting to give specific users or other groups permission, as well.
XP Home does not have the Group Policy Editor.