Jump to content

Bebbetufs

Member
  • Posts

    37
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Norway

Everything posted by Bebbetufs

  1. How do you run the .inf file? Can you give me the code to run it from RunOnceEx.cmd? I couldn't get the first method to work. Do I need to apply the .reg file BEFORE installing the prog?
  2. Finally sorted it out The problems was caused by virtual machine not having a D: drive. I changed this setting in winnt.sif: [GuiUnattended] ProfilesDir="D:\Documents and Settings\" To: [GuiUnattended] ProfilesDir="C:\Documents and Settings\"
  3. I'm testing my unattended CD at the moment, but I'm having problems with my profiles. My winnt.sif sets the user profiles directories like this. [GuiUnattended] ProfilesDir="D:\Documents and Settings\" BUT, Virtual PC doesn't seem to recognise this disk, and when I install it hangs when applying user settings saying, Is there a way to make Virtual PC have a D: drive available for the "Documents and Settings" ? TIA Is this what's causing my trouble? EDIT: New test with "ProfilesDir" set to C: confirmed this is the causie of all my troubles!
  4. Thanks! You were right about the version no. Should be 6.0 like you said. I've uppdated the code above with corrected paths in case someone wants to use it.
  5. I tried to run it again with the fixes suggested here. Still no go. When the instalation gets to "Applying your personal settings" it freezes and requires a reboot. After reboot the error mentioned in the first post appears. After pressing "OK" it finishes the installation and starts running the RunOnceEx.cmd entries. I then get this error report from the Nero installation: Nero says: Could these problems be Virtual Machine related? I have 512 MB of RAM and the pagefile fixed at 786 MB. Could it be that VM is running out of recources?
  6. Thanks! I added the last two lines to my RunOnceEx.cmd: REG ADD %KEY%\001 /VE /D "O&O Defrag Professional v.6" /f REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /qn" /f REG ADD %KEY%\002 /VE /D "Registering O&O Defrag Professional" /f REG ADD %KEY%\002 /V 1 /D "%cdrom%\Apps\DfrgPro\regDefrag.cmd" /f Running: ECHO. ECHO Registering OO Defrag Professional... REGEDIT /S %cdrom%\Apps\DfrgPro\regDefr.reg Which again should run regDefr.reg which goes: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\O&O\O&O Defrag\6.0\Pro] "User"="XXXXX" "Company"="XXXX" "SerialNo"="XXXX-XXXX-XXXX-XXX-XXXX" Will this work corectly or do I need to specify "wait" somewhere for this to finish before the rest of the RunOnceEx.cmd continues?
  7. My RunOnceEx.cmd now successfully installs O&O Defrag Pro. I still have to register it manually however. Is there a way around this? REG ADD %KEY%\001 /VE /D "O&O Professional Defrag 6" /f REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /qn" /f
  8. REG ADD %KEY%\009 /VE /D "Registry Tweaks" /f REG ADD %KEY%\009 /V 1 /D "%cdrom%\Apps\REGEDIT /S %CDROM%\Apps\regtweaks.reg" /f When running this section of my RunOnceEx.cmd I get the error "Windows cannot find D:\Apps\REGEDIT" Any suggestions?
  9. The Password and Username errors happened because I wanted to change my username before posting. but obviously forgot to change it everywhere. It is correct in original. Cd Rom If Exists are missing They were removed by "RunOnceEx.cmd Creator" program. In fact, if using that prog I will have to add them manually after saving. Sorry about the serials. Fixed.
  10. I just finished my Unattended CD and tried it in Virtual Machine. After installing everything (which seems to work fine), I run into two problems! 1 I get an error message saying: "Windows Cannot create a temporary profile directory. This may be caused by insufficient security rights. If this problem persists, contact your network administrator." Followed by: " Windows cannot load the user's profile but has logged you on with the default profile for the system. DETAIL - The device is not ready." 2 The start menu won't open, nor the "administrative tools" on the Control Panel. Any suggestions will be GREATLY appreciated. RunOnceEx.cmd cmdow @ /HID @Echo Off IF EXIST D:\CD.txt set CDROM=D: IF EXIST E:\CD.txt set CDROM=E: IF EXIST F:\CD.txt set CDROM=F: IF EXIST G:\CD.txt set CDROM=G: IF EXIST H:\CD.txt set CDROM=H: IF EXIST I:\CD.txt set CDROM=I: IF EXIST J:\CD.txt set CDROM=J: rem PP=%cdrom%\Apps\ SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Programs" /f REG ADD %KEY%\000 /VE /D "Nero Burning ROM 6.3.1.2.0" /f REG ADD %KEY%\000 /V 1 /D "%cdrom%\Apps\Nero\nero63120.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN" /f REG ADD %KEY%\001 /VE /D "O&O Professional Defrag 6" /f REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /qn" /f REG ADD %KEY%\002 /VE /D "TweakUI 2.10 Powertoy" /f REG ADD %KEY%\002 /V 1 /D "%cdrom%\Apps\PToys\TweakUI.msi /qn" /f REG ADD %KEY%\003 /VE /D "WinRAR 3.20" /f REG ADD %KEY%\003 /V 1 /D "%cdrom%\Apps\Winrar\wrar330.exe /s" /f REG ADD %KEY%\004 /VE /D "Speed Fan" /f REG ADD %KEY%\004 /V 1 /D "%cdrom%\Apps\SpdFan\installspeedfan415.exe /S" /f REG ADD %KEY%\005 /VE /D "Nvidia ForceWare Network Access Manager" /f REG ADD %KEY%\005 /V 1 /D "%cdrom%\Apps\FWNtwrk\NVIDIA ForceWare Network Access Manager.msi /qn" /f REG ADD %KEY%\006 /VE /D "MSN Messenger 6.2" /f REG ADD %KEY%\006 /V 1 /D "%cdrom%\Apps\MSN\MsnMsgs.msi /qn" /f REG ADD %KEY%\007 /VE /D "O&O Professional Defrag 6" /f REG ADD %KEY%\007 /V 1 /D "%cdrom%\Apps\oodefrag.msi /qn" /f REG ADD %KEY%\008 /VE /D "Ad-Aware Pro" /f REG ADD %KEY%\008 /V 1 /D "%cdrom%\Apps\Aawsepro\aawsepro.exe /S" /f REG ADD %KEY%\008 /V 2 /D "taskkill /IM Adaware.exe /F" /f REG ADD %KEY%\008 /V 3 /D "taskkill /IM hh.exe /F" /f REG ADD %KEY%\008 /V 4 /D "taskkill /IM Ad-Aware.exe /F" /f REG ADD %KEY%\009 /VE /D "Registry Tweaks" /f REG ADD %KEY%\009 /V 1 /D "%cdrom%\Apps\REGEDIT /S %CDROM%\Apps\regtweaks.reg" /f REG ADD %KEY%\010 /VE /D "Cleaning Up and Rebooting" /f REG ADD %KEY%\010 /V 1 /D "%cdrom%\Apps\cleanup.cmd" /f EXIT useraccounts net user Bebbetufs ********** /add net localgroup Administrators Bebbetufs /add net accounts /maxpwage:unlimited REGEDIT /S autologon.reg EXIT autologon.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="Bebbetufs" "DefaultPassword"="xxxxxxxxxxxxx "AutoAdminLogon"="1" cmdlines.txt [COMMANDS] "useraccounts.cmd" "RunOnceEx.cmd" Cleanup.cmd cmdow @ /HID shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..." net user aspnet /delete RD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing" RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start" DEL "%systemroot%\*.bmp" DEL "%systemroot%\Web\Wallpaper\*.jpg" DEL "%systemroot%\system32\dllcache\*.scr" DEL "%systemroot%\system32\*.scr" DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk" DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk" DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk" DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk" RD /S /Q %systemdrive%\drivers\ EXIT regtweaks.reg Windows Registry Editor Version 5.00 ;Force Nero to show real writing speed [HKEY_CURRENT_USER\Software\ahead\Nero - Burning Rom\Recorder] ;Termsrv TCPIP [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\Licensing Core] "EnableConcurrentSessions"=dword:00000001 "ShowSingleRecorderSpeed"=dword:00000001 ;Disable Automatic Restart in the event of a BSOD [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl] "AutoReboot"=dword:00000000 ;Speed up shutdown [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] "WaitToKillServiceTimeout"="3000" ;Disable the Desktop Cleanup Wizard [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz] "NoRun"=dword:00000001 ;Disables Error Reporting, but notifies when errors occur [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting] "DoReport"=dword:00000000 ;Disable Windows Picture and Fax Viewer [-HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview] ;Do not use Simple File Sharing [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] "forceguest"=dword:00000000 ;Speed up Network Browsing by removing Network Scheduled Tasks [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}] ;Disables Windows Tour bubble popup [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour] "RunCount"=dword:00000000 ;Disable Messenger Service (to stop spam. Does not affect MSN or Windows Messenger) [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger] "Start"=dword:00000004 ;Disable Remote Registry Service [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry] "Start"=dword:00000004 ;Disable SSDP Discovery Service (Universal Plug'n'Play) [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSDPSRV] "Start"=dword:00000004 ;Disable Universal Plug'n'Play Service [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upnphost] "Start"=dword:00000004 ;Set L2 Cache to 512 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "SecondLevelDataCache"=dword:00000200 ;Set Pagefile to D: Drive 768 -768 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "PagingFiles"=multi_sz:D:\pagefile.sys 768 768 ;This will add "Services" to the right-click menu of "My Computer" [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services] @=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00 "SuppressionPolicy"=dword:4000003c [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command] @=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00 ;Remove Shared Documents from My Computer [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}] ;NoRecentDocsmenu removes the recent documents from the start menu. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoRecentDocsMenu"=dword:00000001 ;Change MenuShowDelay (Start Menu load speed) [HKEY_CURRENT_USER\Control Panel\Desktop] "MenuShowDelay"="200" ;Automatically kill programs at shutdown [HKEY_CURRENT_USER\Control Panel\Desktop] "AutoEndTasks"="1" ;Hung app timout setting [HKEY_CURRENT_USER\Control Panel\Desktop] "HungAppTimeout"="5000" ;Wait to kill App setting [HKEY_CURRENT_USER\Control Panel\Desktop] "WaitToKillAppTimeout"="4000" ;Prevents Internet Explorer windows from being reused [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "AllowWindowReuse"=dword:00000000 ;Max your Internet Explorer's simultaneous downloads to 10 (default was 2) [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "MaxConnectionsPer1_0Server"=dword:0000000a "MaxConnectionsPerServer"=dword:0000000a ;Removes Sign up with Passport Wizard when trying to sign in MSN Messenger [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Passport] "RegistrationCompleted"=dword:00000001
  11. Hello. There is no [GuiRunOnce] entry in my winnt.sif file Do I just add it somewhere? Thanks
×
×
  • Create New...