Jump to content

clivebuckwheat

Member
  • Posts

    574
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by clivebuckwheat

  1. I'm still getting uanble to parse can't find the xml file. If anyone can help I'd appreciate it. This is mission critical. <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="generalize"> <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipRearm>1</SkipRearm> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk PRODUCT KEY REMOVED </CommandLine> <Order>1</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>C:\WINDOWS\ClaraLaptop.vbs</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
  2. that is the exact tutorial I used to created my sysprep.xml file.
  3. Every time I attempt to run it, I get Windows cannot parse or find the sysprep.xml file. I have put it in the right place. C:\WINDOWS\SYSTEM32\Sysprep All this sysprep.xml is needed to do is copy the profile, activate the administrator account and auto activate windows, and run an install at first login ?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="generalize"> <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipRearm>1</SkipRearm> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation> </SkipAutoActivation> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipkPRODUCT KEY REMOVED</CommandLine> <Order>1</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>C:\WINDOWS\ClaraLaptop.vbs</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
  4. Hi I found the following script online to determine what type of hardware I have. I would like help from someone if possible. What I would like to have happen is if it's a laptop kick of an installation from an msi from within the unattend.xml from within the first login commands section. can some take a look at the script and tell me the what I have to add to make this happen. Option Explicit Dim strComputer, strChassis Dim objWMIService, objChassis, colChassis, objItem strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") Set colChassis = objWMIService.ExecQuery _ ("Select * from Win32_SystemEnclosure",,16) For Each objChassis in colChassis For Each objItem in objChassis.ChassisTypes Select Case objItem Case 1 strChassis = "Maybe Virtual Machine" Case 2 strChassis = "??" Case 3 strChassis = "Desktop" Case 4 strChassis = "Thin Desktop" Case 5 strChassis = "Pizza Box" Case 6 strChassis = "Mini Tower" Case 7 strChassis = "Full Tower" Case 8 strChassis = "Portable" Case 9 strChassis = "Laptop" Case 10 strChassis = "Notebook" Case 11 strChassis = "Hand Held" Case 12 strChassis = "Docking Station" Case 13 strChassis = "All in One" Case 14 strChassis = "Sub Notebook" Case 15 strChassis = "Space-Saving" Case 16 strChassis = "Lunch Box" Case 17 strChassis = "Main System Chassis" Case 18 strChassis = "Lunch Box" Case 19 strChassis = "SubChassis" Case 20 strChassis = "Bus Expansion Chassis" Case 21 strChassis = "Peripheral Chassis" Case 22 strChassis = "Storage Chassis" Case 23 strChassis = "Rack Mount Unit" Case 24 strChassis = "Sealed-Case PC" End Select Next Next WScript.Echo "Computer chassis type: " & strChassis 'WScript.Echo strComputer & "'s chassis type: " & strChassis WScript.Quit ' End of WMI VBScript - Chassis type EDIT: This is in reference to this thread:
  5. Thanks I checked out your link you put in the post it's pretty sweet what you did.
  6. will MDT 2010 help me create an unattend.xml?. I am so confused with the WAIK kit.
  7. I Am about to deploy Windows 7 to about 450 pc's. I have to do the following. 1. Identify if the pc is a desktop or a laptop via a script and then depending on what it is install some apps on first login. 2. Activate windows automatically My question is this is there a way to tell if a computer is a laptop or desktop via a script or a batch file?, and how would one go about installing a few apps on first login?. I haven't had much success in creating a unattend.xml, is there a utility I can use to generate one I find the WAIK cumbersome.
  8. can you suggest a hardware independent deployment solution?
  9. How do I do a hardware independent image of Windows 7
  10. I also would like to make a hardware independent image of Windows 7. Could Someone point out an easy to follow /understandable method.
  11. Does the Autounattend.xml method have a nice user interface like the runonce method?
  12. Is the RunOnce.cmd method still a feasible method of installing applications unattended under Windows 7 ?. Or is there a better method used now for Windows 7?
  13. Does anyone know how to do this every guide I have check it seems so cumbersome. I need it to do the following 1. Copy the profile 2. Auto Activate That's all.
  14. I tried this way it doesn't keep background image, or the theme, or the default printers that I set.
  15. Hi I am trying to do the following: setup the Administrator Profile with all the settings I need. I then log off and login with a different account with administrative privileges and I try to copy the Administrator Profile to the Default profile but the copy to is grayed out. I been doing to following procedure under Windows XP for years without issue why doesn't this work under Windows 7 anymore is there a work around?
  16. Hi I have been trying to accomplish this feat for about a week now, and I always seem to get a boot up error. See screen shot at then end of the post any guidance would be appreciated. Here is how I call WinPe from my default file label WinPE menu label ^WinPE menu default kernel Boot/startrom.0 append Bootmgr.exe here is the content of my /tftpboot pxelinux.0 boot.img.gz mini.iso pxelinux.cfg vesamenu.c32 bootmgr.exe netboot.tar.gz tftpd.remap /tftpboot/Boot abortpxe.com boot.sdi hdlscom2.com startrom.0 wgl4_boot.ttf BCD hdlscom1.com hdlscom2.n12 WdsConfig.inf WinPE.wim BCD.LOG hdlscom1.n12 pxeboot.com wdsnbp.com /tftpboot/tftpd.remap file rg \\ / /etc/default/tftpd-hpa RUN_DAEMON="yes" OPTIONS="-l -s /tftpboot -m /tftpboot/tftpd.remap -vvv" /etc/inetd.conf tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /tftpboot /etc/dhcp3/dhcp.conf default-lease-time 86400; max-lease-time 604800; authoritative; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.2 192.168.1.255; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option routers 192.168.1.1; filename "pxelinux.0"; next-server 192.168.1.195; Contents of /var/log/syslog /var/log/syslog Mar 27 20:24:35 pxe-server in.tftpd[15040]: RRQ from 192.168.1.5 filename howtoforge_pxe.png Mar 27 20:24:39 pxe-server in.tftpd[15041]: remap: input: Boot/startrom.0 Mar 27 20:24:39 pxe-server in.tftpd[15041]: remap: done Mar 27 20:24:39 pxe-server in.tftpd[15041]: RRQ from 192.168.1.5 filename Boot/startrom.0 Mar 27 20:24:39 pxe-server in.tftpd[15042]: remap: input: bootmgr.exe Mar 27 20:24:39 pxe-server in.tftpd[15042]: remap: done Mar 27 20:24:39 pxe-server in.tftpd[15042]: RRQ from 192.168.1.5 filename bootmgr.exe Mar 27 20:24:40 pxe-server in.tftpd[15043]: remap: input: \Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15043]: remap: rule 0: rewrite: /Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15043]: remap: rule 0: rewrite: /Boot/Fonts\wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15043]: remap: rule 0: rewrite: /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15043]: remap: done Mar 27 20:24:40 pxe-server in.tftpd[15043]: RRQ from 192.168.1.5 filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15044]: remap: input: \Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15044]: remap: rule 0: rewrite: /Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15044]: remap: rule 0: rewrite: /Boot/Fonts\wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15044]: remap: rule 0: rewrite: /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:40 pxe-server in.tftpd[15044]: remap: done Mar 27 20:24:40 pxe-server in.tftpd[15044]: RRQ from 192.168.1.5 filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:41 pxe-server in.tftpd[15045]: remap: input: \boot.ini Mar 27 20:24:41 pxe-server in.tftpd[15045]: remap: rule 0: rewrite: /boot.ini Mar 27 20:24:41 pxe-server in.tftpd[15045]: remap: done Mar 27 20:24:41 pxe-server in.tftpd[15045]: RRQ from 192.168.1.5 filename \boot.ini remapped to /boot.ini Mar 27 20:24:41 pxe-server in.tftpd[15045]: sending NAK (1, File not found) to 192.168.1.5 Mar 27 20:24:56 pxe-server in.tftpd[15046]: remap: input: \Boot\BCD Mar 27 20:24:56 pxe-server in.tftpd[15046]: remap: rule 0: rewrite: /Boot\BCD Mar 27 20:24:56 pxe-server in.tftpd[15046]: remap: rule 0: rewrite: /Boot/BCD Mar 27 20:24:56 pxe-server in.tftpd[15046]: remap: done Mar 27 20:24:56 pxe-server in.tftpd[15046]: RRQ from 192.168.1.5 filename \Boot\BCD remapped to /Boot/BCD Mar 27 20:24:56 pxe-server in.tftpd[15047]: remap: input: \Boot\BCD Mar 27 20:24:56 pxe-server in.tftpd[15047]: remap: rule 0: rewrite: /Boot\BCD Mar 27 20:24:56 pxe-server in.tftpd[15047]: remap: rule 0: rewrite: /Boot/BCD Mar 27 20:24:56 pxe-server in.tftpd[15047]: remap: done Mar 27 20:24:56 pxe-server in.tftpd[15047]: RRQ from 192.168.1.5 filename \Boot\BCD remapped to /Boot/BCD Mar 27 20:24:57 pxe-server in.tftpd[15048]: remap: input: \Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15048]: remap: rule 0: rewrite: /Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15048]: remap: rule 0: rewrite: /Boot/Fonts\wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15048]: remap: rule 0: rewrite: /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15048]: remap: done Mar 27 20:24:57 pxe-server in.tftpd[15048]: RRQ from 192.168.1.5 filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15048]: tftp: client does not accept options Mar 27 20:24:57 pxe-server in.tftpd[15049]: remap: input: \Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15049]: remap: rule 0: rewrite: /Boot\Fonts\wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15049]: remap: rule 0: rewrite: /Boot/Fonts\wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15049]: remap: rule 0: rewrite: /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15049]: remap: done Mar 27 20:24:57 pxe-server in.tftpd[15049]: RRQ from 192.168.1.5 filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf Mar 27 20:24:57 pxe-server in.tftpd[15050]: remap: input: \hiberfil.sys Mar 27 20:24:57 pxe-server in.tftpd[15050]: remap: rule 0: rewrite: /hiberfil.sys Mar 27 20:24:57 pxe-server in.tftpd[15050]: remap: done Mar 27 20:24:57 pxe-server in.tftpd[15050]: RRQ from 192.168.1.5 filename \hiberfil.sys remapped to /hiberfil.sys Mar 27 20:24:57 pxe-server in.tftpd[15050]: sending NAK (1, File not found) to 192.168.1.5:'
  17. Hi I have a pxe/tftp server I would like to boot Winpe 7 (3.0) over pxe. Does anyone know how the directory structure is suppose to look like in the tftpboot folder? I am pretty new to linux and pxe so excuse my ignorance.
  18. Is it possible to compress Winpe 3.0 so it has faster load times over a network boot?
  19. Hi I am following this guide. http://www.howtoforge.com/setting-up...on-ubuntu-9.10 I seem to be have problems with my boot image loading. I put memdisk in the tftpboot folder, I see at least it is trying to load the boot image. When I DO NOT put the append keeppxe I get the error "failed to load udp stack". If I do put append keeppxe I get "TFTP prefix". The boot images does not load either way. What else can I try?. The boot images is 6 megs and is a Dos based menu system. Thanks again for any help you can offer me. below is a copy of the menu. default vesamenu.c32 Menu Background howtoforge_pxe.png Menu Title Rob's Pxe Boot Menu label Install Ubuntu menu label ^Install Ubuntu menu default kernel ubuntu-installer/i386/linux append vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet label Ghost Multicast Menu menu label ^Ghost Multicast Menu menu default kernel memdisk append keeppxe initrd=mcmcd/pxe.img label Local_drive localboot 0 menu label ^Local Drive prompt 0 timeout 0
  20. Hi I am following this guide here http://www.howtoforge.com/setting-up...on-ubuntu-9.10 I was able to get my pxe server up and running in no time but I have run into road block. I am trying to add another menu item to your menu, I have a boot image which is 6 megs called pxe.img it is a bootable dos image that contains the ghost program and some nic drivers. The pxe.img file is in /tftpboot/mcmcd. It doesn't do anything when I press this option on the menu what am I doing wrong? To add it to the menu, I did the following below default vesamenu.c32 Menu Background howtoforge_pxe.png Menu Title Boot Menu label Ghost Multicast Menu menu label ^Ghost Multicast Menu kernel memdisk append initrd=mcmcd/pxe.img
  21. I find it really stupid that Microsoft didn't put support for running msi files from within winpe.
  22. Hi I am trying to install some custom Internet explorer settings and I have a working msi, when I click it and run it within XP my settings are there. I would like it to be able to run it with winpe 3.0 . Here's what I am doing inside the windows pe 3.0 cmd window 1. copy the mymsifile.msi file to c:\windows\system32 2. cd c:\windows\system32\msiexec /i mymsifile.msi /passive /forcerestart I see the windows installer status bar for a split second and then nothing happens what am i doing wrong guys?
  23. Hi I work at a college on the IT staff, and I am trying to understand why this is occurring. For instance a student comes to the helpdesk with Vista on their laptop and they try to connect to our wireless network in the college and they get a 169.xx.xx.xx ip address. Needless to say they cannot connect to the wireless with this IP. After many hours of searching over Microsoft tech forums I found a fix that resolves the 169.XX.XX.XX Wireless Vista issue it as follows: This procedure does the following Reset WINSOCK entries to installation defaults ,Reset IPv4 TCP/IP stack to installation defaults, and Reset IPv6 TCP/IP stack to installation defaults. 1.Turn off Vista firewall.--->Control Panel-->Windows Firewall-->OFF. 2.Start, Programs\Accessories and right click on Command Prompt, select "Run as Administrator" to open a command prompt. once command prompt is open as administrator type the following netsh winsock reset catalog and press enter netsh int ipv4 reset reset.log and press enter netsh int ipv6 reset reset.log and press enter 3.REBOOT THE LAPTOP. As I said the student can after running this procedure on their laptop connect to our wireless network successfully, BUT the above commends seem to add extra network connections in vista, can someone explain why this is happening.
  24. My P4 3ghz has recently began shutting down. When I reboot it goes straight to the BIOS and says the cpu has hung which caused a shutdown please ensure your cpu settings are correct. I have never played with the bios settings, and I have double checked them they all seem ok. Alas my pc is constantly shutting down. Even when the pc is doing nothing. I have checked all the fans they are working. I have no spyware or high cpu ussage. Could it be the powersupply?, what are some of the other things I could check.
  25. We are a school, and we need it to inventory old and new computer equipment, coming in and going out. I do not know php, so I cannot write my own script, but if someone could point me in the right direction and suggest one I'd greatly appreciate it. We would need inventory number serial number model of equipment hard drive size ram basically all the tech info, so we can inventory what is going out, and what is new coming in.
×
×
  • Create New...