Cartoonite Posted February 27, 2005 Posted February 27, 2005 I was Tested it like 30 times.... heheI will call microsoft mondayThxPlease post back with any information you get from them. I am interested in knowing if/how this is possible.Thanks.
Cartoonite Posted March 1, 2005 Posted March 1, 2005 (edited) Barring an official response from Microsoft, I just thought of something that might provide a usable workaround. Create a cmd file with the following code and call it from cmdlines.txt as usual.if exist a:\cmdlines.cmd start /wait a:\cmdlines.cmdexitThen make a cmdlines.cmd script that can be run as a sort of pseudo-cmdlines.txt. I will run a test on this now to see what happens and post back with the results in a while.Edit: Forgot about the fact that you are using original CDs. ****. Oh well, maybe this workaround will be useful to others. I will still post results of the test once I am done. Edited March 1, 2005 by Cartoonite
FeTT! Posted March 1, 2005 Author Posted March 1, 2005 and call it from cmdlines.txt as usual.hmmm... the problem are... i wish to call a cmdlines.txt from a floppy. so from where did you call your cmdlines.txt... from winnt.sif?
Cartoonite Posted March 1, 2005 Posted March 1, 2005 and call it from cmdlines.txt as usual.hmmm... the problem are... i wish to call a cmdlines.txt from a floppy. so from where did you call your cmdlines.txt... from winnt.sif?I think there may have been a bit of miscommunication. Check your PM for contact information if you would like to speak to me directly.
^_^ Posted March 1, 2005 Posted March 1, 2005 Here's my method of doing itmaybe you'll get ideas from these filesthe cmdlines.txt does need to be placed in the correct folderall other files go on the floppyworks great Floppy.zip
FeTT! Posted March 1, 2005 Author Posted March 1, 2005 Hi' Im a IT and i wish to run a cmdlines.txt on a floppy (cause i use the original cd of my clients.)I need to place cmdlines.txt on a floppy drive....
Cartoonite Posted March 1, 2005 Posted March 1, 2005 Here's my method of doing itmaybe you'll get ideas from these filesthe cmdlines.txt does need to be placed in the correct folderall other files go on the floppyworks great Yeah, this is pretty much the same thing I came up with. Unfortunately this solution won't work for FeTT!'s problem because he needs to install Windows from original installation discs. If any modification is going to be done, it all has to come from the floppy.
^_^ Posted March 1, 2005 Posted March 1, 2005 all the poor guy has to do is create HIS cd of home, pro, corp pro and then it would workhe could even incorporate the latest service packs and freebie programs like Adobe Reader, Zonealarm and otherswhy do you think I did mine the way I do it?It's legal to make a backup copy, and with the floppy he can change the serial number for the version of XP he is working on, and as a bonus enter user info as well so far all the home version serials I have run into all work, and I've only found 2 versions of Pro, the regular and the corporatewhy is this so difficult?
FeTT! Posted March 4, 2005 Author Posted March 4, 2005 After 2-3 days... microsoft doesnt answer... Maybe its impossible... ill give a call tommorow
lesliel Posted March 23, 2005 Posted March 23, 2005 Hi,the solution I have is the following:- original CD- in winnt.sif[setupParams] UserExecute = "a:\regedit.exe /s a:\hklm.reg"- winnt.sif on the floppy- regedit.exe and hklm.reg on the floppyI did not test it with a cmd file. Importing regs is working fine. It runs immediately after setup completes, but before final restart. HTHLesliel
Yzöwl Posted April 27, 2005 Posted April 27, 2005 (edited) I know what does work, because I just did it!Where we were going wrong is thinking we needed a cmdlines.txt file, or even an $OEM$, well we don't.It's so simple, I dont know why I didn't think of it soonerin winnt.sif[GuiUnattended] DetachedProgram = cmd.exe Arguments = "/C START A:\Xtras.cmd"and obviously put Xtras.cmd in the root of the floppy with your winnt.sif.The beauty of this is I can add all my HKCU entries immediately for all users using REG.EXE directly in the cmd file and when you think about it, the cmd can then run anything you need.For instance it could copy a RunOnceEx.cmd file to your %systemdrive% which could also be run from [GuiRunOnce] in your winnt.sif. This could also be set to give the CDROM a variable and run stuff from CD. You could add reg files other batches and even without a CD copy a small compressed file for extraction etc.You could have a single SP2 integrated CD and just carry a frequently updated collection of hotfixes ran from a batch file, no more new install cd for every hotfix!This could also be great if you dont have a DVD facility, because your apps will fit a lot easier onto a CD without Windows taking up space!....This is massive, the options are almost endless, an unattended install using the customers CD but your Xtras!All we need now are various members trying different things to see exactly what is possible armed with this discovery.<Edit>This now has little bearing on the 'original question' unless we could somehow change the 'thread title'.FeTT!, Mod's, what do you think?</Edit> Edited April 27, 2005 by Yzöwl
Cartoonite Posted April 27, 2005 Posted April 27, 2005 Nice work, Yzöwl. @FeTT!Do either of the two posted solutions do what you need? You were testing one suggested by lesliel just over a month ago, but never posted back to say whether or not it worked.Please do keep us informed.
Yzöwl Posted April 27, 2005 Posted April 27, 2005 Here is an example using my first test file@ECHO OFF%~dp0cmdow @ /HID:: Renaming Admin account%~dp0renuser.exe Administrator "IT Manager":: Internet Explorer SettingsREG ADD "HKCU\......taken out for space reasonsGOTO :EOFI just stuck both renuser.exe and cmdow.exe on the floppyThe only thing which didn't seem to work for the IE settings was the override cookie settings, although I may have put the wrong code in for that!The other surprising thing was that the Administrator name change even worked this early on in the install. You can then have your renamed Admin account using a folder with his own name instead of having a system created Administrator one and at logon the new name shows, if no others have been created, using the password from your winnt.sif
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now