Windows 7 Forums


Reply
Thread Tools

Windows 7 Live CD?

 
 
spearace spearace is offline
Established Member
spearace's Avatar
Join Date: Oct 2008
Posts: 211
Thanked: 15
 
      03-05-2009
I found a video on the net that claims to show how you can make a Windows 7 live CD - has anyone tried such a thing? I use Linux live CDs to help fix PCs when they can't boot, but Windows 7 running from a CD/DVD/USB stick would be fantastic.

 
Reply With Quote
 
 
 
 
krokousdan krokousdan is offline
New Member
krokousdan's Avatar
Join Date: Feb 2010
Location: Czech Republic
Posts: 6
Thanked: 1
Send a message via Skype™ to krokousdan
 
      02-23-2010
Just download the Windows AIK for Windows 7 and my script.
Download WAIK for 7
I recommend to install to C: \ Program Files \ WAIK

Edit Set by you and save it as LiveW7.bat.
Insert DVD into the drive, Windows 7.
Run the script as an administrator.
Cook a cup of coffee and 7 - 10 minutes is done.

Code:
@Echo off
%SystemDrive%

Set tools=%programfiles%\waik\tools
//if  you have WAIK installed in another directory, so you have to put the  path in quotation marks and write in two rows.Eg.
//Set tools=%programfiles%\Windows AIK\Tools
//Set tools="%programfiles%\Windows AIK\Tools"

Set architecture=x86
//change your  architecture

Set tarch=%tools%\%architecture%

Set mech=e:\
//DVD drive with  Windows 7
Set dvd=%systemdrive%\W7wim

Set projekt=%systemdrive%\Projekt
//You can  enter your name without spaces

Set pi=%projekt%\install
Set pb=%projekt%\boot

Set iw=%pi%\Windows
Set bw=%pb%\Windows
Set is=%iw%\System32
Set bs=%bw%\System32
Set ISO=%Projekt%\ISO
Set Av=%iw%\schemas\AvailableNetwork
Set BAv=%bw%\schemas\AvailableNetwork

Set ISOname=LiveW7.iso
//You can  write your name with no spaces

Set lang=cs-CZ
//Set your language en-US etc.

md %pi%
md %pb%
md %ISO%\sources
md %dvd%

cd %tarch%
copy imagex.exe %projekt%

robocopy "%mech%\boot" "%ISO%\boot" /mir
robocopy "%mech%\efi" "%ISO%\EFI" /mir
copy /y "%mech%\bootmgr" "%ISO%" 
copy /y "%ISO%\boot\etfsboot.com" "%projekt%"
copy /y "%mech%\sources\install.wim" "%dvd%"
copy /y "%mech%\sources\boot.wim" "%dvd%"


cd %projekt%
imagex /apply %dvd%\boot.wim 2 %pb% 
imagex /mount %dvd%\install.wim 1 %pi%
//1 is the x86 Home, 4 is the x64 Home, etc. You can check by running DISM.exe

del /q "%pb%\setup.exe"

md "%bw%\schemas\AvailableNetwork"
md "%bs%\config\systemprofile\Desktop"

attrib -r -h "%pb%\Users\Default"
attrib -r -h "%pb%\Users\Default\AppData"

