Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×


  • Content Count

  • Joined

  • Last visited

  • Donations


Community Reputation

0 Neutral

About derniwi

Recent Profile Visitors

842 profile views
  1. I know / use this methods for hardware dependent setups: - create a task and use the option "Task sequence variable IsDesktop / IsLaptop / IsServer equals true / false" - create a batch file and call devcon.exe checking the existence of hardware (devcon could be found and downloaded by Microsoft, there are different versions for x86 and x64): devcon.exe find "USB\VID_413C*" | find.exe /i "USB\VID_413C&PID_8116&MI_00\7&12298780&0&0000">nul if errorlevel 1 goto next rem setup software ... :next rem skipped - use VBS to query WMI information ComputerType.vbs On Error Re
  2. Have you set up your unattend.xml properly? I had to enter the auto logon username and password.
  3. Hi, you have imported a Windows 7 from your DVD. So please try this: Create a new task for deploying and capturing just the plain Windows 7. You do not need to use a product key yet. After this update your deployment share, which may create new boot images. Import them into the WDS and restart WDS. Reboot your client computer and start from PXE. Run your test task sequence, but do not join a domain. The wizard should now allow you to capture this image. Do this. After this procedure has run succesfully, you should have a new image which you import to your operating systems. During the import s
  4. Hi, I need to detect the WiFi / WLAN interface of a computer using WMI or something else. The only way I found is currently to use the WMI filter CIMV2: SELECT Description, DeviceID, NetConnectionID FROM Win32_NetworkAdapter WHERE PhysicalAdapter=True and use the result of the "Description" field to check against the registry values of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\xxx\*MediaType where xxx is a 4 digit value, i.e. "0007". As far as I found out, *MediaType = 0x0 is used by LAN interfaces, the value of 0x10 is used by WiFi adap
  5. Which tool do you use for deploying? Using MDT 2010 it is possible to enter the KMS key into a task sequence. And if you are using MAK, the VAMT can send the MAK key to the client. Regards, Nils.
  6. @CoffeeFiend: that's it. It looks pretty good, I'm testing the script on some machines. Thank you.
  7. Yes. You have to create a task sequence for Windows and applications installation first. Than you run this task sequence and for the capturing process the computer must not be joined to a domain. After the installation the computer should be captured, maybe you have to reboot manually to start the capture process. After this you'll find the captured image in the "captures" folder and you could import this image as a new operating system. Now you can create a new task sequence for deploying this captured image.
  8. Hi, I'm looking for a solution to detect if an optical drive with writing capabilities is present during unattended setup. I thought it might be possible with devcon.exe. But I do not find a usable method. Since we have a lot of different hardware the hwid is not a usable solution. But some software packages recognize if a drive is writeable so there must be a method for detecting. Background: I want to install CD Burner XP only on computers which have a CD or DVD writer. So I need to query from command line or vbs. Regards, Nils.
  9. Hi, just a question: did you delete the profile of your test user after you changed the defualt user profile? The new values for a default user will not be applied to existing profiles. Best regards, Nils.
  10. Hi, we don't like to have too much images so I create a "medium sized" image with applications for all machines and capture this. This image will distributed to all machines and than the software which is different for some kind of machines will be installed. But now I have to find a way that a user could not break the installation because he / she thinks it is finíshed (the windows desktop is shown) or try what the setup user could do on the network. Regards, Nils.
  11. Hi, we are using MDT 2010 and I've choosen to deploy a captured Win 7 image to our clients. During the deployment there should some additional software be installed regarding on the hardware. But I don't like that the explorer.exe ist loaded because it will start the complete desktop. On Win XP the RunOnceEx key from the registry was used to install software and while the software was setting up the explorer.exe wasn't loaded. Is there a possibility in Windows 7 and MDT 2010 to prevent loading the Win desktop until the setup has finished? The problem is while the installation admin is logged i
  12. I didn't find a really good solution. But this works for me: I created two tasks, one for the Win 7 and common application installation (reference setup), and another for the final deployment. In the first I use the biuld in partitioning so the capture will work. The second one will use diskpart and text files depending on the variable state. So the reference setup will always wipe the hard disk, the deployment will only repartition once. If a re-installation is necessary the data on the notebooks (drive D:) should be kept. Since the data has to be backed up it would not be a big problem if th
  13. Hi, ok, the partitioning seems to work, but now I can't capture and image anymore. If I PXE boot and select "Run the Deployment Wizard to install a new Operating System", the select my testing task (and answer the other questions) and select "Capture an image of this reference computer", Windows 7 installs, sysprep is called and reboot the computer to Windows PE. But then I get the first question of the PXE Win P boot ... and the system won't be captured. Does the MDT internal disk partitioning (ZTIDiskpart.wsf) something else? I tried to find out what happend, but found nothing yet. If I disa
  • Create New...