Jump to content

Shahram

Member
  • Posts

    37
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Hungary

Everything posted by Shahram

  1. thanks , F10 certianly works, eventhough there is tip about it,
  2. Command 9 was added automatically added by Driver Pack Integration, I didn't change it, But it should not cause any porblems, I know about "Winnt32.exe /cmdcons", As you know, an attended installation of windows before partitioning the drive will ask you if you want to use the recovery consol instead (pressing R...), That is what I am interested to have (if possible), so the CD could be used for recovery only when needed.
  3. I am trying to make an unattended Windows installation, But I would also like if I needed to use Recovery Consol from the CD, But it always seems to bypass that , is there anyways for that to work, I need a quick answer if possible, Here is my WINNT.SIF, so you would know what I want to do. [Data] MsDosInitiated = "No" Autopartition = 0 UnattendedInstall = "Yes" [Unattended] OemPnPDriversPath = "****" NonDriverSigningPolicy = "Ignore" DriverSigningPolicy = "Ignore" OemPreinstall = "Yes" UnattendMode = ReadOnly UnattendSwitch = "Yes" OemSkipEula = "Yes" FileSystem = * WaitForReboot = "No" NoWaitAfterTextMode = 1 NoWaitAfterGUIMode = 1 [SystemRestore] DisableSR = 1 CreateFirstRunRp = 0 MaximumDataStorePercentOfDisk = 0 [SystemFileProtection] SFCQuota = 0 [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO AutoLogon = "Yes" TimeZone = 095 OEMSkipRegional = 1 OemSkipWelcome = 1 [Components] msnexplr=off zonegames=off [UserData] ProductKey = "***" FullName="Username" OrgName="Company" ComputerName=HOME [RegionalSettings] LanguageGroup = 13,17,3,2,5,16,4,12,15,7,8,10,11,9,6,14,1 [Networking] InstallDefaultComponents = "Yes" [Display] XResolution = 1024 YResolution = 768 [Identification] JoinWorkgroup = "WORKGROUP" [GUIRunOnce] command9="%SystemDrive%\fnsh_log.cmd" "%SystemRoot%\WPI\WPI.EXE" Thanx
  4. Yet I have not been able to run the activation before a restart, As it is in the first script ================ RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\CCPD-LC\KStore\00000082\0000001e\0000004a","Key","REG_SZ","XXXXXXXXXXXXXXXXXXXXXXXXX") RunWait("NAVSETUP.EXE /qb /noreboot REBOOT=ReallySuppress",@ScriptDir) FileCopy(@ScriptDir & "\noract.exe", @SystemDir & "\noract.exe") RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","NortonActivator","REG_SZ","noract.exe") ================ Norton it is installed, noract.exe is copied to the computer and it will run in RunOnce. (don't forget your serial) 2nd Script (In this one I replaced the pauses with a loop and fixed some stuff, it should work perfectly) ======================= RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyEnable","REG_DWORD","00000001") RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyServer","REG_SZ","0.0.0.0:0") $Norton="Norton AntiVirus" ProgressOn("Activating Norton AntiVirus 2006", "Please Wait ...", "0 percent", 50, 50) $runvar= RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","NAV CfgWiz") Run ($runvar) ProgressSet( 10, "10 percent") AutoItSetOption("WinTitleMatchMode", 4) While 1 If WinExists($Norton,"Activation requires communication") Then Exitloop If WinWait("classname=Sym_ccWebWindow_Class") Then WinSetState("classname=Sym_ccWebWindow_Class","",@SW_DISABLE) ProgressSet( 20, "20 percent") WinActivate("classname=Sym_ccWebWindow_Class") WinSetState("classname=Sym_ccWebWindow_Class","",@SW_DISABLE) Send("!n") EndIf WEnd ProgressSet( 30, "30 percent") While 1 If WinExists($Norton,"Connecting to the Symantec server") Then ExitLoop If WinWait($Norton,"Activation requires communication") Then WinActivate($Norton,"Activation requires communication") WinSetState($Norton,"Activation requires communication",@SW_DISABLE) ProgressSet( 40, "40 percent") WinSetState($Norton,"Activation requires communication",@SW_ENABLE) WinActivate($Norton,"Activation requires communication") Send("!n") WinSetState($Norton,"Activation requires communication",@SW_DISABLE) If WinExists("Internet Connection Required","") Then WinActivate("Internet Connection Required","") Send("{ENTER}") EndIf EndIf WEnd ProgressSet( 50, "50 percent") While 1 AutoItSetOption("WinTitleMatchMode", 1) If WinExists($Norton,"Activate by phone") Then ExitLoop If WinWait($Norton,"Connecting to the Symantec server") Then WinActivate($Norton,"Connecting to the Symantec server") WinSetState($Norton,"Connecting to the Symantec server",@SW_DISABLE) EndIf AutoItSetOption("WinTitleMatchMode", 2) If WinExists("Internet Explorer") Then WinClose("Internet Explorer") EndIf WEnd While 1 AutoItSetOption("WinTitleMatchMode", 2) If WinExists("Internet Explorer") Then WinClose("Internet Explorer") EndIf AutoItSetOption("WinTitleMatchMode", 1) If WinExists($Norton,"Phone Activation") Then ExitLoop If WinWait($Norton,"Activate by phone") Then WinSetState($Norton,"Activate by phone",@SW_DISABLE) Sleep(2000) ProgressSet( 60, "60 percent") WinActivate($Norton,"Activate by phone") Sleep(1000) WinSetState($Norton,"Activate by phone",@SW_ENABLE) ControlClick($Norton,"Activate by phone","Button4") WinActivate($Norton,"Activate by phone") Sleep(1000) Send("!n") EndIf WEnd If WinWait($Norton,"Phone Activation") Then ProgressSet( 70, "70 percent") WinSetState($Norton,"Phone Activation",@SW_DISABLE) ControlSend($Norton,"Phone Activation" ,"Edit8","000000") ControlSend($Norton,"Phone Activation" ,"Edit9","000000") ControlSend($Norton,"Phone Activation" ,"Edit10","000000") ControlSend($Norton,"Phone Activation" ,"Edit11","000000") ControlSend($Norton,"Phone Activation" ,"Edit12","000000") ControlSend($Norton,"Phone Activation" ,"Edit13","000000") ControlSend($Norton,"Phone Activation" ,"Edit14","000000") ControlSend($Norton,"Phone Activation" ,"Edit15","000000") ControlSend($Norton,"Phone Activation" ,"Edit16","000555") WinActivate($Norton,"Phone Activation") Send("!n") ProgressSet( 80, "80 percent") EndIf RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyEnable","REG_DWORD","00000000") RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyServer") If WinWait($Norton,"Your product key is") Then ProgressSet( 90, "90 percent") WinSetState($Norton,"",@SW_DISABLE) WinKill($Norton,"Your product key is") If WinWait($Norton,"Are you sure you want to exit") Then WinSetState($Norton,"",@SW_DISABLE) ControlClick($Norton,"Are you sure you want to exit","Button1") ProgressSet(100 , "Done", "Complete") EndIf EndIf ProgressOff() Sleep(5000) RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyEnable","REG_DWORD","00000000") RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyServer") FileDelete(@SystemDir & "\noract.exe") ==========================
  5. is this topic almost talking about the same thing? http://www.msfn.org/board/index.php?showtopic=51406&st=0 Wanting a DVD to also work as a Driver DVD (all the drivers) at any time as well, which method do u think makes the process of installation of windows longer from a DVD in a little slow computer? Installing the Drivers form the DVD with Random access time problem (as you mentioned) for finding the Drivers on the DVD, or Copying all the uncompressed files to the hard during the setup and letting the windows to find the drivers from the hard? Copying all those files it's not a very fast process.
  6. or this autoscript should take care of it, making sure the shutdown doesn't close the original process causing starting of the windows in slower computers, $run= @ComSpec & " /c " & @ScriptDir & "\WPI.CMD" RunWait($run,"",@SW_HIDE) Shutdown(6) only the exe remians, that I am thinking of moving to windows folder for execuation.
  7. Ok I think the best is to restart the windows without letting the windows to finish with RunOnceEx and start initializing windows components, with this command at the end of WPI.CMD start /w shutdown -r -f -t 00, (waiting for shutdown) There should be No Errors, No side Effects, No event logs, No early intialization of the programs specially if they need a restart to function properly.
  8. Shahram

    RamDrive

    I have been able to enable the device if writing the registry keys once before the windows start, together with windowsshell.exe. After so many times not being able even to Enable the device, I have been able to enable the ramdrive when it attaches itself to the target windows by writing the registry keys again (goes into the target registry) and then disabling/enabling the device. But this does not work in a Hardless environment, or when ERDC does not attach itself to the target windows (or load the target registry), The Device is ENABLED, but there is no drive ??????? The same script does not work even though it says the device is enabled. How does it work in WINPE or BartPE?
  9. Shahram

    RamDrive

    I think I jumped into conclusion very fast, It worked for a while and the same script stoped working, It might be related to the fact that is being tested under a virtual machin, but I am not sure, There is another problem regarding the ERDC that you will have to be aware of, that when ERDC attaches itself to a the Target PC Windows, the registry information is loaded from the target windows and any written to the registry will be written to the target registry and it might also cause problems for the next ERDC session, so I remove all the registry enteries before proceeding with new enteries, Yet , with a clean snapshot, it is not working, and sometimes I even get the blue screen of death, AnyBody esle trying this in ERDC?
  10. Shahram

    RamDrive

    Ok, I guess I finally made it work, it even works with the previous version, it's just like I haven't been looking enough first thing was, once the ramdrive size is set, it can not be changed at least in ERDC, so RAMDSIZE is pretty useless if the size was set before through the registry key, the 2nd thing is (maybe it's my virual machin, but I gave it 512 MB total RAM) , I had to do a couple of DEVCON.exe disable/enable ramdriv to get it work, it didn't work on the first try (which I usually was giving up), and in many cases I was getting an error of being low in virtual memory even before setting the drive size. So I made a one batch file to do everything, My next step would be to incorporate it in WindowsShell.exe, to be executed before everything,
  11. Shahram

    RamDrive

    Ok, thank you, I have been working on the previous version 5.2.10.2, Now I used the latest version, V 5.3.1.5 The decvice actually seems to apear after RAMDSIZE XX (thank god at least getting somewhere) But it always remains on ~1MB(1,029,120 bytes), no matter what is given to the RAMDSIZE, hm.....
  12. Shahram

    RamDrive

    nope, I couldn't find a way to incoporate it, even though I managed to reset the permission of the registry files and add the registry values that work in counter WINPE / BartPE , but it does not work, if somebody finds a way, it would be most appreciated, Ps. it's starnge that till now, nobody has really been working a RAMDRIVE in ERDC,
  13. Shahram

    RamDrive

    hmm.., I will need it to be seperated from the actual ERDC, thanx anyways I found this which sounds promissing, http://home.tiscali.be/ir006712/RAMDisk/ramdriv.htm But yet I have to figure out a way to incorporate it in ERDC, in other systems like BartPE, it shouldn't be a problem as you make plugins for them, but in ERDC this is not that easy, If anybody knows how to incorporate this or any other ram using programs, please let me know.
  14. Shahram

    RamDrive

    A Quick search didn't give me much results, only a few hints like filter driver should be registered here : CurrentControlSet\Control\Class\{4D36E978-E325-11CE-BFC1-08002BE10318}\UpperFilters REG_MULTI_SZ (Yourdriver name)[/vbcol? ?? for SDI image, can you actually load an SDI image inside WINPE / ERDC to have some writable media, all I could find were bootable SDI images to load the whole windows into the memory. Edit: I wan't to use this as a temp folder, even 32 Mb will do that for me.
  15. Shahram

    RamDrive

    I have access to the registry files of ERDC, at least does somebody know, if it could be loaded through a registry key or something? without an Extra Drive I am stuck with a lot of my programs not functioning in a hardless environment,
  16. Since runonce is before starting of windows, it should not cause any problems, Thise DDL problems were happening even if there was no restart, First I was thinking silently unlock those old DLL files and copy the new ones at the end of WPI, But Now, I am thinking of starting the shutdown process from the WPI batch file and waiting for it, that means, the installation never gets finished to start the windows files, And the DLL erros does not show up again, cause the first time windows loads up, they are not registered, but a restart fixes the problem without the need of manually putting the DLLs there, Infact I think, giving time for windows to start could cause problems, as there will be programs like IE7, that if installed from RunOnce, their files are not in place (registered) untill a restart. and starting of windows without a restart can be problematic.
  17. Shahram

    RamDrive

    I am using ERD Commander 2005, can anybody explain how I can load a RamDrive, I don't want to load the whole thing into a RAMDRIVE, only an extra RAMDrive to put the temp files in, even if there is no hard drive in the system.
  18. Does anybody here install IE7 during runonce, Does your systems run into erros after installtion? it seams there are 2 files , ADVPACK.DLL & WININET.DLL, that are likely to cause problems of being older that the versions in IE7 folder and required by it, eg. the ADVPACK.DLL in the System32 folder : 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) and the new version in IE7 folder: 7.00.5296.0 (winmain(wmbla).060125-1505) I just recopressed the new ones and replaced the originals, Does anybody know if this might cause any other problems?
  19. Ok, I guess all the problems were related to ADVPACK.DLL the ADVPACK.DLL which was in the System32 folder was : 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) But the ADVPACK that "Internet Explorer 7" contained and needed and many other programs also needed was: 7.00.5296.0 (winmain(wmbla).060125-1505) I just compressed the new version to ADVPACK.DL_ and replaced the original in I386 folder.
  20. I am looking for a way to make PPPOE connections in ERD commander 2005, all I could find were plugins for BartPE, Can anyone help me on this?
  21. I don't want the windows to start anyways, cause I have applications that I do not want them to run on the first start, infact their first start is important which should be after a restart, 30sec? isn't that almost windows starts running completely, and then you are looking at the windows loaded and waiting for the restart? or does it wait for the shutdown? hmmm...
  22. There are only 2 files that need to be small in order for FireFox to function normally, 1. FIREFOX\GREPREFS\all.js 2. FIREFOX\DEFAULTS\PREF\firefox.js Now if somebody could find out, where these 2 files are called, and if we would be able to change it, so the uppercase wouldn't be a problem, it would be amazing.
  23. Got the two other errors , and These are after the installation, and there is nothing to be installed at that time. I have no Idea where these came from. I guess the first one might be related to IE7 that I am installing.
×
×
  • Create New...