copy /y "%iw%\inf\ndisuio.inf" "%bw%\inf"    
copy /y "%iw%\inf\netnwifi.inf" "%bw%\inf"    
copy /y "%iw%\inf\netserv.inf" "%bw%\inf"    
copy /y "%iw%\inf\netvwifibus.inf" "%bw%\inf"    
copy /y "%iw%\inf\netvwifibus.PNF" "%bw%\inf"    
copy /y "%iw%\inf\netvwififlt.inf" "%bw%\inf"    
copy /y "%iw%\inf\netvwifimp.inf" "%bw%\inf"    
copy /y "%iw%\L2Schemas\LAN_policy_v1.xsd" "%bw%\L2Schemas"    
copy /y "%iw%\L2Schemas\LAN_profile_v1.xsd" "%bw%\L2Schemas"    
copy /y "%iw%\L2Schemas\OneX_v1.xsd" "%bw%\L2Schemas"    
copy /y "%iw%\L2Schemas\WLAN_policy_v1.xsd" "%bw%\L2Schemas"    
copy /y "%iw%\L2Schemas\WLAN_profile_v1.xsd" "%bw%\L2Schemas"    
copy /y "%iw%\L2Schemas\WLANAP_profile_v1.xsd" "%bw%\L2Schemas"    
copy /y "%iw%\L2Schemas\WWAN_profile_v1.xsd" "%bw%\L2Schemas"    
copy /y "%Av%\AvailableNetworkInfo.xsd" "%BAv%"    
copy /y "%is%\activeds.dll" "%bs%"    
copy /y "%is%\activeds.tlb" "%bs%"    
copy /y "%is%\ADSLDPC.dll" "%bs%"    
copy /y "%is%\apphelp.dll" "%bs%"    
copy /y "%is%\atl.dll" "%bs%"    
copy /y "%is%\authfwcfg.dll" "%bs%"    
copy /y "%is%\AuthFWGP.dll" "%bs%"    
copy /y "%is%\bfe.dll" "%bs%"    
copy /y "%is%\browser.dll" "%bs%"    
copy /y "%is%\cabinet.dll" "%bs%"    
copy /y "%is%\cfgbkend.dll" "%bs%"    
copy /y "%is%\cfgmgr32.dll" "%bs%"    
copy /y "%is%\clbcatq.dll" "%bs%"    
copy /y "%is%\clusapi.dll" "%bs%"    
copy /y "%is%\cmifw.dll" "%bs%"    
copy /y "%is%\compmgmt.msc" "%bs%"    
copy /y "%is%\comres.dll" "%bs%"    
copy /y "%is%\credui.dll" "%bs%"    
copy /y "%is%\crtdll.dll" "%bs%"    
copy /y "%is%\devmgmt.msc" "%bs%"    
copy /y "%is%\devmgr.dll" "%bs%"    
copy /y "%is%\diskmgmt.msc" "%bs%"    
copy /y "%is%\dmdlgs.dll" "%bs%"    
copy /y "%is%\dmdskmgr.dll" "%bs%"    
copy /y "%is%\dmdskres.dll" "%bs%"    
copy /y "%is%\dmintf.dll" "%bs%"    
copy /y "%is%\dmocx.dll" "%bs%"    
copy /y "%is%\dmutil.dll" "%bs%"    
copy /y "%is%\dmvdsitf.dll" "%bs%"    
copy /y "%is%\dmview.ocx" "%bs%"    
copy /y "%is%\filemgmt.dll" "%bs%"    
copy /y "%is%\findstr.exe" "%bs%"    
copy /y "%is%\Firewall.cpl" "%bs%"    
copy /y "%is%\FirewallAPI.dll" "%bs%"    
copy /y "%is%\FirewallControlPanel.dll" "%bs%"    
copy /y "%is%\config\SOFTWARE" "%bs%\config"
copy /y "%is%\ExplorerFrame.dll" "%bs%"
copy /y "%is%\fmifs.dll" "%bs%"    
copy /y "%is%\fsmgmt.msc" "%bs%"    
copy /y "%is%\fsutil.exe" "%bs%"    
copy /y "%is%\fwcfg.dll" "%bs%"    
copy /y "%is%\fwpuclnt.dll" "%bs%"    
copy /y "%is%\FwRemoteSvr.dll" "%bs%"    
copy /y "%is%\hhsetup.dll" "%bs%"    
copy /y "%is%\hnetcfg.dll" "%bs%"    
copy /y "%is%\icacls.exe" "%bs%"    
copy /y "%is%\icfupgd.dll" "%bs%"    
copy /y "%is%\icmp.dll" "%bs%"    
copy /y "%is%\ifmon.dll" "%bs%"    
copy /y "%is%\ikeext.dll" "%bs%"    
copy /y "%is%\ipsecsnp.dll" "%bs%"    
copy /y "%is%\IPSECSVC.dll" "%bs%"    
copy /y "%is%\ifsutil.dll" "%bs%"    
copy /y "%is%\ifsutilx.dll" "%bs%"    
copy /y "%is%\kerberos.dll" "%bs%"    
copy /y "%is%\lanman.drv" "%bs%"    
copy /y "%is%\lpk.dll" "%bs%"    
copy /y "%is%\mfc42u.dll" "%bs%"    
copy /y "%is%\mlang.dat" "%bs%"    
copy /y "%is%\mlang.dll" "%bs%"    
copy /y "%is%\mmc.exe" "%bs%"    
copy /y "%is%\mmcbase.dll" "%bs%"    
copy /y "%is%\mmcndmgr.dll" "%bs%"    
copy /y "%is%\mmcshext.dll" "%bs%"    
copy /y "%is%\msacm32.dll" "%bs%"    
copy /y "%is%\msafd.dll" "%bs%"    
copy /y "%is%\msxml3.dll" "%bs%"    
copy /y "%is%\msxml3r.dll" "%bs%"    
copy /y "%is%\msxml6.dll" "%bs%"    
copy /y "%is%\msxml6r.dll" "%bs%"    
copy /y "%is%\mycomput.dll" "%bs%"    
copy /y "%is%\ncsi.dll" "%bs%"    
copy /y "%is%\netlogon.dll" "%bs%"    
copy /y "%is%\netman.dll" "%bs%"    
copy /y "%is%\netplwiz.dll" "%bs%"    
copy /y "%is%\netprof.dll" "%bs%"    
copy /y "%is%\netprofm.dll" "%bs%"    
copy /y "%is%\nlasvc.dll" "%bs%"    
copy /y "%is%\nsi.dll" "%bs%\"    
copy /y "%is%\nsisvc.dll" "%bs%"    
copy /y "%is%\ntmarta.dll" "%bs%"    
copy /y "%is%\ntshrui.dll" "%bs%"    
copy /y "%is%\nshwfp.dll" "%bs%"    
copy /y "%is%\samsrv.dll" "%bs%"    
copy /y "%is%\sens.dll" "%bs%"    
copy /y "%is%\oleacc.dll" "%bs%"    
copy /y "%is%\oleaccrc.dll" "%bs%"
copy /y "%is%\oledlg.dll" "%bs%"    
copy /y "%is%\oleres.dll" "%bs%"    
copy /y "%is%\osuninst.dll" "%bs%"    
copy /y "%is%\polstore.dll" "%bs%"    
copy /y "%is%\RpcEpMap.dll" "%bs%"    
copy /y "%is%\Sens.dll" "%bs%"    
copy /y "%is%\services.exe" "%bs%"    
copy /y "%is%\services.msc" "%bs%"    
copy /y "%is%\shfolder.dll" "%bs%"    
copy /y "%is%\shrpubw.exe" "%bs%"    
copy /y "%is%\srvsvc.dll" "%bs%"    
copy /y "%is%\sscore.dll" "%bs%"    
copy /y "%is%\urlmon.dll" "%bs%"    
copy /y "%is%\usp10.dll" "%bs%"    
copy /y "%is%\webio.dll" "%bs%"    
copy /y "%is%\wfapigp.dll" "%bs%"    
copy /y "%is%\WfHC.dll" "%bs%"    
copy /y "%is%\winhttp.dll" "%bs%"    
copy /y "%is%\WinSCard.dll" "%bs%"    
copy /y "%is%\winsockhc.dll" "%bs%"    
copy /y "%is%\wlanapi.dll" "%bs%"    
copy /y "%is%\wlanhlp.dll" "%bs%"    
copy /y "%is%\wlaninst.dll" "%bs%"    
copy /y "%is%\wlanmsm.dll" "%bs%"    
copy /y "%is%\wlansec.dll" "%bs%"    
copy /y "%is%\wlansvc.dll" "%bs%"    
copy /y "%is%\wlanui.dll" "%bs%"    
copy /y "%is%\wlgpclnt.dll" "%bs%"    
copy /y "%is%\wmi.dll" "%bs%"    
copy /y "%is%\ws2help.dll" "%bs%"    
copy /y "%is%\wshelper.dll" "%bs%"    
copy /y "%is%\drivers\nwifi.sys" "%bs%\drivers"    
copy /y "%is%\drivers\srv.sys" "%bs%\drivers"    
copy /y "%is%\drivers\srv2.sys" "%bs%\drivers"    
copy /y "%is%\drivers\srvnet.sys" "%bs%\drivers"    
copy /y "%is%\drivers\tcpipreg.sys" "%bs%\drivers"    
copy /y "%is%\drivers\vwifibus.sys" "%bs%\drivers"    
copy /y "%is%\drivers\vwififlt.sys" "%bs%\drivers"    
copy /y "%is%\drivers\vwifimp.sys" "%bs%\drivers"    
copy /y "%is%\drivers\en-US\srv.sys.mui" "%bs%\drivers\en-US"    
copy /y "%is%\%lang%\adsldpc.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\apphelp.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\atl.dll.mui" "%bs%\en-US"    
copy /y "%is%\%lang%\bfe.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\cfgbkend.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\compmgmt.msc" "%bs%\%lang%"    
copy /y "%is%\%lang%\comres.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\credui.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\devmgmt.msc" "%bs%\%lang%"    
copy /y "%is%\%lang%\devmgr.dll.mui" "%bs%\%lang%"    
Cls
copy /y "%is%\%lang%\diskmgmt.msc" "%bs%\%lang%"    
copy /y "%is%\%lang%\dmdskres.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\dmocx.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\dmutil.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\filemgmt.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\fsmgmt.msc" "%bs%\%lang%"    
copy /y "%is%\%lang%\fsutil.exe.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\fwpuclnt.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\ICacls.exe.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\ifmon.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\ikeext.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\ipsecsnp.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\kerberos.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\MFC42u.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\mlang.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\mmc.exe.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\mmcbase.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\mmcndmgr.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\mmcshext.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\msxml3r.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\msxml6r.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\mycomput.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\nshwfp.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\ntmarta.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\oleaccrc.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\polstore.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\services.exe.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\services.msc" "%bs%\%lang%"    
copy /y "%is%\%lang%\srvsvc.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\urlmon.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\webio.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\winhttp.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%WinSCard.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%\winsockhc.dll.mui" "%bs%\%lang%"    
copy /y "%is%\%lang%wshelper.dll.mui" "%bs%\%lang%"    
copy /y "%iw%\Explorer.exe" "%bw%"
copy /y "%iw%\explorer.exe" "%bs%"
copy /y "%projekt%\imagex.exe" "%bw%


cd %projekt%
imagex /capture /compress max /boot %pb% %ISO%\sources\boot.wim "boot"  
rd /s /q %pb% 

imagex /unmount %pi%
rd /s /q %pi% 

cd %tarch%
Oscdimg -n -b%projekt%\etfsboot.com %projekt%\ISO "%projekt%\%ISOname%"
rd /s /q %ISO% 

del /q %projekt%\etfsboot.com
del /q %projekt%\imagex.exe

Cls
DTCZ
Exit
If you find someone who can read and edit the hive cmd, I'll be very happy.

I apologize for my English, I'm from Czech Republic
If you need assistance in explaining the script, just let me write on my website.
www.danten.cz

Last edited by krokousdan; 02-23-2010 at 10:17 PM..
 
Reply With Quote
 
Core Core is offline
throwing darts
Core's Avatar
Join Date: Feb 2009
Location: Akaa, Finland
Posts: 815
Thanked: 172
Send a message via MSN to Core Send a message via Yahoo to Core Send a message via Skype™ to Core Core's Twitter Pag
 
      02-23-2010
Doesn't this break the EULA, though? I know virtualization is ok, but isn't this in effect skirting around the whole purpose of activation?
 
Reply With Quote
 
krokousdan krokousdan is offline
New Member
krokousdan's Avatar
Join Date: Feb 2010
Location: Czech Republic
Posts: 6
Thanked: 1
Send a message via Skype™ to krokousdan
 
      02-23-2010
Quote:
Originally Posted by Core View Post
Doesn't this break the EULA, though? I know virtualization is ok, but isn't this in effect skirting around the whole purpose of activation?
No not. Not only with winpe.wim from WAIK. Adding applications to your own copy is not restricted. If I want to use your own program, so I need some DLLs from the installation media. It also is not against licensing.
The Live CD or Recovery CD? License?
 
Reply With Quote
 
catilley1092 catilley1092 is offline
Win 7/Linux Mint Lover
catilley1092's Avatar
Join Date: Nov 2009
Location: North Carolina, USA
Posts: 3,510
Thanked: 510
 
      02-23-2010
Apparently, the rules are a bit different in other countries, as I've never heard of running Windows OS's on Live CD. I've run many Linux distros this way, but have never seen or heard of Windows running like that. This is a new one for me. The only way that I'll try this, is if a lot of others are doing it, with no legal problems.
 
Reply With Quote
 
krokousdan krokousdan is offline
New Member
krokousdan's Avatar
Join Date: Feb 2010
Location: Czech Republic
Posts: 6
Thanked: 1
Send a message via Skype™ to krokousdan
 
      02-23-2010
Quote:
Originally Posted by catilley1092 View Post
Apparently, the rules are a bit different in other countries, as I've never heard of running Windows OS's on Live CD. I've run many Linux distros this way, but have never seen or heard of Windows running like that. This is a new one for me. The only way that I'll try this, is if a lot of others are doing it, with no legal problems.
It's exactly the same as used from the Windows AIK winpe.wim and tools etc. DISM.
Licenses and configuration will remain. Used only basic WinPE and after 72 hours using restarts. If you need to fix Windows system to deploy on multiple PCs, such as a CD is legal.
Legal problems are not, otherwise as creators WinBuilder, BartPE ... been long in prison. :-)

Last edited by krokousdan; 02-23-2010 at 10:02 PM..
 
Reply With Quote
 
linuxdudex12 linuxdudex12 is offline
Established Member
linuxdudex12's Avatar
Join Date: Feb 2010
Location: /dev/null
Posts: 158
Thanked: 19
 
      02-23-2010
Interesting Information
 
Reply With Quote
 
Core Core is offline
throwing darts
Core's Avatar
Join Date: Feb 2009
Location: Akaa, Finland
Posts: 815
Thanked: 172
Send a message via MSN to Core Send a message via Yahoo to Core Send a message via Skype™ to Core Core's Twitter Pag
 
      02-24-2010
I'm still not convinced that this doesn't break the EULA.

I know the virtualization bit in the EULA states that you can run 7 in a virtualized environment on a machine for which you have a license, so long as you do not run both at the same time. In other words, if you're running XP and buy a copy of 7 for your PC, you can run the copy of 7 in Virtualbox without breaking the EULA. But as I understand it, you're not allowed to use the one license to run Windows 7 simultaneously both on the hardware AND in a virtual environment.

One of the things that activation does is prevents copies of Windows from being installed on several different machines. That's why you run into problems with activation when you install it on one PC, then a different one, and another, and another...

So if you create a live CD of Windows 7 for purposes of using it to "help fix PCs when they don't boot," does that not imply that the same copy will be used, even if not simultaneously, on multiple different computers with various hardware configurations? You would not be able to normally install Windows and activate it on all those machines; sooner or later you'd fail activation.

Therefore you would probably have to find a way to bypass activation, yes? Or use that copy of Windows without activating it.

I'm just not sure this is what Microsoft had in mind when they adjusted the Windows EULA to include virtualization.

Don't get me wrong - I don't really give a crap about the EULA. But I also don't want people to think that this is on the level if it in fact is not.

Your thoughts?
 
Reply With Quote
 
catilley1092 catilley1092 is offline
Win 7/Linux Mint Lover
catilley1092's Avatar
Join Date: Nov 2009
Location: North Carolina, USA
Posts: 3,510
Thanked: 510
 
      02-24-2010
I went to the website that was posted, it had very few English words. Something isn't right about this, no matter how it's worded. I hope that no one on this forum reads this and actually attempt to run this type of thing. Looks like a lot of reverse engineering to me. After viewing the video, it looks even more fishy. A lot of that You Tube stuff is a bunch of BS. I've tried many a trick from that site, mostly it was a total waste of time.

Last edited by catilley1092; 02-24-2010 at 06:32 AM.. Reason: added info after viewing video
 
Reply With Quote
 
krokousdan krokousdan is offline
New Member
krokousdan's Avatar
Join Date: Feb 2010
Location: Czech Republic
Posts: 6
Thanked: 1
Send a message via Skype™ to krokousdan
 
      02-24-2010
I put here the script directly from Windows AIK using winpe.wim.
Can feel free to upload as an attachment the original tree and my winpe.wim boot.wim.
After comparison find it only added only a few dll and those used for recovery.
You read one Windows AIK documentation?
You know what a WinPE WinRE?

You do not understand ?

Last edited by krokousdan; 02-24-2010 at 08:20 AM..
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Install Windows 7 davehc Software 0 08-16-2010 03:50 PM
Windows 7 Annoyances Nibiru2012 General Discussion 6 03-17-2010 07:17 PM
Clean Install Windows 7 with Upgrade Media Nibiru2012 Installation, Setup and Updates 0 12-22-2009 08:03 PM
Clean Install Windows 7 with Upgrade Media Nibiru2012 Installation, Setup and Updates 2 12-04-2009 07:30 PM
Important Issues in This Release Candidate of Windows 7 Ian News 0 05-05-2009 04:25 PM


All times are GMT +1. The time now is 05:30 AM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33