--Turn on advanced options
sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
--Configure min server memory
sp_configure 'min server memory', 0
GO
RECONFIGURE
GO
--Configure max server memory
sp_configure 'max server memory', 2048
GO
RECONFIGURE
GO
--Configure processor affinity
ALTER SERVER CONFIGURATION SET PROCESS AFFINITY CPU = 1, 2 --AUTO
GO
--Configure fill factor
sp_configure 'fill factor', 75
GO
RECONFIGURE
GO