# Monday, 27 October 2008

Operating systems older than Vista:

SELECT Version FROM Win32_OperatingSystem WHERE Version < "6" 

Vista and 2008 only:

SELECT Version FROM Win32_OperatingSystem WHERE Version LIKE "6.0%" 

Only Win XP SP2:

SELECT Version FROM Win32_OperatingSystem WHERE Version = "5.1.2600"

W2K8, regardless of SP. (ie Not equal to workstation (1))

SELECT * FROM Win32_OperatingSystem WHERE Version LIKE “6.0.%” AND ProductType <> “1”

Only on Windows Server 2008 Core servers.  Here is a sample query (wrapped for readability, this should be done as a single line in the filter dialog):

SELECT OperatingSystemSKU FROM Win32_OperatingSystem WHERE OperatingSystemSKU = 12 OR OperatingSystemSKU = 39 OR OperatingSystemSKU= 14 OR OperatingSystemSKU = 41 OR OperatingSystemSKU = 13 OR OperatingSystemSKU = 40 OR OperatingSystemSKU = 29

These values map back to HEX values, which map back to:

PRODUCT_DATACENTER_SERVER_CORE
0x0000000C

PRODUCT_DATACENTER_SERVER_CORE_V
0x00000027

PRODUCT_ENTERPRISE_SERVER_CORE
0x0000000E

PRODUCT_ENTERPRISE_SERVER_CORE_V
0x00000029

PRODUCT_STANDARD_SERVER_CORE
0x0000000D

PRODUCT_STANDARD_SERVER_CORE_V
0x00000028

PRODUCT_WEB_SERVER_CORE
0x0000001D

Only on a certain day of the week:

To do this, your WQL queries (one filter per GPO that you wanted to set, remember) would be:

Select DayOfWeek from Win32_LocalTime where DayOfWeek = 1
Select DayOfWeek from Win32_LocalTime where DayOfWeek = 2
Select DayOfWeek from Win32_LocalTime where DayOfWeek = 3

One is Monday, two is Tuesday, etc.

Select only laptops (ie computers without sodimm memory:

Select * from Win32_PhysicalMemory where FormFactor != 12

Not a server:

SELECT ProductType FROM Win32_OperatingSystem WHERE ProductType = “1”

See: http://blogs.technet.com/askds/archive/2008/09/11/fun-with-wmi-filters-in-group-policy.aspx

 

win
Monday, 27 October 2008 18:20:09 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Sunday, 24 June 2007

Delete removed credentials when accessing resources over a vpn:

cmdkey.exe /delete /ras

vista | win
Sunday, 24 June 2007 07:42:13 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Thursday, 17 May 2007

Can't install Service Pack (or some/all other updates) directly, from Windows Update or by WSUS.  See http://support.microsoft.com/default.aspx?scid=kb;en-us;822798 for solutions.

This worked for me:

create batch file (catroot2.cmd)

net stop cryptsvc
ren %systemroot%\System32\Catroot2 oldcatroot2
net start cryptsvc
cd %systemroot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}
del /Q tmp*.cat
exit

Then delete all tmp*.cat files from %systemroot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} (or add to batch file, as above)

win | 2003 | sbs | xp | wsus
Thursday, 17 May 2007 15:32:34 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Tuesday, 24 April 2007

ASP

V216-030-B-010

Jumper Settings:

 

PT-9

Jumper Setting for EPP Printer Card LPT 1.2&3

. 27B 37B 3BC
JP 1 CL OP OP
JP 2 OP CL OP
JP 3 OP OP CL
JP 5 1-2 1-2 2-3

1-2 2-3
JP 4 IRQ 7 IRQ 5
JP 6 EPP SPP

or

1-2 2-3
JP1 IRQ7 IRQ3
JP2 LPT2 LPT1
JP3 EPP SPP

win
Tuesday, 24 April 2007 18:25:25 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Tuesday, 19 December 2006

Firstly, the default password, if prompted, when removing SAV Corporate Edition is probably symantec unless it has been defined a something else.  This can be changed on all clients from the Symantec control console.

