Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • Windows 2003

Types of memory usage

Posted on April 3rd, 2009

When running edgesight reports or looking into server memory usage, the following types of memory are listed:

  • Virtual
  • Private
  • Working set

In looking into a particular issue, I wanted to determine exactly what these different types are and this is what I found.

Virtual

Virtual Bytes is the total size of the non-free pages in a process’ virtual address space. This includes private, image and mapped pages (reserverd and committed pages).

Private

Private Bytes is the total size of the private pages that are not shared.

Working set

The working set of a program is a collection of those pages in its virtual address space that have been recently referenced. It includes both shared and private data. The shared data includes pages that contain all instructions your application executes, including those in your DLLs and the system DLLs. As the working set size increases, memory demand increases.

This is the overall ‘memory usage‘ figure.

Useful links

Tags: , , , , , ,
Filed under Windows 2003 | No Comments »

Kerberos MaxTokenSize value

Posted on March 23rd, 2009

Windows enumerates the groups the users is a member of to determine which Group Policies to apply. If the user is a member of too many groups (from testing around 165), this enumeration fails and no group policy is applied.

The default setting on Windows 2003 x64 servers is 12000 for the Kerberos MaxTokenSize entry. This is not enough for large environments.

Changing this entry to the maximum available (65535) resolves the issue and enables all the user groups to be enumerated and the correct group policies applied.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters]
“MaxTokenSize”=dword:0000ffff

The server will need a reboot.

Tags: , ,
Filed under Windows 2003 | 2 Comments »

Regedit Favorites

Posted on December 16th, 2008

During an average day I spend a great deal of time in the Registry Editor (regedit.exe) and have done for the last 10 years or so and today I discovered a new fetaure I was completly unaware of.

The ability to add favorites to regedit

