Corn~Julio Posted December 6, 2006 Posted December 6, 2006 If this has been posted before my appologies, if so if anyone could point me towards the thread it would be a big helpThe only change I made last night was adding users in my user.cmd & an entry in my user.reg then to test this out I did my unattendedWhen the Install got to T12 & ran my 1st_boot.cmd to insert lines in runonce I get thisSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExOut Of Environment SpaceThen all my Reg Add lines failI removed the changes tried it again and got the same errorI let the unattended finish & to try to figure out what happened I ran regedit and runonce is there I also checked all permissions and they are as they should beThe I ran the .cmd from the a cmd window and got the same error on the 3rd run of the .cmd it ran fineI have run the unatteded 3 times & then tried it from a cmd window with the same resultsFolks I am completely lost..... any ideas
cluberti Posted December 7, 2006 Posted December 7, 2006 The problem is likely that you've actually run out of environment space in the DOS environment window. The default environment space in a command session is, I believe, 1024k (1MB) during Windows setup. If you are adding a lot of users, or calling external application installs, you can actually run out of environment space (remember, every application called by the command window runs as it's child, and shares it's environment space during Windows install). If you've rolled back your changes and the issue persists, you may want to create a new .cmd file and copy and paste the data from the old into the new and try again (I've seen wierder things before during unattend, and new files have fixed similar issues after rolling changes back).
Corn~Julio Posted December 8, 2006 Author Posted December 8, 2006 I didn't know that was basically the same as the older dos error Not Enough Memory, I only ever ran into that when I created a self extracting file that was to big so I would cut down the size Since all my bat files were pretty small with out a large amount of requested functions I never had this problem and honestly it never occured to me a bat could max the free mem... I've been at this for many years but I work more on cause and effect rather than actual understanding I know I'm rambling... so more to the point what you said made sense in my cmdlines.txt it ran user.cmd in this I used the call function for 1st_boot.cmd and called on another cmd from there not realizing adding the additional functions and then 3 concurrent cmd's was pushing the limitations I made changes to the cmdlines to run each cmd individually so on each exit it will hopefully give a partial reset on the free mem so I might be able to add addtional functions to 1 or more of my cmd's later on I re-inserted my previous changes and I've run the unattended twice without any hitch Many many thanks for your reply cluberti
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now