Jump to content

opsoftware

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by opsoftware

  1. Hi all,

    As per the image below there are a number of links that I just can not get rid of:

    Remote Assistance

    Tour Windows XP

    Command Prompt

    Program Compatabiltiy Wizard

    Synchronize

    Windows Explorer

    Any idea on how to get rid of them...

    Below is my cleanup script

    cmdow @ /HID
    @echo off

    :: Start >>
    del "%ALLUSERSPROFILE%\Start Menu\New Office Document.lnk"
    del "%ALLUSERSPROFILE%\Start Menu\Open Office Document.lnk"
    del "%ALLUSERSPROFILE%\Start Menu\Set Program Access and Defaults.lnk"
    del "%ALLUSERSPROFILE%\Start Menu\Windows Catalog.lnk"
    del "%ALLUSERSPROFILE%\Start Menu\Windows Update.lnk"

    :: Start >> Programs >>
    del "%ALLUSERSPROFILE%\Start Menu\Programs\Remote Assistance.lnk" [B]<-- This does not seem to work[/B]

    :: Start >> Programs >> Accessories >>
    del "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Tour Windows XP.lnk" [B]<-- This does not seem to work[/B]
    del "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Synchronize.lnk" [B]<-- This does not seem to work[/B]
    del "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Program Compatability Wizard.lnk" [B]<-- This does not seem to work[/B]
    del "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Command Prompt.lnk" [B]<-- This does not seem to work[/B]
    rd /s /q  "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\System Tools"
    rd /s /q  "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\Communications"

    DEL "%systemroot%\*.bmp"
    DEL "%systemroot%\system32\dllcache\*.scr"
    DEL "%systemroot%\system32\*.scr"

    RD /S /Q %systemdrive%\I386\$OEM$\
    RD /S /Q %systemdrive%\install\
    RD /S /Q %systemdrive%\Logfiles\

    net user aspnet /delete

    shutdown.exe -r -f -t 5 -c "Windows will now restart...."

    EXIT

    post-62500-1121241756_thumb.png

  2. Hi All,

    First I would like to say thanks for all the great advice that I have found searching the site.

    I have a fully working network install of XP SP 2 + Office 2003 SP 1 + 6 other Apps all running silent via batch files and has been fully load tested clean installing 40 PC's in on shot, so thanks for that.

    My problem is I am in the process of moving away from batch files to the RunOnceEx method but everytim I run the install it seem that the RunOnceEx just is not working.

    I have been over the RunOnceEx setup tut at http://unattended several times but still no joy.

    As this is a network install the $OEM$ folder resides within the I386 folder and all that I put into is copied to the correct locations is there something that I am missing.

    I have even put a PAUSE in the RunOnceEx file to try and hold it for debugging but as that is not coming up and there are no registry entries once Windows loads I am happy to say it just is not running.

    Any help would be great.

    Regards,

    Ozzie :no:

    [EDIT]

    This is the cmdlines.txt which is in $OEM$

    [COMMANDS]
    "RunOnceEx.cmd"

    This is the RunOnceEx which is also in $OEM$

    @echo off

    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

    REG ADD %KEY% /V TITLE /D "Installing Drives and Applications" /f

    REG ADD %KEY%\001 /VE /D "Copy I386 Folder" /f
    REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\1.cmd" /f

    REG ADD %KEY%\002 /VE /D "Copy Programs Folder" /f
    REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\2.cmd" /f

    REG ADD %KEY%\003 /VE /D "Creating Second Drive" /f
    REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\3.cmd" /f

    REG ADD %KEY%\005 /VE /D "Adobe Reader 7" /f
    REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\programs\AdobeReader7\setup.exe /S /qb-" /f

    REG ADD %KEY%\010 /VE /D "Microsoft Office 2003" /f
    REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\programs\Office11\setup.exe TRANSFORMS=C:\Install\programs\Office11\setup_office.MST /qb-" /f

    REG ADD %KEY%\015 /VE /D "Microsoft Visio 2003" /f
    REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\programs\Visio\setup.exe TRANSFORMS=setup_visio.MST /qb-" /f

    REG ADD %KEY%\020 /VE /D "MccAffee Anti Virus" /f
    REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\programs\McAffeeVirusScan\Setup.exe /qb REBOOT=Suppress" /f

    REG ADD %KEY%\025 /VE /D "Importing Registry Tweaks" /f
    REG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\install\XPNEW.reg" /f

    REG ADD %KEY%\030 /VE /D "Cleaning Up and Rebooting" /f
    REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

    Pause

    This is the file structure

    WINXPSP2 <-- Root of share
                 |_ I386
                          |_$OEM$
                                   |_cmdlines.txt
                                   |_RunOnceEx.cmd
                                   |_$$
                                   |_$1
                                        |_install
                                              |_ Programs

×
×
  • Create New...