How to add a favorite:

  • Browse to the relevant key
  • Click Favorites Menu | Add to favorites

  • Enter the name (i.e. HKLM – Run Key

  • Now, wherever you are in the registry, select the favorites menu and your favorite to jump straight to that location

How simple is that!

The favorites are saved to the following location

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\Favorites

As I move around different environments, with different profiles, I can create a quick reg file of the favorites I wan’t so on a new environment I can run the reg file before loading regedit to pre-populate these favorites.

Simple huh!

From the archives of – “well, I never knew that”

Tags: , , , ,
Filed under Windows 2003 | 2 Comments »

How to create special folders

Posted on December 12th, 2008

How to create special folders in Windows 2003 (and XP)

Right click | New | folder

ActiveX Cache Folder.{88C6C381-2E85-11D0-94DE-444553540000}
Briefcase.{85BBD920-42A0-1069-A2E4-08002B30309D}
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Desktop.{00021400-0000-0000-C000-000000000046}
Dial-Up Networking.{992CFFA0-F557-101A-88EC-00DD010CCC48}
Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}
Inbox.{00020D75-0000-0000-C000-000000000046}
Internet Cache Folder.{7BD29E00-76C1-11CF-9DD0-00A0C9034933}
Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
Internet Explorer.{871C5380-42A0-1069-A2EA-08002B30309D}
Internet Mail.{89292102-4755-11CF-9DC2-00AA006C2B84}
Internet News.{89292103-4755-11CF-9DC2-00AA006C2B84}
Microsoft Outlook.{00020D75-0000-0000-C000-000000000046}
My Documents.{450d8fba-ad25-11d0-98a8-0800361b1103}
My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Network Neighborhood.{208D2C60-3AEA-1069-A2D7-08002B30309D}
Offline Web Pages.{F5175861-2688-11d0-9C5E-00AA00A45957}
Printers.{2227A280-3AEA-1069-A2DE-08002B30309D}
Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
Scheduled Tasks.{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
Shell Favorite Folder.{1A9BA3A0-143A-11CF-8350-444553540000}
Shortcut.{00021401-0000-0000-C000-000000000046}
Subscriptions.{F5175861-2688-11d0-9C5E-00AA00A45957}
The Internet.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
The Microsoft Network.{00028B00-0000-0000-C000-000000000046}
The Microsoft Windows 95 Product Team!.{869DADA0-42A0-1069-A2E7-08002B30309D}
User Internet History.{FF393560-C2A7-11CF-BFF4-444553540000}
Web Folders.{BDEADF00-C265-11d0-BCED-00A0C90AB50F}
FTP Folders.{63da6ec0-2e98-11cf-8d82-444553540000}

Right click | New | Shortcut (Windows 2003)

shell:Administrative Tools
shell:AppData
shell:CD Burning
shell:Cache
shell:Common Administrative Tools
shell:Common AppData
shell:Common Desktop
shell:Common Documents
shell:Common Programs
shell:Common Start Menu
shell:Common Startup
shell:Common Templates
shell:CommonPictures
shell:CommonVideo
shell:ConnectionsFolder
shell:ControlPanelFolder
shell:Cookies
shell:Desktop
shell:Favorites
shell:Fonts
shell:History
shell:InternetFolder
shell:Local AppData
shell:LocalizedResourcesDir
shell:My Music
shell:My Pictures
shell:My Video
shell:NetHood
shell:Personal
shell:PrintHood
shell:PrintersFolder
shell:Profile
shell:ProgramFiles
shell:Programs
shell:Recent
shell:RecycleBinFolder
shell:ResourceDir
shell:SendTo
shell:Start Menu
shell:Startup
shell:System
shell:SystemX86
shell:Templates
shell:Windows

Right click | New | Shortcut (Windows 2003)

shell:AddNewProgramsFolder
shell:Administrative Tools
shell:AppData
shell:AppUpdatesFolder
shell:CD Burning
shell:CSCFolder
shell:Cache
shell:ChangeRemoveProgramsFolder
shell:Common Administrative Tools
shell:Common AppData
shell:Common Desktop
shell:Common Documents
shell:Common Programs
shell:Common Start Menu
shell:Common Startup
shell:Common Templates
shell:CommonDownloads
shell:CommonMusic
shell:CommonPictures
shell:CommonVideo
shell:ConflictFolder
shell:ConnectionsFolder
shell:Contacts
shell:ControlPanelFolder
shell:Cookies
shell:CredentialManager
shell:CryptoKeys
shell:Default Gadgets
shell:Desktop
shell:Downloads
shell:DpapiKeys
shell:Favorites
shell:Fonts
shell:Gadgets
shell:GameTasks
shell:Games
shell:History
shell:InternetFolder
shell:Links
shell:Local AppData
shell:LocalAppDataLow
shell:LocalizedResourcesDir
shell:MAPIFolder
shell:My Music
shell:My Pictures
shell:My Video
shell:MyComputerFolder
shell:NetHood
shell:NetworkPlacesFolder
shell:OEM Links
shell:Original Images
shell:Personal
shell:PhotoAlbums
shell:Playlists
shell:PrintHood
shell:PrintersFolder
shell:Profile
shell:ProgramFiles
shell:ProgramFilesCommon
shell:ProgramFilesCommonX86
shell:ProgramFilesX86
shell:Programs
shell:Public
shell:PublicGameTasks
shell:Quick Launch
shell:Recent
shell:RecycleBinFolder
shell:ResourceDir
shell:SampleMusic
shell:SamplePictures
shell:SamplePlaylists
shell:SampleVideos
shell:SavedGames
shell:SearchHomeFolder
shell:Searches
shell:SendTo
shell:Start Menu
shell:Startup
shell:SyncCenterFolder
shell:SyncResultsFolder
shell:SyncSetupFolder
shell:System
shell:SystemCertificates
shell:SystemX86
shell:Templates
shell:TreePropertiesFolder
shell:UserProfiles
shell:UsersFilesFolder
shell:Windows

Enjoy!

Tags: , , , , ,
Filed under Windows 2003, Windows 2008 | 2 Comments »

How to remotely deploy a language pack to a Windows 2003 Server

Posted on November 6th, 2008

If you want to remotely deploy a language pack to a Windows 2003 server it is important to do a bit of research first.

First you will need the language Group ID which can be found here: Configuring and Using International Features of Windows

Language Group ID Supported Locales

Western Europe and United States

1

Afrikaans
Basque
Catalan
Danish
Dutch_Standard
Dutch_Belgian
English_United_States
English_United_Kingdom
English_Australian
English_Canadian
English_New_Zealand
English_Irish
English_South_Africa
English_Jamaica
English_Caribbean
English_Belize
English_trinidad
English_Zimbabwe
English_Philippines
Faeroese
Finnish
French_Standard
French_Belgian
French_Canadian
French_Swiss
French_Luxembourg
French_Monaco
German_Standard
German_Swiss
German_Austrian
German_Luxembourg
German_Liechtenstein
Icelandic
Indonesian
Italian_Standard
Italian_Swiss
Malay_Malaysia
Malay_Brunei_Darussalam
Norwegian_Bokmal
Norwegian_Nynorsk
Portuguese_Brazilian
Portuguese_Standard
Spanish_traditional_Sort
Spanish_Mexican
Spanish_Modern_Sort
Spanish_Guatemala
Spanish_Costa_Rica
Spanish_Panama
Spanish_Dominican_Republic
Spanish_Venezuela
Spanish_Colombia
Spanish_Peru
Spanish_Argentina
Spanish_Ecuador
Spanish_Chile
Spanish_Uruguay
Spanish_Paraguay
Spanish_Bolivia
Spanish_El_Salvador
Spanish_Honduras
Spanish_Nicaragua
Spanish_Puerto_Rico
Swahili
Swedish
Swedish_Finland

Central Europe

2

Albanian
Croatian
Czech
Hungarian
Polish
Romanian
Serbian_Latin
Slovak
Slovenian

Baltic

3

Estonian
Latvian
Lithuanian

Greek

4

Greek

Cyrillic

5

Azeri_Cyrillic
Belarusian
Bulgarian
Kazakh
Macedonian
Russian
Serbian_Cyrillic
Tatar
Ukrainian
Uzbek_Cyrillic

Turkic

6

Azeri_Latin
Turkish
Uzbek_Latin

Japanese

7

Japanese

Korean

8

Korean

Traditional Chinese

9

Chinese_Taiwan
Chinese_Hong_Kong
Chinese_Macau

Simplified Chinese

10

Chinese_PRC
Chinese_Singapore

Thai

11

Thai

Hebrew

12

Hebrew

Arabic

13

Arabic_Saudi_Arabia
Arabic_Iraq
Arabic_Egypt
Arabic_Libya
Arabic_Algeria
Arabic_Morocco
Arabic_Tunisia
Arabic_Oman
Arabic_Yemen
Arabic_Syria
Arabic_Jordan
Arabic_Lebanon
Arabic_Kuwait
Arabic_UAE
Arabic_Bahrain
Arabic_Qatar
Farsi
Urdu

Vietnamese

14

Vietnamese

Indic

15

Hindi
Konkani
Marathi
Sanskrit
Tamil

Georgian

16

Georgian

Armenian

17

Armenian

You will also need the:

SystemLocale

UserLocale

InputLocale

I couldhn’t find a neat list of all of these and discovered from a variety of searches for the language pack I needed. However, they were all the same!

Creation of regopts.txt file

The information above can be used to create the regopts.txt file (in this case for Japanese)

[RegionalSettings]
LanguageGroup=7
SystemLocale=0411
UserLocale=0411
InputLocale=0411:e0010411

Silent install of language pack

rundll32.exe shell32,Control_RunDLL intl.cpl,,/f:”d:\temp\regopts.txt”

Change the Install paths

The silent install relies on the source files for the Windows CD being correct, otherwise it will find a missing file and prompt. So to pre-populate these fileds first change the following registry locations:

objWshShell.RegWrite “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath”, “\\server\sourcefiles”, “REG_SZ”
objWshShell.RegWrite “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath”, “\\server\sourcefiles”, “REG_SZ”
objWshShell.RegWrite “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath”, “\\server\sourcefiles\i386″, “REG_SZ”

*Note, the last entry requires the \i386 bit.

Order

Change install locations

silent install script

reboot

Links:

A good guide can be found here: MSFN

Tags: , ,
Filed under Windows 2003 | 1 Comment »