Jump to content

shorterxp

Member
  • Posts

    157
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by shorterxp

  1. For some reason 'Mount with IMDisk Virtual Disk' appears on all files in explorer, even irrelevant ones like cmd. Expunge the following registry key to prevent this. HKEY_CLASSES_ROOT\*\shell\ImDiskMountFile Here is my silent repack with this fix included: OneDrive (761kb). It's a SFX archive. and yes Chocloate banana is a habit I must admit. Thank you for your invaluable assistance once again//
  2. Ok, I uninstalled SPTD rebooted the OS and installed IMGDisk alone and it seems to work without SPTD. This is so much easier, I cannot believe people recommend to use SPTD + Daemon when IMGDisk does it off the bat without messing around with drivers at Unattended. In hindsight so much time was wasted making a silent Daemon installer (i.e. post #1) -.-
  3. Update: I managed to track down the patch, here is the code that supposedly fixes the bug. (save as .vbs and run it) ' This Script fixes the Windows XP slow boot bug which is caused by the "Microsoft .NET Framework NGEN v4.0.30319" Service. ' This Script will checks if the "Microsoft .NET Framework NGEN v4.0.30319" Service is "Running" and if it is then the Script will try to set the "Startup type" for this Service to "Disabled". ' Disabling the "Microsoft .NET Framework NGEN v4.0.30319" Service will not cause any problems with the programs that are run on Microsoft .NET Framework v4. strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colServiceList = objWMIService.ExecQuery _ ("Select * from Win32_Service where Name = 'clr_optimization_v4.0.30319_32'") For Each objService in colServiceList If objService.State = "Running" Then errReturnCode = objService.ChangeStartMode("Disabled") End If Next It works! If that doesn't work theres: ' [ MS .NET Framework 4 - WinXP Slow Boot Fix v3.1 ] ' This Script will fix silently in the background a Microsoft .NET Framework 4 bug that causes a slow Windows XP boot up. ' This Microsoft .NET Framework 4 bug can occur, for example when reinstall Microsoft .NET Framework 4 or when installing new Microsoft .NET Framework 4 Updates. Set objShell = CreateObject("WScript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") ExeFile = objShell.ExpandEnvironmentStrings("%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe") If (objFSO.FileExists(ExeFile)) Then objShell.Run Chr(34) & ExeFile & Chr(34) & "eqi", 0, false End If WScript.Quit The fact NGEN halts the logon process upward of 90seconds is rediculous. What is NGEN? When you install .net framework, uncompiled or raw libraries aka native images, that programs built using .net depend on, are moved from .net installer to target hard drive. However these libraries cannnot be read in their raw state, they first have to be compiled. With older .net installations,compile was done during initial .net installation which now explains why these sometimes took a long time. Instead .net distros (as of 2,0?) install a background service alongside the libs - the service becomes active when the computer is idle, supposedly compiles the libs, which when finished are used with .net based apps. Native images or raw libs supposedly simplifies software development at the burden of we, the clients (thanks lazy developers). It excels in scenarios where software is deployed en masse and enables compatilty across varying architecures i.e. intel/amd, x86/x64 (32 and 64bit) or ARM. That is, when the raw libraries are unpacked by end-user via .net installer, they are compiled to reflect the architecture of the system on which it is installed. I assume that the aim is/was to save dev time and simplifiy software deployment; it eliminates need for multiple itterations of software otherwise needed to work on systems of varying architecture. If the NGEN (£%$!@) service is disabled and an app (developed with .net and this depends on the ,net libraries), is exectued this - ***supposedly*** - hinders app start up time (warm start vs cold start) though I've never experienced this personally and I've used net apps for almost two decades - so I call BS on that.
  4. Does anyone have a mirror of those Hotfixes please?. I'd like to slipstream them in a recent nlite install. In any case, I'm curious if when these are present on systems running on non-target motherboards, if they will cause problems or not.
  5. Hi, Is there an easy way to "track" services behaviour at log on for windows XP? I installed a ethernet device driver, upon reboot + logon (and everyone subsequent logon) explorer loads however majority of windows stuff refuses to open (some non .net apps can). Things like Device manager, network connections, control panel, won't open for circa 2minutes. I suspect that a service which is supposed to run at startup impdes the usual logon sequence. Is there a tool out there that can monitor the sequence? FYI: It's definately the ethernet driver that does it because upon fresh install of XP (which takes but a minute) everything works as expected until IT alone is installed. Even after uninstall, the hang persists. Trried both manual installation of the driver via device manager and the provided installshield package, both lead to the same end. Cheers fellas EDIT: problem goes away if I Disable the connection in Network Connections (or device in device manager). Very strange
  6. Exdit: duplicat thread: Is anyone familiar with this bug and if so, what causes it? The bug occurs when one installs .NET framework 4.0 on (even on full XP SP3). Apps at log on are delayed for 2minutes on the first reboot after installing 4.0 and occurs everyboot thereafter until 4.0 is otherwise uninstalled). In a pre-made image of XP, available on the web, there is described a feature called "F4SBF Patch v2.0" which supposedly fixes this. I don't want to link to the page due to forum policy. I'm curious what this update entails. References https://social.msdn.microsoft.com/Forums/vstudio/en-US/cb75c4dc-e0af-4b22-85b2-c2c1b08bfea1/why-does-net-framework-4-client-profile-slow-down-boot-time-network-creation
  7. Hi jaclaz For 'users' curiosity, see end of post. While that thread is related, the problem described here is separate. To put the problem visually: Attempt 1 Unattended procedure Reboot NLITE.CMD calls other SFX - all of them work NLITE.CMD calls Daemon_SFX.exe: FAIL Taskbar appears / Unattended procedure complete Outcome: Daemon not installed without user input Attmept 2 Unattended procedure Reboot NLITE.CMD calls other SFX - all of them work Taskbar appears / Unattended procedure complete Manual execution of Daemon_SFX.exe*: OK Outcome: Daemon installed but with user input *file is in same directory as previous. The only apparent difference is the chronology of taksbar, which marks the end of NLITE.CMD and unattended setup. MHZs may work but I was less familiar on how to apply it. For me, installing SPTD via cmdlines.txt (t12) and then daemon.exe via NLITE.CMD with the usual reboot in between was simpler (except for this SFX which now won't install automatically - goddamnit!). users: I may distribute my XP install amongst my peers to satisfy a small project. If daemon won't install without user input then I could put a shortcut to the package on the desktop in order for users to install it manually. I could also use MHZ method but I'm curous about why my mehod doesn't work.
  8. SOLVED: For solution skip to this post here Hi, Would like some pointers about RunOnce stage. I cannot fathom why RunOnce wont install this SFX.exe. Its tedious having restart clean boots just to troubleshoot this. A particular app refuses to install (no error given) even though the exe itself works OK if run (manually) after the RunOnce procedure completes (i.e after the desktop shows).. With manual execution it installs as intended. Its a SFX archive, in a directory on the install media. The other SFX executables in that directory work fine also. Few possibilities: Is there a limit on the number of commands NLITE.CMD can make at RunOnce? Maybe XP does not like SFX packed with the latest WinRAR? Edit: I repacked SFX with older 2006 version of WinRAR. Issue persists. Perhaps daemon installer within the SFX seeks a directory that doesn't exist until complete login (i.e. when task bar appears)? Heres the example NLITE.CMD (the very last stage of unattended). @ECHO OFF for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i %SOURCE%\AUTOADD\QL.exe %SOURCE%\AUTOADD\TCPO.exe %SOURCE%\AUTOADD\PowerMenu.exe %SOURCE%\AUTOADD\DreamAquarium.exe %SOURCE%\AUTOADD\SV.exe %SOURCE%\AUTOADD\CoreTemp.exe %SOURCE%\AUTOADD\SumatraPDF.exe %SOURCE%\AUTOADD\DaemonTools.exe @ECHO Please Wait as MS Office is Installed... @ECHO OFF %SOURCE%\OFFICE2003\SETUP.EXE TRANSFORMS="UNATTENDED.MST" /qn %SOURCE%\OFFICE2003\O12Conv.msi %SOURCE%\OFFICE2003\Activate.exe %windir%\system32\cmd.exe /C "START RunDll32.exe shell32.dll,Control_RunDLL desk.cpl,,3" EXIT Really would like daemon integrated into unattended. If all else fails, I will have to instruct users to install it manually instead. (love this forum btw - it's really quick).
  9. It's evident now why the AutoIT script is needed. I wasn't aware. 4.08 allows silent install but comes with adware, where as earlier verisons don't come with adware but don't allow silent install. Typical. Nevertheless I insisted on silent DT installer for 3.46 using AutoHotKey script. Heres a footprint comparison of both options. AutoIT script (800 kb) DT 4.09 Installer (1.7 mb) AutoHotKey Script (180 kb) DT 3.46 Installer (497 kb) shorterxp Silent DT Installer (SFX archive). Autorun and virtual drives are disabled upon installation. To mount, daemon needs to be run and virtual drives needs to set to 1.
  10. Hi, After some thinking, it seems there is 3 ways of doing this. I note order of SPTD and Daemon is important. M1) AutoIT script to check driver presence before installing driver package. M2) Add driver installer to i386/SVCPACK and adding a line to SVCPACK.inf under [Hotfixes to run]. Then Run DT at RunOnce / NLITE.cmd M3) Run driver installer at cmdlines.txt silently. Then run DT at RunOnce / NLITE.cmd Given my own custom install will not have driver present (I can't think of a scenario where it would be already, given he who develops unattended install is in control of such things). I'm not familair with SVCPACK.inf, method 3 is proably the easiest for me... Does anyone object with 3, instead of 2, or 1. Any potential problems? It should work in any scenario (ignoring the scenario M1 addresses - pre-existence of SPTD.sys) Thanks
  11. On occasion the power in my house goes out as I am on pre payment meter. Loss of power resets the BIOS time, consequently so is the time in Windows. Is there a way to make windows time static / independant of the BIOS time?
  12. I could have googled that myself :dow: To clarify: robvanderwoude.com the choice example, using choice.exe did not work as desired. The example on wikipedia, also ussing choice.exe, did work.
  13. Thats what typically works for windows XP. It can change between OS. I think M$ make an effort to make sure old installs that use either work regardless.
  14. Hi, thanks. Theres a bug in forum ("forbidden") shows up when try to use 'code snippet' or 'quote' feature, so I've resorted to using screenshot. The example on robvanderwoude.com did not work. The example on wikpedia did work. See below.
  15. 19/02/19 - Updated links to use OneDrive, added backup links for contingency. Updated overall package to be cleaner / more install/uninstall friendly.
  16. Forbidden You don't have permission to access /board/topic/177670-bat-cmd-yn-input-without-pressing-enter/ on this server. ARGGHHHHHHHHHHHHH not this shTYEt again!!!
  17. Is this possible? The only info I found was here, the first script doesn't work and the second makes no sense: https://forums.windowssecrets.com/showthread.php/113953-Yes-No-Batch-file-(XP-SP2) I would like to create a CMD that prompts user y / n question with goto in place. But automatically continue as soon as input is detected (contrast to waiting for another ENTER press to finish). As it stands: @echo Log off + log in to complete installation! SET /P _inputname= Log Off now?: IF "%_inputname%"=="Y" GOTO :Y GOTO :end :Y cmd.exe /c c:\windows\system32\logoff.exe :end
  18. Could be that I used REGEDIT4 not 5.0 Edit: precisely the problem was I used REGEDIT4 not 5.0 Thanks Jaclaz once again
×
×
  • Create New...