Thanks Rick. I'm trying your suggestion now. Interesting that it seems to be stable when run from the users run key, but not from the machines run key. I've asked Citrix if there is some way of logging what it's trying to do. Cheers, Jeremy. "Rick Mack" <Rick.Mack@volant e.com.au> To <thin@xxxxxxxxxxxxx>, Jeremy 11/09/2005 06:58 Saunders/Australia/IBM@IBMAU PM cc Subject RE: [THIN] Re: Unattended DriveRemap Hi Jeremy, We used to have mixed results with driveremap etc as well, until we changed how the scripted build was implemented. Basically what we do is use cmdlines.txt to load appropriate o.s. hotfixes, and then GUIRUNONCE to run a series of linked scripts. Where what we do differs a bit from standard procedure is that we use the administrator's RUN key instead of runonce. eg we use guirunonce to run a script that installs security hotfixes, and then call the following reg file: -------------- REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] "driveremap"="c:\\install\\scripts\\driveremap.cmd" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon] "AutoAdminLogon"="1" "AutoLogonCount"="1" ------------ After the reboot, ------------ @echo off :: driveremap.cmd - remap server drives :: go to the root of the PS4 CD cd /d c:\install\citrix\ps4cd :: remap server drives C: to M:, D: to N: etc start /wait driveremap /u /drive:M /noreboot :: set up the next batch file cd /d c:\install\scripts regedit -s mfinstall.reg :: reboot the server tsshutdn /reboot 60 :done --------------- Note that FixSecurityDatabase.cmd has been copied to $OEM$\$$\DE45CB9F_0220_442A_9564_D504809A542A.cmd already and is executed by the mfinstall script. After that we just call a series of reg files and scripts, and if applications are part of the build using runonceex makes the build look really neat. Works 100% of the time, win2k SP4, win2k3 SP1 so far anyway. ;-) 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 rick.mack@xxxxxxxxxxxxxx From: thin-bounce@xxxxxxxxxxxxx on behalf of Jeremy Saunders Sent: Sun 11/09/2005 9:08 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Unattended DriveRemap Yeh...I'm going to try copying it locally using short file name and running it from there. Which part of the setup process are you running it from? (GUIRunOnce, RunOnceEX, CMDLines.txt) Don't get me wrong, we get it working flawlessly on one site (for one customer), we then use the mechanism for another and it plays up! Cheers, Jeremy. Niclas <murklan74@yahoo. com> To Sent by: thin@xxxxxxxxxxxxx thin-bounce@freel cc ists.org Subject [THIN] Re: Unattended DriveRemap 10/09/2005 07:19 PM Please respond to thin Strange.. We are using an unattended drive remap as well and that has worked flawlessly for our PS 4.0 installations. Looks like we are using the same syntaxes c:\addons\tools\drvremap /u /drive:M /dbscript:c:\addons\tools\drvfix.cmd Disregard the shortened name of the .exe and .cmd files, they are the same files included on the installation CD we are just a bit paranoid when it comes to 8+ character filenames. =) The only difference I can notice is that we are copying the remap program and drvfix.cmd to the local disk before running them as part of an remote deployment job, don't know if that makes any difference. Regards, Niclas Nordin Technical specialist BITS DATA i Södertälje AB Jeremy Saunders <jeremy.saunders@xxxxxxxxxxx> wrote: Hi All, We have a fully unattended server build process which we use for all our customers. We try not to build servers manually. Anyway, we always have trouble making the driveremap.exe process reliable enough. Even with the newer driveremap executable from PS4. It mostly just hangs after completing the physical drive remap, but before copying the FixSecurityDatabase.cmd to %WinDir% and naming it DE45CB9F_0220_442A_9564_D504809A542A.cmd. We are running it from the RunOnceEX key, but I have also tried it from the GUIRunOnce. If I run the command manually, it always works without failure. The command line I'm using is... S:\Citrix\PS4\DriveRemap.exe /u /drive:U /dbscript:S:\Citrix\PS4\Support\Install\FixSecurityDatabase.cmd Note: S: drive is a mapped drive to the software. To this point, Citrix support h as not been a great help, and I was just wondering if anyone else is or was having the same issues and what they may have done to address it. Because it's been doing my head in for a couple of days now. Cheers. Kind regards, Jeremy Saunders Senior Technical Specialist ceruleanTM an IBM Australia Company formerly known as Logicalis Level 2, 1060 Hay Street West Perth WA 6005 AUSTRALIA Visit us at http://www.cerulean.com.au/ P: +61 8 9261 8412 F: +61 8 9261 8536 M: TBA E-mail: Jeremy.saunders@xxxxxxxxxxx ******************************************************** This Weeks Sponsor: triCerat Inc. You need Day Zero Protection! Get Proactive with triCerat's Simplify Suite. Solve printing, security and profile problems before they occur. http://www.tricerat.com/?thethintl2 ********************************************************** 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ******************************************************** This Weeks Sponsor: triCerat Inc. You need Day Zero Protection! Get Proactive with triCerat's Simplify Suite. Solve printing, security and profile problems before they occur. http://www.tricerat.com/?thethintl2 ********************************************************** 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 Weeks Sponsor: triCerat Inc. You need Day Zero Protection! Get Proactive with triCerat's Simplify Suite. Solve printing, security and profile problems before they occur. http://www.tricerat.com/?thethintl2 ********************************************************** 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