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
- sysinternals
- Crayon Metaphor
- msdn (working set description)
- msdn (forum)
- Google groups
Tags: committed, description, edgesight, memory, private, virtual, working set
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: group policy, Kerberos, maxtokensize
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: favorites, favourites, regedit, tip, well I never knew that
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: create, folder, shell, shortcut, special folders, windows
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 |
|
Central Europe |
2 |
Albanian |
|
Baltic |
3 |
Estonian |
|
Greek |
4 |
Greek |
|
Cyrillic |
5 |
Azeri_Cyrillic |
|
Turkic |
6 |
Azeri_Latin |
|
Japanese |
7 |
Japanese |
|
Korean |
8 |
Korean |
|
Traditional Chinese |
9 |
Chinese_Taiwan |
|
Simplified Chinese |
10 |
Chinese_PRC |
|
Thai |
11 |
Thai |
|
Hebrew |
12 |
Hebrew |
|
Arabic |
13 |
Arabic_Saudi_Arabia |
|
Vietnamese |
14 |
Vietnamese |
|
Indic |
15 |
Hindi |
|
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: deploy, language pack, remotely
Filed under Windows 2003 | 1 Comment »



