wiki:windows/configuration

Version 10 (modified by joergs, on Jan 27, 2012 at 2:54:19 PM) ( diff )

wsusoffline

Windows Configuration

Remarks about how to configure Windows, mainly from generating OPSI packages.

Hardware Information

# get computer system product information
wmic csproduct get

# get computer system product name, eg. Latitude D420
wmic csproduct get name /format:value

From OPSI:

[Actions]
DefStringList $ResultList$
DefVar $HardwareSystemType$
set $ResultList$ = getOutStreamFromSection('DosInAnIcon_get_hardware_system_type')
set $HardwareSystemType$ = trim( getValue( "Name", $ResultList$ ) )

[DosInAnIcon_get_hardware_system_type]
wmic csproduct get name /format:value
systeminfo /?

Bildschirmschoner

user specific

wmic desktop

Powersettings

powercfg

executing program on remote system

wmic /node:"%1" /user:bob.carroll process call create "cmd.exe /c whatever.exe"

Registry

regdiff

# compare 2 registry files and generate a new file which only contains the differences
regdiff  file1.reg file2.reg -4 -d diff.reg

http://p-nand-q.com/download/regdiff.html

Updates

wsusoffline

client/cmd/DoUpdate.cmd /instdotnet45 /instdotnet4

Infos

Note: See TracWiki for help on using the wiki.