Content Type
Profiles
Forums
Events
Everything posted by MHz
-
1) The Autoit Forum is a good resource for learning Autoit. 2) You will need Autoit to compile scripts to exe. Once compiled, the exe can be run standalone just like any other exe. You can get Autoit from here. Also Scite4Autoit3 is an awesome, script editor from here. Hope your queries are answered.
-
RunOnceEx.cmd / Delaying executions
MHz replied to Lucius Snow's topic in Unattended Windows 2000/XP/2003
I have not tried WPI. I would assume that it is a menu driven program for installers. You should be able to run this program from runonce or runonceex. It should finish it's actions before the command file in startup folder executes? If WPI does finish before desktop logon, it should be fine. -
RunOnceEx.cmd / Delaying executions
MHz replied to Lucius Snow's topic in Unattended Windows 2000/XP/2003
This executes upon first logon into desktop. It is the last action for my windows setup. Works good for me without any complications. I use an autoit file to wait for certain windows to popup and configure them. You could use sleep.exe to delay actions and whatever else. -
RunOnceEx.cmd / Delaying executions
MHz replied to Lucius Snow's topic in Unattended Windows 2000/XP/2003
You could do it without another boot by making use of the startup folder. For example: Is my command file. $OEM$\$DOCS\All Users\Start Menu\Programs\Startup\xxxx.cmd Is my self-destruct command file, that runs at first logon. cmdow @ /hid @echo off del "%userprofile%\start menu\programs\Internet Explorer.lnk" del "%userprofile%\start menu\programs\Outlook Express.lnk" move "%userprofile%\start menu\programs\Remote Assistance.lnk" "%allusersprofile%\start menu\programs\Accessories\Communications\Remote Assistance.lnk" attrib -r "%allusersprofile%\start menu\programs\startup\xxxx.cmd" attrib -r "%userprofile%\SciTEUser.properties" attrib -r "%systemroot%\SecAlert.exe" "%systemroot%\SecAlert.exe" del "%systemroot%\SecAlert.exe" ShutDown.exe -s -t 10 -c "System shutdown required now. Thankyou for your patience." del "%allusersprofile%\start menu\programs\startup\xxxx.cmd" Saves me the hassle of another boot and gives me further options that the standard cleanup.cmd does not do. Like the shortcuts that are not created until you logon. SecAlert is an autoit file that takes care of some windows that open, etc. Hope this encourages you along with some ideas. -
You may need to use /f switch in reg add commands to force overwrite without prompt.
-
When you create your transform. You will be shown your transform command in the textbox. This is a command that you will use latter to run the transform. It does not get hardcoded into the transform at all. You should keep the transform file with the office installation files, and alter your command to suit the new location, if the files move somewhere else. E.g. You have files on cd now. You have a command file for software installations. Insert your office setup into the command file with the command setup.exe TRANSFORMS=Unattended.MST /qb- . You may need to alter the command to suit the location.
-
program in batch_file.cmd causing reboot
MHz replied to r4esh's topic in Unattended Windows 2000/XP/2003
Hmm, my guess. Maybe WeatherBug, it may be running in background and then you try to uninstall, might force a reboot? -
You could use a self-deleting cmd script in the startup folder. I use this with success. For me, it removes some shortcuts, closes some windows, and deletes itself while rebooting the pc.
-
Yes, I know why the problem occurs. It occurs when the directory is already in the Documents and settings folder. This can happen if your Doc & settings folder is on a different drive, which won't get erased in a format for a clean install. So yes, I do know what I am talking about. I have proven your method not to work, as well as others on this board. Do a search, or read back from before you came, and you will see. This is why I go with my archives. I have understood the problem from the start, and offered a solution. Someone sh*ts on my method offered? My methods do work. Actually, I have learned more about this method from other members posts, that use this method. That is why I use it. Just because you cannot succeed, is just a unsolved problem of yours. Please read this: METHOD DOES WORK ! Stay with your archives, your CHOICE.
-
Windows XP Setup Timeline and RunOnceEx.cmd
MHz replied to Reino's topic in Unattended Windows 2000/XP/2003
Runonceex.cmd is inserted into cmdlines.txt in $oem$ folder. This contains commands which are entered into registry. If you choose to install directly from batch script, the you would use the guirunonce in winnt.sif. Like code box that you have displayed. The msfn unattended guide is a good resource, for researching these 2 methods. -
@ Jito463 You do understand the reason. Using Hunter in $docs was a mistake. Using all users or default user in $docs does not cause any issues. non-default account? whatever this is , should not be used. I am glad that you understand. btw. I use $docs\all users and $docs\default user for templates, start menu items etc. I also use an archive for my themes from runonceex. (spacesaver, instead of using $oem$). This method does not create a name.machine name nor have the os looking into name.machine name? Shoot me if it ever does.
-
Another nero serial posted. Please do not post serials. I see " ( " near the end of script. Would not " _ " be used as a continuation character? If continuing line, that following line would also need a continuation character? As for rest, seems ok?
-
@ sleepnmojo Hunter.CustomPC ? This shouldn't exist. Have you not figured that out yet, and what causes this? Stick with your archives and batch files, if you believe that it is good option. I'm sticking with the $oem$ method, proven to work, time and time again. Even though you say that it does not???
-
The dash is an inverse registry key. Without the dash, it adds to registry. With the dash, it removes from registry.
-
$OEM$ - $Docs - Hunter - Desktop @sleepnmojo This created the problem. Creating a userprofile with $oem$, during text setup, then creating the same profile at the end of setup. The system saw Hunter at the end of setup , it chooses not to overwrite, so Hunter.CustomPC is created. Please get your information correct so others can learn from it.
-
Volume Lable - Does it matter what it is?
MHz replied to Dynamite's topic in Unattended Windows 2000/XP/2003
Windows cd: call the cd label whatever you wish. But you must keep the indicator files in the root directory, e.g. ip.sp2. Setup and the os look at those to acknowledge what os is on the cd, then it looks for the i386 folder. Office normally put the cd label in the autorun.inf, so that would need to be edited, if label changed. I do not have office 2003, to confirm on its search pattern. -
nLite forum may be of better help. Experience is there for this matter.
-
nLite forum may be of better help. Experience is there for this matter.
-
MaximumDataStorePercentOfDisk not working...
MHz replied to jpnasci's topic in Unattended Windows 2000/XP/2003
The default value is 12. I would assume that 10 is the lowest as a double integer. It would take quite some time for system restore to use that much space. You can change the RestorePointLife setting to keep the space used to a low level. -
You can use $OEM$\$DOCS\Default User\ ? or $OEM$\$DOCS\All Users\ ? Can insert your desktop items, templates, application data, etc. via this method.
-
VMWare will add new network connections. 192.168 is a common range for local area networks.
-
MaximumDataStorePercentOfDisk not working...
MHz replied to jpnasci's topic in Unattended Windows 2000/XP/2003
Read the reference manual to know that "disk_percentage A two-digit integer". Yours is only one digit. [Data] AutomaticUpdates= Yes -
VDubs - Windows Setup Front-End & more
MHz replied to voltaic's topic in Unattended Windows 2000/XP/2003
Looks interesting. First that I have seen of it. I believe M$ has a program that can convert java to c#, if you are interested to learning a new language. I will have a look at this program, once downloaded. Thanks -
Editing WINNTBBU.DLL For Dummies
MHz replied to b0r3d's topic in Setup Billboard Screens for Windows
Modifype may help if it was not used, to correct the crc header, after editing. I see no mention of it, in these latest posts. -
nLitedXP from HD issues... and from CD too...
MHz replied to SiMoNsAyS's topic in Unattended Windows 2000/XP/2003
Well, I think this maybe an nlite issue.