Jump to content

Yzöwl

Patron
  • Posts

    4,113
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Yzöwl

  1. Yes, although I would suggest you change %USERPROFILE%\\Application Data to %APPDATA% Your only problem then is what data type you want to use. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Hummingbird\Connectivity\9.00\Exceed] "UserDir"= ;Either example 1 - REG_SZ "\\\\SRVATD2\\HOME\\%APPDATA%\\Hummingbird\\Connectivity\\9.00\\Exceed\\" ;Or example 2 - REG_EXPAND_SZ hex(2)[colon]5c,5c,53,52,56,41,54,44,32,5c,48,4f,4d,45,5c,25,41,50,50,44,\ [two spaces]41,54,41,25,5c,48,75,6d,6d,69,6e,67,62,69,72,64,5c,43,6f,6e,6e,65,63,74,69,\ [two spaces]76,69,74,79,5c,39,2e,30,30,5c,45,78,63,65,65,64,5c,00 For example 2, you will need to replace the [colon] and [two spaces], with the appropriate symbols, it should also be on three lines only, the first two both ending with a backslash. This is due to a major problem with the forum rendering of html code.
  2. @ 2forza - Is this what you mean? [HKEY_CURRENT_USER\Console] "QuickEdit"=dword:00000001
  3. Well it appears that it's just an option not available in this particular forum area. I wonder what would happen if I were to deliberately post it in a different forum area, and wait for the Mods to move it?
  4. Thanks, I'll give it a shot, and edit this message to confirm or otherwise!<Edit> As promised the GUID is fine, no updates required on WU except for Windows Update Version 6, I used the first page for XP SP2 with the latest updates from Incroyable HULKs post. Here is the command I used in my batch file REG ADD HKLM\SOFTWARE\Microsoft\RemovalTools\MRT /v Version /d "63C08887-00BE-4C9B-9EFC-4B9407EF0C4C" /f</Edit>
  5. @ matthewk Quite a clever alternative. I've now done something similar, it's essentially the same with my code and a little added error trapping If you type an invalid directory, it should open the prompt in the usual manner. I was going to post it, but for some reason the attachment option appears to have left the forum!
  6. Has the GUID for the Malicious Software Removal Tool v1.5, (KB890830), changed from 08112F4F-11BF-4129-A90A-9C8DD010400.
  7. Can you post your current batch file,explain when you are running it, where you are running it from, (with example). Also where does the favorites sub-folder inside the favorites folder come from? <Edit> Note - the del %0 deletes the currently running batch file not the current directory </Edit>
  8. What about Windows Update version 6, anyone got a download link, as opposed to the update site, and additionally a method of integration!
  9. It doesn't matter where you install it from, the /f switch basically allows you to overwrite an existing registry entry without prompting you for confirmation.
  10. 1. update files required 2. insert cds and double click batch 3. listen for sound to switch cd in tray and press key 4. remove cd
  11. CDIMAGE.EXE -lXPSP2_EN -j1 -m -bxpboot.img F:\UWXPCD F:\XPSP2_EN.ISOwhere CDIMAGE.EXE is obvious and if not in %PATH% will need location specifying XPSP2_EN is the CD-Label you require (no spaces) xpboot.img is obvious and if not in %PATH% will need location specifying F:\UWXPCD is the path to your cd source F:\XPSP2_EN.ISO is the name and location you want to give your resulting ISO
  12. The information isn't necessarily for Beginners, but if you click on the Reference link at the bottom of the page you mentioned, the Unattended section, (second paragraph), says it all!
  13. Well it's very nice to hear it!
  14. I think you're looking for %SYSTEMDRIVE% Here's my version of the above, the differences being the path you've stated, I have removed the cmdow which will defeat the object of all your echoes, I have used robocopy, which should be in the same directory as this batch, I have added the registry entries directly from the batch instead of using the reg file and finally if you need it, installed the recovery console from the hard drive instead of the CD @echo off&setlocal enableextensions set hdsrc=%systemdrive%\ set drive=d e f g h i j k l m n o p q r s t u v w x y z set xptag=\WIN51 for %%a in (%drive%) do if exist "%%a:%xptag%" set CDROM=%%a: if not exist %hdsrc%I386 md %hdsrc%I386 echo Please wait, source files are being copied. This may take several minutes. %~dp0robocopy.exe %CDROM%\I386 %hdsrc%I386 /e /copy:da /r:30 /w:10 /a-:r echo Adding registry entries. reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v SourcePath /d "%hdsrc%" /f reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v ServicePackSourcePath /d "%hdsrc%" /f echo Please wait, Recovery Console is being installed locally. start "" /wait %hdsrc%\winnt32.exe /dudisable /cmdcons /unattend endlocal&goto :eof
  15. Do you mean it does that regardless of the letter you assign to it, or are you just assigning the next available one. I would be tempted to try a letter towards the end of the alphabet.
  16. The following, for XP, should do it, by first finding out the interface specific portion. It will set a dword value of 00000001 in NetbiosOptions, for any adaptors identified as Local Area Connections @echo off&setlocal enableextensions for /f "delims=" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}" /s^|findstr "\\Connection"') do ( for /f "delims=" %%b in ('reg query "%%a"^|find "Local Area Connection"') do ( if errorlevel 0 call :doit %%a ) ) endlocal&goto :eof :doit for /f "tokens=1-8 delims=\" %%c in ("%1") do ( reg add HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_%%i /v NetbiosOptions /t REG_DWORD /d 1 /f ) goto :eofI have no idea at what stage it would need to be run, to be effective, so please don't ask. <Edit> Changed to scrolling code box in the hope of preventing line wrap </Edit>
  17. right click my computer > manage > disk management > right click on usb device and select change drive letters and paths, then just set it to what drive letter you would like. This letter should remain device specific, therefore next time you use it, it should map to that same letter.
  18. The CD is only as good as the optical drive beieves it to be. Some drives are better than others when reading slight imperfections in the CD or recording proces.
  19. Try CTRL+F to open the find and replace dialog Then replace space2005space with the regular expression for Newline character \n or the regular expression for Carriage return character \r I don't use MS Word, but I'm fairly sure that it should be pretty close. Note space is just a single press of the space bar, not the word!
  20. I have given examples here of how to do this using inf files and many people here also use a small utility tool named shortcut.exe.
  21. You can safely remove the @echo off and goto :eof from my bit at the end.
  22. One thing, an error which was fixed in the most recent version of the tweaks file"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00<Edit> Just watch for the html character conversion which the forum administrators assure me either doesn't happen or isn't a problem. It should be the word hex followed by a colon not as shown. </Edit>
  23. Last go then, tested on several machines from several locations @echo off pushd %systemroot% for %%a in ("*.log") do if %%a neq windowsupdate.log del /q "%%~a" popd goto :eofHope this is it now!
  24. @ Sgt_Strider The colourful reply from gunsmokingman has the correct syntax! Here is mine in monochrome format @echo off rd /s/q "%UserProfile%\Favorites\Links" rd /s/q "%UserProfile%\Favorites\Favorites" rd /s/q %systemdrive%\drivers del %0Hope this helps!
  25. You could try the redirection directly in the registry, here is an example in inf format [Version] Signature = $CHICAGO$ [DefaultInstall] AddReg = Reg.Settings [Reg.Settings] HKCU,"Software\%MWCv%\%EUsf%","My Music",0x20000,"%MUSIC%" HKCU,"Software\%MWCv%\%EUsf%","My Pictures",0x20000,"%PICS%" HKCU,"Software\%MWCv%\%EUsf%",Personal,0x20000,"%MYDOC%" [Strings] EUsf = "Explorer\User Shell Folders" MWCv = "Microsoft\Windows\CurrentVersion" ;Editable Strings MUSIC = "E:\%USERNAME%\My Music" MYDOC = "%USERPROFILE%\My Documents" PICS = "E:\%USERNAME%\My Pictures"This example shows the My Documents in its default location with the My Music and My Pictures folders redirected. Just edit the strings appropriately. In cmd script you could use @echo off set USF="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" set MUSIC="E:\%%USERNAME%%\My Music" set MYDOC="%%USERPROFILE%%\My Documents" set PICS="E:\%%USERNAME%%\My Pictures" reg add %USF% /v "My Music" /t REG_EXPAND_SZ /d %MUSIC% /f reg add %USF% /v "My Pictures" /t REG_EXPAND_SZ /d %PICS% /f reg add %USF% /v Personal /t REG_EXPAND_SZ /d %MYDOC% /f goto :eofOnce again just edit the strings appropriately. <Edit> Just be careful with the %% sometimes it can be a little playful, whereby ^% may provide an alternative solution </Edit>
×
×
  • Create New...