Sunday, October 14, 2007

Managing Windows 2008 Server Core Local Settings

To add hardware to Windows Server 2008
1.If the driver for the hardware is included in Windows Server 2008, Plug and Play will start automatically and install the driver.
2.At a command prompt, open the folder where the driver files are located, and then run the following command:
pnputil -i -a <driverinf>
To add a user to the local Administrators group
1.At a command prompt, type:
net localgroup Administrators /add <domain>\<username>
To remove a user from the local Administrators group
1.At a command prompt, type:
net localgroup Administrators /delete <domain\username>
To disable a device driver
1.At a command prompt, type:
sc delete <service_name>
To obtain a list of drivers that are installed on the server
1.At a command prompt, type:
sc query type= driver
To manage event logs
1.To list event logs type:
wevtutil el
2.To query events in a specified log type:
wevtutil qe /f:text <log name>
3.To export an event log type:
wevtutil epl <log name>
4.To clear an event log type:
wevtutil cl <log name>
To list the running services
1.At a command prompt, type one of the following:
sc query
or
net start
To start a service
1.At a command prompt, type one of the following:
sc start <service name>
or
net start <service name>
To stop a service
1.At a command prompt, type one of the following:

No comments: