
mobious99
MemberContent Type
Profiles
Forums
Events
Everything posted by mobious99
-
Hi Everyone, so I have everything working with all of my images and everything is going well but lately I've noticed that the images (physical or virtual) all seem to reset their windows updates to be missing updates after the cloning process. for example: - 3 virtual machines cloned from the same template (in this case 2008 r2) The first machine - 38 missing updates The second machine - 62 missing updates The third machine - 40+ missing updates has anyone seen this behavior before? Fyi, every month I update my images on patch Tuesday to avoid the stuff from above if possible. I get the same results btw from above with my physical server images.
-
I looked at the winbuilder project and I wish I could use it but I was looking for more of what files / directories need to go where in the build. I just wanted something simple like these files need to go into these directories and then I could build it from there.
-
Hi Everyone, I've ported my 32 / 64 bit versions of winpe over to 8.1 but I was wondering if anyone has any directions / pointers for getting syswow64 support into 64 bit? The problem that I currently have is that the vendor has stopped making 32 bit drivers so I need to be all 64 bit but w/o any syswow64 support I'm stuck. any help would be appreciated.
-
system reserved partition drive letter
mobious99 replied to mobious99's topic in Unattended Windows 7/Server 2008R2
I'm going to add this to my startup script rem remove system reserved drive letter diskpart /s removehiddent.txt removehidden.txt has the following lines in it.. SEL VOL 0 REMOVE LETTER=D Where d: is the drive that always gets assigned to the system reserved partition. It's got to be something sysprep / winpe is doing because when I boot off my winpe cd I see two drive letters. -
system reserved partition drive letter
mobious99 replied to mobious99's topic in Unattended Windows 7/Server 2008R2
I actually tried something today - imaged a 2008r2 device - removed the drive letter - rebooted - boots no problem. no idea why this is adding a drive letter. -
system reserved partition drive letter
mobious99 replied to mobious99's topic in Unattended Windows 7/Server 2008R2
yes the image is. I only capture the windows partition not the system reserved partition, I'm thinking about doing that next and then recreating the boot files. I've also tried not assigning a drive through diskpart and the drive is still getting created. -
system reserved partition drive letter
mobious99 replied to mobious99's topic in Unattended Windows 7/Server 2008R2
I took out the drive letter for the system reserved and it's still assigning one on bootup. it's just strange that diskpart script is right from microsoft. the w: drive changes to c: on bootup. -
system reserved partition drive letter
mobious99 replied to mobious99's topic in Unattended Windows 7/Server 2008R2
I'm using imagex to do the deploy. here's how I'm doing it - boot into winpe - map drive - run diskpart script - standard script from microsoft select disk 0 clean create partition primary size=300 select partition 1 format fs=ntfs label="System Reserved" assign letter=S active create partition primary size=102400 select partition 2 format fs=ntfs label="Windows" quick assign letter=W active exit - Then apply the wim file to the windows partition imagex /apply f:\2008r2\2008r2ent.wim 1 w:\ - Then run these commands to make the device bootable bcdboot w:\windows /s w: bootsect /nt60 w: after that re-boot and off I go. -
thanks for the help guys. I've decided to move all of the apps that won't install under all users to post deploy and copy any shortcuts to the allusers shortcuts. I wish there was a way to verify that the default user profile and what was copied.
-
system reserved partition drive letter
mobious99 replied to mobious99's topic in Unattended Windows 7/Server 2008R2
I'm using an answer file, and then capturing the image with gimagex. I've only been capturing the windows partition. -
has anyone found a way to get the system reserved partition to create w/o assigning a drive letter to it? I'm trying to get the install so that it looks like a standard windows install and cannot for the life of me figure this out. I've even tried this on the volume - in the pre and post configuration. diskpart sel disk 0 sel vol 1 attributes vol set nodefaultdriveletter
-
yes they exist under default admin account I created but not all users profile.
-
allot of the custom shortcuts, and only parts of the desktop seem to copy. is there a better way of doing this to assure all settings get applied?
-
updated. strcn = InputBox("Change Name to the following","Please Enter Computername", compname) Name = strcn name= UCase(Name) If Len(name) > 15 Then Wscript.echo "The name is too long for use with wins" wscript.quit End If If Len(name) < 1 Then Wscript.echo "The name is too short to be used" wscript.quit End If Set objRegEx = CreateObject("VBScript.RegExp") objRegEx.Global = True objRegEx.Pattern = "[^A-Z0-9]" strSearchString = name Set colMatches = objRegEx.Execute(strSearchString) If colMatches.Count > 0 Then Wscript.Echo "The following characters are not allowed:" For Each strMatch in colMatches Wscript.Echo strMatch.Value wscript.Quit Next End If strComputer="." Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colComputers = objWMIService.ExecQuery ("Select * from Win32_ComputerSystem") For Each objComputer in colComputers err = objComputer.Rename(name) if err <> 0 then wscript.echo "There was an error renaming the machine. Please restart, and try again." else wscript.echo "Machine successfully renamed: " & Name end if Next
-
Hi Everyone, has anyone ever gotten the copyprofile option in sysprep to work for all shortcuts / settings? I have hardware independant images that I build on virtual machines and then sysprep after they've been snapshot. the way I have them built is - standard os install - standard software suite - temporary admin account used for the build (all software installed under that user) - desktop tweaks applied to default administrator and to the temp admin user - after completed and qa'd I run sysprep /audit to inject the drivers. - upon reboot I then run sysprep /generalize etc etc. so shouldn't all profile settings from the temp admin user be copied to the default user account and any others?
-
here's the script I cobbed together asks for computer name - checks for the length to make sure no longer than 13 (netbios names freak out around 15) - checks the length for 0 characters - checks the name for bogus characters strcn = InputBox("Change Name to the following","Please Enter Computername", compname) Name = strcn name= UCase(Name) If Len(name) > 13 Then Wscript.echo "The name is too long for use with wins" wscript.quit End If If Len(name) < 1 Then Wscript.echo "The name is too short to be used" wscript.quit End If Set objRegEx = CreateObject("VBScript.RegExp") objRegEx.Global = True objRegEx.Pattern = "[^A-Z0-9]" strSearchString = name Set colMatches = objRegEx.Execute(strSearchString) If colMatches.Count > 0 Then Wscript.Echo "The following characters are not allowed:" For Each strMatch in colMatches Wscript.Echo strMatch.Value wscript.Quit Next End If strComputer="." Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colComputers = objWMIService.ExecQuery ("Select * from Win32_ComputerSystem") For Each objComputer in colComputers err = objComputer.Rename(name) if err <> 0 then wscript.echo "There was an error renaming the machine. Please restart, and try again." else wscript.echo "Machine successfully renamed: " & Name end if Next
-
I do something for my vmware builds to make sure the alignment is correct I found part of this online but added some of the stuff I was already doing to it. The volume labels you can change this does up to 4 drives and changes the cdrom drive to z: @echo off rem Create and Format partition(s) rem first assign the cdrom drive to z: :CDROM rem Create Diskpart Script echo select disk 0 >"c:\source\scripts\part.txt" echo select volume d >>"c:\source\scripts\part.txt" echo assign letter Z noerr >>"c:\source\scripts\part.txt" rem change cdrom drive letter Partition DiskPart /s "c:\source\scripts\part.txt" :DDRIVE echo select disk 1 > "c:\source\scripts\part.txt" echo create partition primary align=64 >>"c:\source\scripts\part.txt" echo assign letter=D >>"c:\source\scripts\part.txt" echo active >>"c:\source\scripts\part.txt" rem Create Partition DiskPart /s "c:\source\scripts\part.txt" format D: /FS:NTFS /V:ddrive /q /A:32K /y :EDRIVE echo select disk 2 >"c:\source\scripts\part.txt" echo create partition primary align=64 >>"c:\source\scripts\part.txt" echo assign letter=E >>"c:\source\scripts\part.txt" echo active >>"c:\source\scripts\part.txt" Rem creating partition DiskPart /s "c:\source\scripts\part.txt" rem Format Partition format E: /FS:NTFS /V:edrive /q /A:32K /y :FDRIVE echo select disk 3 >"c:\source\scripts\part.txt" echo create partition primary align=64>>"c:\source\scripts\part.txt" echo assign letter=F >>"c:\source\scripts\part.txt" echo active >>"c:\source\scripts\part.txt" rem Create Partition DiskPart /s "c:\source\scripts\part.txt" rem Format Partition format F: /FS:NTFS /V:fdrive /q /A:32K /y :Error rem Return ACCESS DENIED set ERRORLEVEL=5 :EXIT
-
so after some digging I had to do the following after applying the wim file otherwise not a reliable reboot c:\windows\system32\bcdboot c:\windows /s c: bootsect /nt60 C: then I get a reboot every time no problem
-
So here's the situation I've been trying reliably to apply a wim and re-boot from it. I keep getting varied results from bootmgr is missing to sometimes it works Here's what I've been doing in order - capture wim file with gimagex (didn't use the /boot option) - I know sysprep works (because sometimes the machine boots fine) - boot off my winpe cd (64 bit) - run startnet and map a drive to share create partition(s) with sysprep apply wim file with gimagex run the following commands first batch file c: cd windows\system32 bcdboot c:\windows /s c: second batch file Bcdedit /set {bootmgr} device partition=c: Bcdedit /set {default} device partition=c: Bcdedit /set {default} osdevice partition=c: and I keep getting bootmgr is missing (press ctrl+alt+del) any ideas people? here's my diskpart script sel disk 0 clean create part pri size=300 sel part 1 assign letter=w active format fs=ntfs label="System" quick create part pri align=64 sel part 2 format fs=ntfs label="OS" quick assign letter=c active exit
-
List Of Common RegTweaks
mobious99 replied to jazzyb88's topic in Unattended Windows Vista/Server 2008
here's my set for windows 2008 Windows Registry Editor Version 5.00 ;begin tweaks section ;adds command prompt here to explorer bar [HKEY_CLASSES_ROOT\Directory\shell\Command] @="Command Prompt Here" [HKEY_CLASSES_ROOT\Directory\shell\Command\Command] @="cmd.exe /k cd %1" ;disable tcp chimney [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] "EnableTCPChimney"=dword:00000000 "EnableTCPA"=dword:00000000 "EnableRSS"=dword:00000000 ;enable crash dump with all of the preferred settings [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl] "AutoReboot"=dword:00000001 "CrashDumpEnabled"=dword:00000002 "Overwrite"=dword:00000001 "LogEvent"=dword:00000001 "DumpFile"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ 74,00,25,00,5c,00,4d,00,45,00,4d,00,4f,00,52,00,59,00,2e,00,44,00,4d,00,50,\ 00,00,00 "MinidumpDir"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\ 00,74,00,25,00,5c,00,4d,00,69,00,6e,00,69,00,64,00,75,00,6d,00,70,00,00,00 ;disable shutdown event tracker [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Reliability] "ShutdownReasonOn"=dword:00000000 ;change all start bar settings [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer] "EnableAutoTray"=dword:00000000 ;check the classic start bar [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer] "ShellState"=hex:24,00,00,00,38,88,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 01,00,00,00,12,00,00,00,00,00,00,00,30,00,00,00 ; to lock the taskbar ;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ;"TaskbarSizeMove"=dword:00000001 ;general settings that are added to the start menu [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "StartMenuAdminTools"="YES" "SuperHidden"=dword:00000001 "StartMenuFavorites"=dword:00000001 "StartMenuLogoff"=dword:00000001 "StartMenuRun"=dword:00000001 "StartMenuChange"=dword:00000001 "CascadeControlPanel"="NO" "CascadeMyDocuments"="NO" "CascadeNetworkConnections"="NO" "CascadeMyPictures"="NO" "CascadePrinters"="NO" "StartMenuScrollPrograms"="NO" "IntelliMenus"=dword:00000000 "TaskbarGlomming"=dword:00000000 ;small icons on classic start menu [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2] "Settings"=hex:28,00,00,00,ff,ff,ff,ff,06,00,00,00,03,00,00,00,3c,00,00,00,1e,\ 00,00,00,fe,ff,ff,ff,e4,02,00,00,02,04,00,00,02,03,00,00 REm Begin windows explorer changes [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer] "ShowDriveLettersFirst"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000001 "HideFileExt"=dword:00000000 "ShowInfoTip"=dword:00000000 "AlwaysShowMenus"=dword:00000001 "FolderContentsInfoTip"=dword:00000001 "FriendlyTree"=dword:00000001 "ShowSuperHidden"=dword:00000001 "ClassicViewState"=dword:00000000 "PersistBrowsers"=dword:00000000 "ShowPreviewHandlers"=dword:00000000 "SharingWizardOn"=dword:00000000 "TypeAhead"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState] "Settings"=hex:0c,00,02,00,0b,01,00,00,60,00,00,00 "FullPath"=dword:00000001 ;disables uac [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "EnableLUA"=dword:00000000 ;Internet Explorer Settings ;Max your Internet Explorer's simultaneous downloads to 10 (default was 2) ;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] ;"MaxConnectionsPer1_0Server"=dword:0000000a ;"MaxConnectionsPerServer"=dword:0000000a ;[HKEY_USERS.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings] ;"MaxConnectionsPerServer"=dword:00000020 ;"MaxConnectionsPer1_0Server"=dword:00000020 ;Max your Internet Explorer's simultaneous downloads to 10 (default was 2) ;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] ;"MaxConnectionsPer1_0Server"=dword:0000000a ;"MaxConnectionsPerServer"=dword:0000000a ;[HKEY_USERS.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings] ;"MaxConnectionsPerServer"=dword:00000020 ;"MaxConnectionsPer1_0Server"=dword:00000020 ;disable internet explorer start page [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "Default_Page_URL"="about:blank" "Start Page"="about:blank" ;check off the option for empty temporary internet files on exit [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache] "Persistent"=dword:00000000 ;set the visual effects the way that optimize for best performance [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects] "VisualFXSetting"=dword:00000002 [HKEY_CURRENT_USER\Control Panel\Desktop] "FontSmoothing"="2" "FontSmoothing"="0" ;enable remote desktop [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server] "fDenyTSConnections"=dword:00000000 ;enable tsadvertise [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] "TSAdvertise"=dword:00000001 ;event logs settings all to 80 meg instead of 20 meg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application] "MaxSize"=dword:05000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security] "MaxSize"=dword:05000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\System] "MaxSize"=dword:05000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\HardwareEvents] "MaxSize"=dword:05000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Key Management Service] "MaxSize"=dword:05000000 ;add the status bar [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "StatusBarOther"=dword:00000001 ;add the i.e.7 menu bar to the top [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "AlwaysShowMenus"=dword:00000001 "Start Page"="about:blank" ;shut off the screen saver [HKEY_CURRENT_USER\Control Panel\Desktop] "SCRNSAVE.EXE"=- [HKEY_CURRENT_USER\Control Panel\Desktop] "ScreenSaveActive"="0" ;now to shut off snmp authentication [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNMP\Parameters] "EnableAuthenticationTraps"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters] "EnableAuthenticationTraps"=dword:00000000 -
unattended.xml asistance
mobious99 replied to chiners_68's topic in Unattended Windows 7/Server 2008R2
set name and company can be done through the sysprep or through registry settings I have it ask the user every time on bootup for the computername. The keyboard layout I'm sure is part of the localization part of sysprep The desktop on the other hand can be done through a gpo if you want to or there's other ways. enable rdp is a registry setting ;enable remote desktop [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server] "fDenyTSConnections"=dword:00000000 ;enable tsadvertise [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] "TSAdvertise"=dword:00000001 domain security groups could be part of a gpo if you want, at my place they're a bunch of computards who don't get what you can do with active directory but you could always do something like net localgroup add <your group> once it's in the domain -
I just started using gimagex, it's really nice.
-
I just embedded all of the support paq (latest) for windows 2008 into my winpe and it sees all nics, tested on c-class and p-class blades and some older rackmounts.
-
I'm also looking for a way to get explorer and shortcuts working in winpe 3.0. I would like to make the interface a little more user friendly than the ugly grey background. I have nu2 and a bunch of plugins working along with all drivers, network etc but it's still wayyy ugly.