How are you getting DelProf to work with just the /q /I /r switch? It still prompts a Yes/No question for regardless of the /Q switch. Joe _____ From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Rick Mack Sent: Monday, March 07, 2005 5:06 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Reclaiming Registry Space Hi Bill, The maximum size a single page file can be is 4 GB. An RSL of about 120-140 MB is a practical (but not theoretical) limit for Windows 2000. So you've got to try and operate with what you've got. While you can play around withregistry settings to try and increase the fucntional RSL, you're far better off looking at why you've hit the wall. Every interactive user will use a registry chunk roughly equal to the size of the sum of a users (%userprofile%) ntuser.dat and usrclass.dat files. The user scalability of your system is limited by the amount of registry space available between a limit of about 130 MB and whatever the system hives take up (SOftware, SAM, System and Security in %systemroot%\system32\config) . Add up the sizes of the system hives, subtract that from 130 MB, and divide the remainder by the sum of your average ntuser.dat and usrclass.dat files. If you're hitting the wall at 30 users, you probably have less than 45 MB toplay with. Unless you've got real problems with user profiles, ntuser.dat (on 2000) will generally be under 1.5 MB. If that's the case, then your problem is system hives that are too big, most probably the Software hive. I've seen software hives that were up to 80 MB in size. The bloat was generally due to either wasted space (needs defragging) or bloated registry keys (eg HKLM\Software\Microsoft\WIndows NT\CurrentVersion\Terminal Server\Install\Machine) and possible other causes. The fix is genarlly fairly easy. While you can backup/restore the registry etc, I've found the following works just fine. Make a backup copy of the operating system with robocopy, delprof (from 2003 reskit is best) and regback (eg use the batch file below). ------- @echo off :: mirror.cmd - create backup systemroot :: is c:\winback, alter to suit. cd /d c:\ :: clean up old registry files echo deleting old registry files if not exist \winback\system32\config goto skip cd \winback\system32\config del /q c:\winback\system32\config\*.* :skip :: clean up any locally cached profiles echo deleting locally cached profiles delprof /q /i /r ::clean up any pending print jobs net stop spooler del /q %systemroot%\system32\spool\printers\*.* net start spooler :: clean up any dump files del /q %systemroot%\*.dmp :: now copy systemroot echo Copying systemroot .... please wait robocopy %systemroot% c:\winback /mir /r:0 /w:0 :: copy registry :: NOTE: logged on user profiles are NOT copied. echo copying registry cd \winback\system32\config regback Software machine Software regback System machine System regback SAM machine SAM regback Security machine Security regback Default users .Default :: done echo done echo Make sure that \boot.ini has been correctly modified to allow you echo to boot into the backup systemroot ------- Modify boot.ini (duplicate existing winnt entry, change winnt to winback) and you're safe to go. Get a copy of regcompact and run it against the system. It's reduced the size of the software key from up to 80 MB doen to 30 MB for me. regards, Rick Ulrich Mack Volante Systems Level 2, 30 Little Cribb Street Coronation Drive Office Park Milton Qld 4064 tel: +61 7 32431847 fax: +61 7 32431992 rmack@xxxxxxxxxxxxxx _____ From: thin-bounce@xxxxxxxxxxxxx on behalf of Bill Sorenson Sent: Tue 8/03/2005 8:34 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Reclaiming Registry Space RSL is set at 135 and it won't let me change page size larger than 4044 meg. We do run UPH Clean and it rarely cleans anything, but we still end up with some registry errors in the log. Bill -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Joe Shonk Sent: Monday, March 07, 2005 3:27 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Reclaiming Registry Space What is the RSL set at? 256? Running UPH Clean. Joe -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Bill Sorenson Sent: Monday, March 07, 2005 12:39 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Reclaiming Registry Space We run a number of different Citrix servers running both Windows 2000 and Windows 2003. On our 2000 servers, we are running into maximum registry space issues with about 30 users. We use roaming profiles on our 2000 environment (switched to Flex on 2003). We've started to look at defrag utilities, but really need to get a better understanding of what and how we can reduce the registry size to get more users on. Any suggestions would be great. Thanks, Bill Sorenson FSC bsorenson@xxxxxxxxxx ******************************************************** This Weeks Sponsor: RTO Software TScale TScale provides a cost-effective way to improve performance, capacity and stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal Services running Windows NT, 2000 or 2003. http://www.rtosoft.com/enter.asp?id)6 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ******************************************************** This Weeks Sponsor: RTO Software TScale TScale provides a cost-effective way to improve performance, capacity and stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal Services running Windows NT, 2000 or 2003. http://www.rtosoft.com/enter.asp?id=296 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ******************************************************** This Weeks Sponsor: RTO Software TScale TScale provides a cost-effective way to improve performance, capacity and stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal Services running Windows NT, 2000 or 2003. http://www.rtosoft.com/enter.asp?id)6 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ############################################################################ ######### This e-mail, including all attachments, may be confidential or privileged. Confidentiality or privilege is not waived or lost because this e-mail has been sent to you in error. If you are not the intended recipient any use, disclosure or copying of this e-mail is prohibited. If you have received it in error please notify the sender immediately by reply e-mail and destroy all copies of this e-mail and any attachments. All liability for direct and indirect loss arising from this e-mail and any attachments is hereby disclaimed to the extent permitted by law. ############################################################################ ######### ############################################################################ ######### This e-mail, including all attachments, may be confidential or privileged. Confidentiality or privilege is not waived or lost because this e-mail has been sent to you in error. If you are not the intended recipient any use, disclosure or copying of this e-mail is prohibited. If you have received it in error please notify the sender immediately by reply e-mail and destroy all copies of this e-mail and any attachments. All liability for direct and indirect loss arising from this e-mail and any attachments is hereby disclaimed to the extent permitted by law. ############################################################################ #########