
Bunzzing
MemberContent Type
Profiles
Forums
Events
Everything posted by Bunzzing
-
Thanx guys.... I already figured out that you didn't have to pay. I have created an account and will see what solution they have, also for other programs/tools etc.
-
Thanks for the urls. I checked them all this afternoon, but only the first one (experts-exchange) seems to be relevant. Unfortunately you have to subscribe to view the answer. I don't have the money for that... The other links/appz/tools don't do what I want it to do....
-
I want to use my unattended installation at a small office. When all the applications are being installed, users can close the windows by clicking on the X in the top right corner, or when certain applications install, click the CANCEL button. I want to prevent this. Is it possible to, at the first logon when the applications install, lock the keyboard and mouse so that users can't interfere in the installation process ? If so, how can this be done, are there some small tools, or can this be done with one or more registry tweaks ? Of course, after the installation completes and the workstation reboots, users should be able to use their mouse and keyboard. Hope some already have experience with this..
-
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
Ok, I tested my unattended install. Installing the applications went perfectly well, changing the computername at stage T-13 also worked perfect and finally creating and joining the domain went perfect. I added the lines below to the Fase1.cmd file to create an computeraccount in the domain and to join the domain. After the reboot, I had the option to log on as a local user on my workstation, or the option to log on to the domain. Verified Active Directory Users and Computers on my DC to see wether the computeraccount had been created or not.... and it had been... ECHO. ECHO Joining the Domain ECHO Please wait.... start /wait %systemdrive%\install\netdom add %computername% /domain:yourdomainname.com /userd:adm_join /passwordd:joindomain start /wait %systemdrive%\install\netdom join %computername% /domain:yourdomainname.com /userd:admjoin /passwordd:joindomain Enuffsaid, thank you for all your input, you really helped me a lot.... Bedankt man..... -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
Bedankt, was weer een zware dag "At the office" en dat meteen na pasen..... Ok, enuffsaid, I followed your instructions. This is what I did.... I put cmdlines.txt, compname.exe, regtweaks.reg en SetCompname.cmd in the C:\XPCD\$OEM$ folder Cmdlines is as follows: [COMMANDS] "REGEDIT /S regtweaks.reg" "SetCompname.cmd" and SetCompname.cmd is like this: ECHO. ECHO Setting Computer Name ECHO Please wait... for /f "tokens=1" %%i IN ('compname /d ?m') do set MAC=%%i IF %MAC% == 000C29401163 compname /c TestUnattend So during the T-13 fase, setup will look if there's a cmdlines.txt and will execute the commands. First it will import the registry tweaks and then it wil execute the SetCompname.cmd so that it will change te computername, right... ? Now I only have to create the .iso file and boot my virtual machine with the iso. Hope it works tomorrow, time to go to bed. -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
Will give it a try, but won't be till tonight, off to work in a few minutes..... I'm not quite sure if I understand your explanation because my apps are installed from the GuiRunOnce.cmd. So maybe it's better for me to add the compname.cmd to the cmdlines.txt so that the compname will be changed before the runguionce.cmd. If I'm correct there is a reboot between the execution of the cmdlines.txt and the runguionce.cmd....... I'll post my findings...... Off to work now -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
Ok, the second problem is to automate joining a domain. In the winnt.sif I already chose to join the domain, but the computername isn't correct. So after using compname.exe the computer has to join the domain. First you need a reboot because the computername has changed, then you have to log on again autmatically and then Fase 2 of the automated process has to start. I haven't figured out how to accomplish that, but I'm sure I'll find it here on the forum. The tool you need for joining a domain is NETDOM.exe. It can be found in the XP resource kit. The full line in the script should be: netdom add /domain:domainname /userd:User /passwordd:Password Just in case someone was wondering how to do this (just sharing my findings) -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
cheers mate for the quick reply, I will try it out and post my results. Ok I tested it out, and ik worked. Thanx for your help. Will adjust the my unattended cd..... -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
Sorry, I wasn't very clear in my previous post, it was very late... When I tested it, I made a compname.cmd with the exact code you provided, only I changed the mac adress with the mac adress of my nic and I changed the computer name. This is the compname.cmd I tested.... ECHO. ECHO Setting Computer Name ECHO Please wait... for /f "tokens=1" %%i IN ('compname /d ?m') do set MAC=%%i IF %MAC% == 000C29401163 compname /c TestUnattend I booted a clean windows xp pro machine and then I manually started the compname.cmd. Then I got the following error: C:\Install> for /F "tokens=1" %i IN ('compname /d ?m') do set MAC=%i compname was unexpected at this time. > was unexpected at this time > was unexpected at this time Hope you understand my problem a bit more now..... I haven't got the slightest idea why it worked the first time and now it won't..... -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
Started the unattended installation, but at the point of changing the computername, it went wrong.... It returns the error: %%i was unexpected This is what I put in the .cmd file..... CODE ECHO. ECHO Setting Computer Name ECHO Please wait... for /f "tokens=1" %%i IN ('compname /d ?m') do set MAC=%%i IF %MAC% == 123456789012 compname /c SCRAPHEAP IF %MAC% == ABCDEFGHIJKL compname /c SANDBOX IF %MAC% == 11AA22BB33CC compname /c STELLAR What could be wrong ? -
Ok, so if I have a pc with one hdd, which has no partition, setup will automatically install xp on the first hdd, right ? What do I have to put in de winnt.sif if I do have a pc with one hdd, no partition, but an older xp installation already on the hard drive ? Now I had to manually go thru the 2 stages below (see screenshots) I really want to get rid of both the above screens. I want the installation to work on my system and the installation should not check if the hdd has 1, 2 or no partitions, with or without a prior installation of xp ? What do I do ?
-
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
I put Compname.exe in the root of my $oem$, along with all my other files (apps.cmd, GUIRunOnce) I didn't put anything in my WINNT.SIF; I allow WinXP to generate its own name. The only code I have in my Unattended setup is the part I posted in my first post, which I put at the end of my GUIRunOnce. Hope that helps. Regards, eNuffSaid Ok thx. I already figured it out. I have put in in the system32 folder and tested it and it works... For all who dont know, check my compname.cmd file below ECHO. ECHO Setting Computer Name ECHO Please wait... for /f "tokens=1" %%i IN ('compname /d ?m') do set MAC=%%i IF %MAC% == 000C29401163 compname /c TestUnattend Initially I put in a c instead of a C in the macadres. When the command compname /d ?m is executed, the result is a mac adres with capital letters in it. So if you put it with a c instead of a C your computername won't be changed.... -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
I've read your instructions, but I'm not quite sure were to put the compname.exe file ? So, where do I put it ? And what do I fill in the box for computername when creating the winnt.sif file ? I left it empty because I want to use the compname.exe file.... Can you post parts of your relevant files (*.cmd / winnt.sif etc.) in which you reffered to the compname.exe file ? Thanx.... -
Set your Computer Name unattended...
Bunzzing replied to enuffsaid's topic in Unattended Windows 2000/XP/2003
Cheers mate, was looking for this. I have 8 workstations in my domain, so this comes very handy....