
IcemanND
PatronContent Type
Profiles
Forums
Events
Everything posted by IcemanND
-
Moving profiles from one domain to another
IcemanND replied to Gaprofitt's topic in Windows 2000/2003/NT4
moveuser utility from microsoft should do the trick, or profwiz could do it also. -
as far as my testing has gone I have not had any problems with using this and going to different size disks.
-
what language are you writing you app in?
-
just ran sysprep on a vm, adding the massstorage controllers into the criticaldevicesdatabase key via sysprep with only the windows drivers resulted in adding 667 sub-keys. That doesn't include the associated values. Probably can be done using either setupaip.dll or advpack.dll, but is it worth it? Could we do it any faster than sysprep already does?
-
I'm at the end of my list of suggestions other than trying a different cable, port on switch, I can not think of anything else that would cause this. It sounds like some kind of power management feature some where or flaky hardware.
-
that would have been too easy. It's a longshot but try adding this to the registry: HKLM\System\CurrentControlSet\Services\Tcpip\Parameters DWORD: DisbleDHCPMediaSense=1
-
depending upon the which of my networks I connect to my lease is anywhere from 1 hour to 7 days. So that should not be a problem, unless for some reason it is not renewing the lease properly. What exactly are the DHCP timeout warnings?
-
what format are your drivers in? compressed EXE, ZIP, or individual files with the INF?
-
do you just want to know if the devices have drivers installed? Or are you trying to find out what device is installed? Look at DEVCON from Microsoft, see if that will do what you are after.
-
any errors in the event viewer related to your Ethernet connection?
-
is there a power management tab for this device in the device manager? if so try turning off the setting to allow windows to control power for this device.
-
why not just use the recovery kit out of the ghost solutions suite 2 rather than hack at the partition tables?
-
That just sets the devicepath in the sysprep file or registry. I'm talking about this one (slightly modified for my own use): sysprep_run.cmd @echo off del /a /f /q sysprep.inf del /a /f /q sysprep.mid del /a /f /q hwids.txt Call :Cleanup setlocal enabledelayedexpansion Echo Creating MassStorageSection of Sysprep.inf rem change path of next statement to the path containing the masstorage drivers, this then creates hwids.txt rem which contains the list of pci devices from the inf files. Call :HWID c:\DP\M rem this appends the hwids.txt to the end of a temporary sysprep file which contains all of the settings I want Rem and ends with the [SysprepMassStorage] section header copy sysprep.hold /a +hwids.txt /a sysprep.inf rem in case anything had been added to the devicepath key in the past I reset it to the default. reg add HKLM\Software\Mirosoft\Windows\CurreVersion /v DevicePath /t REG_EXPAND_SZ /d %windir%\inf; /f Rem last chance to quit before sysprep runs Echo Preparing to Run Sysprep Echo. Echo Last Chance to stop Echo Press CTRL-C to exit or Pause rem add in the additional device paths's (replace with vernalex's tool if desired) Echo Creating DevicePath in registry to additional drivers SetDevicePath c:\DP rem continue watches for the driversigning message boxes and clicks ok. Start Continue.exe rem dodn't remember why I added this, may not really be needed. Start WatchDriverSigningPolicy.exe Rem the server service must be started in order for sysprep 2.0 to run, my images all have it disable when rem the systems are deployed. so here I enable and start the server service and then disable it, but it is rem left running. Echo Starting and disabling Server Service for Sysprep sc config lanmanserver start= demand sc start lanmanserver sc config lanmanserver start= disabled sysprep -reseal -mini -pnp -noreboot pause GOTO EOF :HWID rem %1 is path to MassDriverPacks Folder IF "%1"=="" GOTO EOF IF NOT EXIST %1 GOTO EOF SETLOCAL ENABLEDELAYEDEXPANSION SET STDOUT=%cd%\HWIDS.TXT TYPE>%STDOUT% 2>NUL ::traverse drivers path CALL :TRAVERSAL %1 GOTO EOF :TRAVERSAL PUSHD %1 for /f %%f in ('Dir /b *.inf') do ( for /f "eol=- tokens=2 delims=," %%i in ('find /i "pci\ven" %%f') do ( for /f "tokens=*" %%j in ("%%i") do ( for /f "tokens=1* delims=_" %%k in ("%%j") do ( if /i "%%k" EQU "PCI\VEN" ( for /f "usebackq tokens=1* delims=; " %%a in ('%%j') do ( echo %%a=%cd%\%%f>>%STDOUT% ) ) ) ) ) ) FOR /F %%I IN ('DIR /AD /OGN /B') DO ( CALL :TRAVERSAL %CD%\%%I ) POPD GOTO EOF :DriversPath PUSHD %1 IF EXIST *.INF SET OemPnPDriversPath=!OemPnPDriversPath!;%CD:~3% FOR /F %%I IN ('DIR /AD /OGN /B') DO ( CALL :DriversPath %CD%\%%I ) POPD GOTO EOF :Cleanup pushd c:\ for %%D in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO ( if exist %%D:\recycler ( CD /D %%D:\recycler for %%F in ('Dir /ad /b') do rd /s /q "%%F" >> c:\cleanup.log ) ) cd /d c:\ del /a /s /f /q *.pnf >> c:\cleanup.log del /a /s /f /q *.tmp >> c:\cleanup.log del /a /s /f /q infcache.* >> c:\cleanup.log del /a /s /f /q "%windir%\temp" >> c:\cleanup.log for /f "tokens=*" %%i in ('dir /s /a /b temp') do del /a /s /f /q "%%i" >> c:\cleanup.log for /f "tokens=*" %%i in ('dir /s /a /b tempor*') do del /a /s /f /q "%%i" >> c:\cleanup.log del /a /s /f /q "%temp%" >> c:\cleanup.log del /a /s /f /q "%tmp%" >> c:\cleanup.log popd goto eof :EOF continue.exe autoit script code: ; <AUT2EXE VERSION: 3.1.1.0> ; ---------------------------------------------------------------------------- ; <AUT2EXE INCLUDE-START: continue.au3> ; ---------------------------------------------------------------------------- ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: IcemanND ; ; Script Function: ; Click Continue Anyway for hardware installation during sysprep ; ; ---------------------------------------------------------------------------- ; Script Start - Add your code below here do while not (winexists ("Hardware Installation") or winexists ("Confirm File Replace") or winexists ("Installation Complete")) wend Sleep (100) if winexists("Hardware Installation") then send("+{TAB}{ENTER}") if winexists("Confirm File Replace") then send("{TAB}{ENTER}") if winexists("Installation Complete") then send("{ENTER}") until 1=2 ; ---------------------------------------------------------------------------- ; <AUT2EXE INCLUDE-END: continue.au3> ; ---------------------------------------------------------------------------- Sysprep.hold ;SetupMgrTag [Unattended] OemSkipEula=Yes TargetPath=\WINDOWS InstallFilesPath=C:\sysprep\i386 KeepPageFile=0 UpdateInstalledDrivers=Yes DriverSigningPolicy=Ignore UpdateUPHAL="APCIAPIC_MP,%windir%\inf\hal.inf" [GuiUnattended] AdminPassword="password" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=5 OEMSkipRegional=1 OEMDuplicatorstring="Universal Intel Image 03/17/06" TimeZone=35 OemSkipWelcome=1 [UserData] ProductID=go get one somewhere else FullName="company User" OrgName="my company" ComputerName=* [SetupMgr] DistFolder=C:\sysprep\i386 DistShare=windist [Display] BitsPerPel=32 XResolution=1024 YResolution=768 [TapiLocation] CountryCode=1 Dialing=Tone AreaCode=510 [Branding] BrandIEUsingUnattended=Yes [Proxy] Proxy_Enable=0 Use_Same_Proxy=0 [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=Yes [Sysprep] BuildMassStorageSection=yes [SysprepMassStorage]
-
Are you just trying to add all of the PCI entries to the sysprep.inf or are you wanting to install the drivers to the OS also? That script I helped you with oh so long ago will do the first. There are a few drivers in the pack which are not signed so you have to either click OK to a few hundred messages or I create an autoit script that watch for the message and clicked ok for me.
-
You can also open a cmd window and type 'set' it will list all of the system variables set on your machine. With the exception the dynamic ones like %cd%, %random%, %data%, and %time%
-
what kind of card is it? Normally you have to buy a chip from the card manufacturer, as I recall. But I have not done anything with it and have only seen it set up on some old 3com nics from 8-9 years ago.
-
Excel VBscript question
IcemanND replied to fizban2's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
After you exit the second loop after reachint the end of the list you need to reset it back to the top of the list. The way it is written now the second time through it is already at the end of the list on a blank cell so the Do Until statement is already true. -
boot ROM socket
-
right click on the affected file, select 'open with', select 'choose program...', select 'Microsoft Office Word', check 'Always use the selected program to open this kind of file', click 'OK'
-
no. this has been brought up numerous times on the forum, search, search, search. specifically for forgot password in the tiles in advanced search, you'll find what you need. You can use te google search alos but you'll get more results that are not related.
-
What's your internet connection like?
IcemanND replied to jcarle's topic in Networks and the Internet
gotta get someone to host a speedtest site in Indiana then I could blow zxian away. right now we have 120mb fiber connection. but nothing leaves the state and anywhere near that speed. -
the correct way would be to install the os and applications, the run sysprep and leave out the information you want them to enter in the sysprep answer file and reseal the machine (sysprep option)
-
if you are using the "silent" switch they are being installed after windows is installed. For BartPe it really won't make a difference as far as IE and .NET go they have to be added afterwards as plugins anyway.
-
if you are already running sysprerp try adding the -pnp switch. it only adds about a minute to the startup time. Also have you added 'UpdateInstalledDrivers=Yes to the Unattended section of your sysprep.inf? That is needed for installing unsigned drivers in my experience.