Any difficulties (and there often are) can be sorted by running their uninstallation tool: nonav.zip

win
Tuesday, 19 December 2006 08:01:35 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Tuesday, 05 December 2006

From kb239924:

SUMMARY


On a Windows-based computer that uses TCP/IP, you can use the Media Sensing feature to detect whether the network media are in a link state. Ethernet network adapters and hubs typically have a "link" light that indicates the connection status. This status is the same condition that Windows interprets as a link state. Whenever Windows detects a "down" state, it removes the bound protocols from that adapter until it is detected as "up" again. Sometimes, you may not want the network adapter to detect this state. You can set this configuration by modifying the registry.

Note 10B2 coaxial (RG-58) Ethernet cable is not a connection-based medium. Therefore, Windows does not try to detect a link state when this kind of cabling is used.
MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To prevent the network adapter from detecting a link state, follow these steps.

Note The NetBEUI protocol and the IPX protocol do not support Media Sensing.

   1. Start Registry Editor.


   2. Locate the following registry subkey:
   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters


   3. Add the following registry entry to the Parameters subkey: 
   Name: DisableDHCPMediaSense
   Data type: REG_DWORD (Boolean)
   Value: 1


Note This entry controls the behavior of Media Sensing. By default, Media Sensing events trigger a DHCP client to take an action. For example, when a connect event occurs, the client tries to obtain a lease. When a disconnect event occurs, the client may invalidate the interface and routes. If you set this value data to 1, DHCP clients and non-DHCP clients ignore Media Sensing events.


   4. Restart the computer.


Note Microsoft Windows Server 2003 supports Media Sensing when it is used in a server cluster environment. By default, however, Media Sensing is disabled in a Windows Server 2003-based server cluster, and the DisableDHCPMediaSense registry entry has no effect. In Windows Server 2003 Service Pack 1 (SP1), the DisableClusSvcMediaSense registry entry was introduced. You can use this registry entry to enable Media Sensing on the Windows Server 2003-based nodes of a server cluster.

The details of the DisableClusSvcMediaSense registry entry are as follows:


Key: HKEY_LOCAL_MACHINE\Cluster\Parameters
Name: DisableClusSvcMediaSense
Data type: REG_DWORD (Boolean)
Default value: 0


By default, the DisableClusSvcMediaSense entry is set to 0. When this entry is set to 0, Media Sensing is disabled. If you set the DisableClusSvcMediaSense entry to 1, you can use the DisableDHCPMediaSense entry to enable Media Sensing. This behavior matches the behavior of a Microsoft Windows 2000 Server cluster environment.

 

Tuesday, 05 December 2006 12:21:09 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Monday, 27 November 2006

set allowallpaths = trus

set allowremovablemedia = true

set allowwildcards = true

bootcfg /default, /add, /rebuild, /scan, /list

map

expand

fixboot

fixmbr

listsvc

net use [\\ComputerName\ShareName [/user:[DomainName\]UserName] password] | [drive letter:] [/d]

 

sbs | win | xp
Monday, 27 November 2006 22:50:56 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Sunday, 12 November 2006

Go to Regedit:

Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

Data Type: String Value // Value Name: RegisteredOrganization
Data Type: String Value // Value Name: RegisteredOwner

SFC Source change is at same location "SourcePath"

See MSKB 222473

win | xp
Sunday, 12 November 2006 15:29:35 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Sunday, 02 April 2006

 

Dell lists this (and other Event IDs) as normal and to be ignored! See ImpInf0.pdf (4.88 MB).

sbs | win
Sunday, 02 April 2006 14:32:49 (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Sunday, 12 February 2006

To remotely enable RDP connections open network registry in Regedit and ensure that
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnection is set to 0.

To speed up the logon process over slow links delete any value in
HKEY_USERS\.DEFAULT\Control Panel\Desktop\Wallpaper.

connect to console:i:1
server port:i:3389 (or in full address)
full address:s:[IP address|host:(port)]

(see: http://support.microsoft.com/default.aspx?scid=kb;en-us;885187)

win
Sunday, 12 February 2006 12:06:35 (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback