Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

Lau

Member
  • Posts

    21
  • Joined

  • Last visited

  • Donations

    $0.00 

Posts posted by Lau

  1. you can change your logon screen with this reg tweak,

    put your renamed logonui(new).exe in system32 folder.

    Windows Registry Editor Version 5.00
    ;=======================================================================
    ; UI Logon
    ;=======================================================================

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

    "UIHost"=logonui(new).exe

    Remember to backup before playing.

  2. @ Delphianrex

    Save as boot.cmd.

    Edit for your needs.

    @echo off

    ATTRIB -R -S -H %systemdrive%\boot.ini

    del /F /Q %systemdrive%\boot.ini

    SET inifile="%systemdrive%\boot.ini"

    ECHO [boot loader] >> %inifile%
    ECHO timeout=0 >> %inifile%
    ECHO default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS >> %inifile%
    ECHO [operating systems] >> %inifile%
    ECHO multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="XP SP2 Pro" /bootlogo /noguiboot /fastdetect>> %inifile%

    ATTRIB +R +S +H %systemdrive%\boot.ini

    exit

  3. @ Delprat & gunsmokingman

    List installed hotfixes.

    Is it possible to add this funktion in your scripts?

    Like in this cmd.

    cmdow @ /HID
    @ECHO OFF
    SET D=%SYSTEMROOT%\system32\
    REM delete oeminfo.ini if exists
    if exist "%D%oeminfo.ini" del "%D%oeminfo.ini" /q
    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\WIN51IP SET CDROM=%%d


    echo [General] >> "%D%oeminfo.ini"
    echo Manufacturer=Unattendet Win. XP sp2 Pro >> "%D%oeminfo.ini"
    echo Model=Slim Slipstream Version >> "%D%oeminfo.ini"
    echo [Support Information] >> "%D%oeminfo.ini"
    echo Line1=Dato for installation: %date% >> "%D%oeminfo.ini"
    echo Line2= >> "%D%oeminfo.ini"
    echo Line3=Slipstreamed Hotfix:>> "%D%oeminfo.ini"
    echo Line4= >> "%D%oeminfo.ini"

    REM Line Number
    SET i=5

    REM List quickfixes without exe extension
    For /F "TOKENS=1 delims=.exe" %%j in ( 'dir /B %CDROM%\I386\svcpack\KB*.exe' )do ( ( set kbname=%%j ) & (call :myprint) )
    GOTO :EOF

    :myprint
    echo Line%i%=%kbname% >> "%D%oeminfo.ini"
    SET /A i+=1

    :EOF

  4. Rename "My Computer" unattended.

    Run this vbs script from RunOnceEx.

    It will be the name you set in your "winnt.sif".

    Const MY_COMPUTER = &H11&

    Set objNetwork = CreateObject("Wscript.Network")
    objComputerName = objNetwork.ComputerName
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace(MY_COMPUTER)
    Set objFolderItem = objFolder.Self
    objFolderItem.Name = objComputerName

    Rename "Drive(s)" unattended.

    Put this "reg" in your regtweaks.

    It will also do your icon.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultLabel]
    @="Hoved Drev"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]
    @="c:\\windows\\icons\\System\\win.ico"

    Both found on this site...

  5. @ Orsi

    Try this cmd, edit what you need, then run it at "cmdlines", works for me.

    Found it in an old topic.

    @echo off

    ATTRIB -R -S -H %systemdrive%\boot.ini

    del /F /Q %systemdrive%\boot.ini

    SET inifile="%systemdrive%\boot.ini"

    ECHO [boot loader] >> %inifile%
    ECHO timeout=0 >> %inifile%
    ECHO default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS >> %inifile%
    ECHO [operating systems] >> %inifile%
    ECHO multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="XP SP2 Pro" /bootlogo /noguiboot /fastdetect>> %inifile%

    ATTRIB +R +S +H %systemdrive%\boot.ini

    exit

  6. @ boombastic2

    Relatet to your Q.

    Try this vbs script, found on M$ Tech Net

    Const MY_COMPUTER = &H11&

    Set objNetwork = CreateObject("Wscript.Network")
    objComputerName = objNetwork.ComputerName
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace(MY_COMPUTER)
    Set objFolderItem = objFolder.Self
    objFolderItem.Name = objComputerName

    Save as mycompname.vbs

    Run at "RunOnceEx" like this

    REG ADD %KEY%\024 /VE /D "Ændre Maskine Navn." /f
    REG ADD %KEY%\024 /V 1 /D "%SOFTWARE%\mycompName.vbs" /f

    Will show machine name from your winnt.sif

    [UserData]
    ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
    ComputerName = FROZEN
    FullName = "Laurits Justesen"
    OrgName = "Frozen Ink Tattoo"

  7. How I make my auto date & list all hotfixes + some text in Oeminfo.ini

    cmdow @ /HID
    @ECHO OFF
    SET D=%SYSTEMROOT%\system32\
    REM delete oeminfo.ini if exists
    if exist "%D%oeminfo.ini" del   "%D%oeminfo.ini" /q
    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\WIN51IP SET CDROM=%%d


    echo [General] >> "%D%oeminfo.ini"
    echo Manufacturer=Unattendet Win. XP sp2 Pro >> "%D%oeminfo.ini"
    echo Model=Slim Slipstream Version >> "%D%oeminfo.ini"
    echo [Support Information] >> "%D%oeminfo.ini"
    echo Line1=Dato for installation: %date% >> "%D%oeminfo.ini"
    echo Line2= >> "%D%oeminfo.ini"
    echo Line3=Slipstreamed Hotfix:>> "%D%oeminfo.ini"
    echo Line4= >> "%D%oeminfo.ini"

    REM Line Number
    SET i=5

    REM List  quickfixes without exe extension
    For /F "TOKENS=1 delims=.exe"  %%j in ( 'dir /B %CDROM%\I386\svcpack\KB*.exe' )do ( ( set kbname=%%j ) & (call :myprint) )
    GOTO :EOF

    :myprint
    echo Line%i%=%kbname%   >> "%D%oeminfo.ini"
    SET /A i+=1

    :EOF

    Run at cmdlines.

    It´s not my work, found somewhere in this forum, just rebuilt for danish lang.


×
×
  • Create New...