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. Basically, all it does is changes two registry keys.;Disable Computer Configuration settings [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\GPO-List\0] "GPO-Disabled"=dword:00000001 ;Disable User Configuration settings [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\***Your specific SID***\GPO-List\0] "GPO-Disabled"=dword:00000001As you can see the only thing that the exe does is try to find the SID, which is why I suggested you would have to do it upon login!
  2. Try running this compiled batch file at RunOnceEx or similar, (upon login). nogpo.zip
  3. @ scp have you ever wondered why some people are just 'too clever' to see something right under their own nose! This is what I would usedir/-c "%windir%\notepad.exe"|find "69120 bytes">nul||echo/incorrect version
  4. Well spotted, thank you! I have adjusted my postings to suit.
  5. I know its irrelevant to the original question, sorry, but here is a cmd solution to GSMs vbscript. @ECHO OFF SETLOCAL ENABLEEXTENSIONS SET LOCN=%SystemRoot%\ShellNew SET FNAME=MT.cmd SET ISIT= IF EXIST "%LOCN%" ( SET ISIT=Y IF EXIST "%LOCN%\%FNAME%" DEL /Q/F "%LOCN%\%FNAME%" ) ELSE ( MD "%LOCN%" ) COPY NUL "%LOCN%\%FNAME%">NUL REG ADD HKCU\Software\Classes\.cmd\ShellNew /v FileName /d "%FNAME%" /f>NUL REG ADD HKCU\Software\Classes\cmdfile\ShellNew /v FileName /d "%FNAME%" /f>NUL PING -N 4 127.0.0.1>NUL IF "%ISIT%"=="Y" ( DEL /Q "%LOCN%\%FNAME%" ) ELSE ( RD /S/Q "%LOCN%" ) ENDLOCAL GOTO :EOFIts a little longer than necessary due to setting variables, error trapping and putting everything in a nice easy to follow line by line structure.
  6. Why not just check the file version of one of its installed components. From WU5 the file version is usually something like 5.4.3790.2182 or whereas in WU6 the file version is 5.8.0.2469. As the new version is known, test for it, and run the install if unsuccessful. In order to check a file version the easiest method would be to use vbscript. If we wrap it in a cmd and run it, it should work fine. :: IfOldVer.cmd - Yzöwl ©2005 :: Runs a command upon incorrect file version :: @ECHO OFF SETLOCAL ECHO SET objFSO = CreateObject("Scripting.FileSystemObject") >_temp.vbs ECHO Wscript.stdout.write objFSO.GetFileVersion("%SystemRoot%\system32\wuapi.dll") >>_temp.vbs FOR /F %%a IN ('CSCRIPT /NOLOGO _temp.vbs') DO IF "%%a" NEQ "5.8.0.2469" START WUv6.exe /wuforce /quiet /norestart DEL _temp.vbs ENDLOCAL GOTO :EOF
  7. Try adding the Y automatically too ECHO Y| CACLS "X:\Path" /T /C /G Administrators:FJust change the X:\Path to suit.
  8. Yzöwl

    Where's WMP10?

    Oleg_II - ask away. Update - The two files copied were the two infs, so I guess that the error messages were not important. The file I was adding is for all versions, upto and including WMP10. It is four times smaller than the one you've mentioned and is newer however than XP SP2. My guess is that the main difference between the two is DRM, which isn't needed and isn't fully slipstreamed from your selection (ref: your site). That aside I am installing more than one OS, with many scenarios of updates /installs, and am only asking questions in order to get a proper feel for the way the program is operating. This is a forum tommyp, the questions are not directed solely at yourself, if you don't want to answer or don't know the answer, then leave it to someone else, it wont upset me.
  9. Here is a batch file example @echo off set tostop=servicename1 servicename2 servicename3 for %%? in (%tostop%) do sc query %%?|find /i "4 running" >nul&&sc stop %%?Just make a space delimited list of all the services you wish to turn off like the examples 'servicename1 servicename2 servicename3'. Make sure that the names are the 'Service Names' as opposed to the 'Display Names'
  10. Yzöwl

    Where's WMP10?

    Just a little problem now with Codec Installation Package WM9Codecs.exe, I figured that I'd try these instead of wmfdist95, and duly placed them into my HF folder. I guessed that this would be the correct folder, and after seeing it mentioned here thought I'd go for it. During the slipstreaming I get Expanding WM9Codecs.exe Could Not Find F:\hfslip\TEMP\*INST.EXE 0 File(s) copied 0 File(s) copied 1 file(s) copied. Processing Windows Update 1 file(s) copied. Processing Windows Update Integrating WM9Codecs.exe 0 File(s) copied Completed WM9Codecs.exeAnyone else use this file!
  11. Yzöwl

    Where's WMP10?

    Well I read the batch and noticed the problem, it was performing its first set of search criteria against 'Windows'. Seeing as the only files I had which would have fitted that criteria properly named also had 'KB' in the name, I decided to go the easy route and changed the batch file! I replaced :HF REM GET LIST OF THE HOTFIXES DIR HF\*.EXE /A-D /OGN /B /ON >HF.TXT FINDSTR /L /I /C:WINDOWS HF.TXT >HFT1.TXT FINDSTR /V /I "KB891861 KB890830 WindowsUpdateAgent20 LegitCheckControl MDAC MSXML" HFT1.TXT >HF1.TXT FINDSTR /v /b /i /G:HF1.TXT HF.TXT >HFT2.TXT FINDSTR /V /I "KB891861 KB890830 WindowsUpdateAgent20 LegitCheckControl MDAC MSXML" HFT2.TXT >HF2.TXT DEL /F /Q HF.TXT DEL /F /Q HFT1.TXT DEL /F /Q HFT2.TXT with :HF REM GET LIST OF THE HOTFIXES DIR HF\*.EXE /A-D/OGN/B/ON | FINDSTR/IB KB | FINDSTR/IV "KB891861 KB890830 WindowsUpdateAgent20 LegitCheckControl MDAC MSXML" >HF1.TXT DIR HF\*.EXE /A-D/OGN/B/ON | FINDSTR/IVG:HF1.TXT | FINDSTR/IV "KB891861 KB890830 WindowsUpdateAgent20 LegitCheckControl MDAC MSXML" >HF2.TXT It is now working fine and installing WMP10 etc.
  12. Will this do? Reg Key - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor Value Name - AutoRun Data Type - REG_SZ Value Data - your command
  13. Yzöwl

    Where's WMP10?

    I haven't searched the whole file enough yet to disagree with you, but your site documentation only says Do not rename the files. (However, it is ok to put a prefix to the filename in case you want to segregate some hotfixes.) It doesn't say that if you have any renamed files the whole process will break regardless of any correctly named files. If you can change the prefix, then it suggests to me that the cmd file must be looking at the suffixes. However there is no consistency in the suffixes, most contain a language code, but not all. In the cmd file I cannot see any use of %LNG% variable at all and the %LG% variable is used only with WUA20, which is also named correctly. Other than that I only see findstr references to 'KB??????' which all of my files contain within their names. Could you please explain!
  14. Yzöwl

    Where's WMP10?

    From the instructions page Windows Media Player 10 Media Player 10 can go into HF folder if you want it slipstreamed. From the link you gave Names of the files in your HF folder: MP10Setup.exe <---Optional Windows Media Player 10 From my list Names of the files in your HF folder: MP10Setup.exe
  15. Yzöwl

    Where's WMP10?

    Ran my first hfslip and installed, but wmp is still at version 9 Any Ideas! Names of the files in your HF folder: KB873333.exe KB873339.exe KB885250.exe KB885626.exe KB885835.exe KB885836.exe KB886185.exe KB887472.exe KB887742.exe KB888113.exe KB888302.exe KB890046.exe KB890859.exe KB891781.exe KB893066.exe KB893086.exe KB893756.exe KB893803.exe KB894391.exe KB896358.exe KB896422.exe KB896423.exe KB896428.exe KB896727.exe KB898461.exe KB899587.exe KB899588.exe KB899591.exe KB901214.exe MP10Setup.exe WindowsUpdateAgent20-x86.exe WM9Codecs.exe<Edit> incidentally, I'm using HFSLIP_51006.cmd </Edit>
  16. @echo off attrib +s +h "X:\Parent Directory\Folder1" attrib +s +h "X:\Parent Directory\Folder2" reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v WebViewBarricade /t reg_dword /d 0 /f>nul goto :eofJust change X:\Parent Directory\Folder1 and X:\Parent Directory\Folder2 to suit your folders
  17. Where did you notice that string?
  18. You would have to change it to something like this, (untested) @echo off for /f "delims=" %%a in ('dir/b/a "*.?*_"') do expand -r %%~nxa >nul 2>&1&&del /f/a/q %%aJust drop it in the directory and double click it.
  19. sorry zorro1, doesn't work
  20. Just thought I'd mention a problem with the above batch file download. If an error occurs which prevents any of the files from expanding, the compressed file will be deleted too. This batch file will be more efficient @echo off for %%a in (?*.?*_) do expand -r %%a >nul 2>&1&&del /q %%a
  21. In a cmd window, navigate to the directory and use the folllowing command expand -r ?*.?*_
  22. Yzöwl

    HFEXPERT

    Well the first one I can think of is to have one for Themes, (txtsetup ref: 129). I would guess that most of us are putting the UXTHEME.DL_ into FIX anyhow.Would it be a better idea to change the code slightly in the HFSLIP_?*.cmd to only process the folders in HFEXPERT if they actually contain something. That way I can leave my folder structure in tact in HFSLIP, but the cmd file will only process what is necessary. Current IF EXIST HFEXPERT\WIN CALL :HFEWIN New IF EXIST HFEXPERT\WIN\* CALL :HFEWIN
  23. Yzöwl

    HFEXPERT

    Well just to start you along the right lines, the FIX folder is for replacements to I386 after the slipstreaming. As the files are fixes, replacements, their references are already contained in the txtsetup.inf and dosnet.inf etc. so no writes take place there. You therefore need to add your edits to those files on anything you've added to FIX, which is not contained in the originally slipstreamed source.
  24. This isn't the sort of mass rename to be taken lightly, are you happy for _my_file_.ext to be named .my.file..ext If you are then you could try @echo off&setlocal enableextensions enabledelayedexpansion pushd E:\My Projects\MyFolder for /f "delims=" %%? in ('dir/b/s/a *_*') do ( set "old=%%?"&set "new=!old:_=.!" if not exist "!new!" ( ren "%%?" "!new!" ) else ( echo/ %%? already exists! pause ) ) popd&endlocal&goto :eofJust change the location after pushd
×
×
  • Create New...