randalldale
MemberContent Type
Profiles
Forums
Events
Everything posted by randalldale
-
Guys, Not sure if this is the correct forum but I have to add some new driver sets to an existing XP image and if I do the ISO will be to large for burning onto a DVD - even dual layer DVD. USB is out of the question due to the need for extra securtiy they are not allowed in the environment. My thoughts are that we use SCCM to deliver the image now via a package and I was thinking of creating an SCCM package, not an OSD driver package, with the addtional drivers that could be accessed in the final steps of the build process by our onsite setup people. Just wondering if anyone has done this sort of thing and your thoughts on how best to design and build this? I was thinking maybe a folder stucture with an HTA to get called??? If this is the wrong forum sorry. As always thanks for the help... RD
-
Hi Guys, Just wondering if anyone knows how to remove drivers from SCCM? What I did was a total noob thing... I added some drivers before creating a driver package and then when I tried to add the drivers to the package I could not do more than one at a time. So when faced with the chipset that had about 40 drivers I decided to delete the drivers and start over recreating the packages and drivers sets. Now when I try to add the drivers into the Package I created I get the error they are already in and nothing shows up in my package? What gives? So do I need to delete the driver sets from some location or what as can't figure out how to get the drivers into the packages I have created? Thanks, RD
-
Actually looks like I got this part fixed. It seems when you copy a script over from another computer, i.e. the zip file, LocalMachine sets the content to BLOCK so I went into all the PS files properties I was importing and changed them to UNBLOCK. Seems to have ran no problem. Now I'm getting nothing but errors on the next script ,4_CreateVirtualMachines.ps1, that is supposed to create the VHD files. ***** Import-Module 'C:\Program Files\modules\HyperV\HyperV.psd1' #New-VMInternalSwitch "Internal" $VM = "HYDRATION-DC01" New-VM -Name $VM Set-VMMemory -VM $VM 512MB md C:\VMs\"$VM" New-VHD -Size 300GB -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 0 -LUN 0 -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 1 -LUN 0 -Path C:\HydrationServers\HydrationServers.iso -DVD Add-VMNic -VM $VM -Virtualswitch Internal -MAC 00155D000001 $VM = "HYDRATION-DC02" New-VM -Name $VM Set-VMMemory -VM $VM 512MB md C:\VMs\"$VM" New-VHD -Size 300GB -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 0 -LUN 0 -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 1 -LUN 0 -Path C:\HydrationServers\HydrationServers.iso -DVD Add-VMNic -VM $VM -Virtualswitch Internal -MAC 00155D000002 $VM = "HYDRATION-MDT01" New-VM -Name $VM Set-VMMemory -VM $VM 1024MB md C:\VMs\"$VM" New-VHD -Size 300GB -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 0 -LUN 0 -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 1 -LUN 0 -Path C:\HydrationServers\HydrationServers.iso -DVD Add-VMNic -VM $VM -Virtualswitch Internal -MAC 00155D000003 $VM = "HYDRATION-CM01" New-VM -Name $VM Set-VMMemory -VM $VM 1536MB md C:\VMs\"$VM" New-VHD -Size 300GB -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 0 -LUN 0 -Path C:\VMs\"$VM"\disk1.vhd Add-VMDisk -VM $VM -ControllerID 1 -LUN 0 -Path C:\HydrationServers\HydrationServers.iso -DVD Add-VMNic -VM $VM -Virtualswitch Internal -MAC 00155D000004 ***** For now I will go back and recreate all the steps to see if I missed anything. Consider this item closed. Thanks for the help, RD
-
Hello I'm trying to build a POCSERVER (Proof Of Concept Server) from this web site using Windows Server 2008 R2: www.deploymentresearch.com/Blog/tabid/62/EntryId/13/Hydration-Automating-builds-in-your-datacenter.aspx The final phase is Step 3 – Create and deploy the virtual machines 1.Install the PowerShell Management Library for Hyper-V by running the install.cmd script, ignore any errors about .NET Framework 2.Verify that the files are not having any alternative data streams, if they do, remove it (using explorer or streams from Sysinternals). 3.Create the virtual machines by running the 4_CreateVirtualMachines.ps1 script. Here is the install.cmd script I have to use... and I get unsigned errors in the final phase when trying to run the PS1 files in the last line of this script because the 'ExecutionPolicy' by default is set to 'Restricted'. I can't just open another instance and set to unresricted as this only works for the current running windows so new windows open restricted. @echo off cls echo Installing HyperV Management Library for PowerShell echo ========================================================== echo. echo Ensuring that .Net Framework 2 and Windows PowerShell are installed Echo Press [ctrl][c] to abort or pause dism /online /enable-feature /featurename:NetFx2-ServerCore dism /online /enable-feature /featurename:MicrosoftWindowsPowerShell echo. echo About to create folder and copy Powershell module. Echo Press [ctrl][c] to abort or pause md "%ProgramFiles%\modules\HyperV" copy %0\..\HyperV_install\*.* "%ProgramFiles%\modules\HyperV" echo. echo About to set registry entries for PowerShell script execution, module path and console settings Echo Press [ctrl][c] to abort or pause start /D %0\.. /w regedit "PS_Console.REG" echo. echo About to Launch PowerShell Echo Press [ctrl][c] to abort or pause start %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -noExit -Command "Import-Module '%ProgramFiles%\modules\Hyperv' " *** I know I need to instert the "Set-ExecutionPolicy Unrestricted or -ExecutionPolicy Unrestricted " or something like this somewhere in the last line but everywhere I do I just get different errors. I'm hoping that this is simple enough that someone sees the issue right away as I was hoping to not have to go out and learn PS too quickly just to make this script work. Thanks, RD
-
Figured it out guys, I just needed to build my .EXE file and call it first in the BOOT.WIM by just need to modify the run command in WinPE and do that by modifying the template files that is used the the media is created. The files are normally located in C:\Program Files\Microsoft Deployment Toolkit\Templates and are called Unattend_PE_x64.xml and Unattend_PE_x86.xml. Open them and replace the the text that looks like this(Please, make a copy of them before you make the changes…): wscript.exe X:\Deploy\Scripts\LiteTouch.wsf with this: X:\Windows\system32\LTIRunx86.exe Update the media Give credit where credit is due... used this link for help... http://deploymentbunny.com/2011/01/26/password-or-pin-code-protect-mdt-2010-litetouch/ RD
-
Forgot to mention that has to be a media based install only, so leaving out the network password does me no good. Here is the simple, I've watched the videos about 10 times or at least until they start to put me to sleep and as simple as I want it to be, it is not unless all I want to do is deploy a basic Windows OS. I'm new at MDT 2010 and all I want to do is apply my WIM file but first password protect the media and then limit the install to a certain manufacturer. Also this is windows XP at this time and so far I haven't found the location of a customsetting.ini. And anything I can find on it seems to reference the database yet a media based install doesn't use a database. Look at my first post, everything I need is in 27 lines including references. Yet can I figure out how to integrate it in the MDT 2010 install... not a chance. While I am a newbie at MDT 2010 I'm not a newbie at doing OS installs, building recovery partitions, installing from a multiple partition HDD so I've done a few things and now I need to learn this thing... My new manager now requires that I move to this process so just looking for some help guys. Any good books or anything out there that could be recommended? I love the WROX books, heck used one to learn vbScript. Help me Obi One you're my only hope... Thanks, Randy
-
Hi Guys, New at this and need to find out how and where I would setup a password to protect the install and also limit the install base to say Dell computers? I currently do it with a VBscript on my none MDT 2010 install but alas must convert to mdt 2010: '======================================================================================= ' Password checker required for installation '======================================================================================= Do Until n = 3 Password = InputBox("Please enter your password", "Windows XP SP3 Install") If Password = "Password" Then Exit Do Else n = n + 1 End If Loop If n = 3 Then MsgBox " Incorrect Password" &_ vbNewLine & " " &_ vbNewLine & " Installation will now reboot" abort Else '======================================================================================= ' Manufacturer checker for allow platforms. '======================================================================================= Dim BaseBoardSet, sLen, item Set BaseBoardSet = GetObject ("winmgmts:").InstancesOf("Win32_BaseBoard") for each item in BaseBoardSet Manu=trim(item.Manufacturer) Next If Manu = "Dell" Then '======================================================================================= It's that simple, but where would I load it so that it does this check during the WinPE boot? Thanks, RD
-
Hi Guys, I'm developing an image and I have some SSDs in some of the PCs that need a couple of utilities but I don't want all the PCs to have them. I thought that the easiest thing to do would be to detect whether there was an SSD present. Boy was I mistaken... Has anyone written a script that can detect an SSD or maybe even the spin rate on a HDD as the SSD will be '0' so it would be an easy detect that way? I cannot find anything in WMI that appears to detect the SSD, or Diskpart other than name and that will change with product rolls. Help me OB1 you're my only hope... Thanks, RD
-
Hi guys, Need some help if anyone has run across this. I used Robocopy to get some data off of a failing RAID system onto a 2TB drive that I setup as a GPT disk to use as much space as possible. I was booted using WinPE 3.0 at the time. After copying everything I moved the HDD over to another system to check it and found out that nothing is seen in the Win7\Windows Explorer or if I run DIR from a command prompt. But if I CD to the directories I created all the info is there????? I tried moving the data to a different directory and even after I created the folder using Windows it disappears when I start to copy data yet it is all there. I also tried using the attrib command but the system doesn't see anything for attrib to run. Next I'm going to try using another disk and not set it to gpt and see if I can move the data over. Anyone seen this before? Thanks for the help, RD