Jump to content

Christine_ts

Member
  • Posts

    38
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Norway

Everything posted by Christine_ts

  1. This must be done when CMDLINES.TXT running at T-12, later the All Users\Documents will have some kind off fileprotection running. First, in the CMDLINES.TXT, running at T-12, i have this CMD: [COMMANDS] "Setup.cmd" In SETUP.CMD i use this command: RD /S /Q "%systemdrive%\Documents and Settings\All Users\Documents" Del /F /Q "%systemdrive%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Media Player\*.*" All the shared files will now be deletet. After rebooting at T-0 the All Users/Documents will be created again, but now the Directory is not longer Fileprotected. In WINNT.SIF i have this command [GuiRunOnce] %Systemroot%\Config.cmd In CONFIG.CMD i use this command: RD /S /Q "%Allusersprofile%\Documents" Del /F /Q "%Systemdrive%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Media Player\*.*" Well, that's it, all the Shared files, Sample Music, Sample Pictures and Shared folders are gone. Best Regards
  2. Hello. Sometimes when i do a Windows Updates for people i know, Windows Update find some hardware drivers for me. This drivers are easy to use, don't have a lot of software, control-panels and other scrap. It's just a simply driver i often have problems to find other places because of missing hardware information. (Laptops without Network drivers etc.) But - i realy want to download them but can't find them, they just are installed and that's it. I have trying to search Microsoft but no . . . Someone know something about this ? Best Regards
  3. You need to specify a REG_EXPAND_SZ data string instead of REG_SZ. Use the following: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Environment] "TEMP"=hex(2):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,54,00,65,00,6d,00,70,00,00,00 "TMP"=hex(2):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,54,00,65,00,6d,00,70,00,00,00 Thank you, that's it ! Ten Point's to Mongo66
  4. I make a new unattendet Xp (Sp3) cd and want to set all users Temp directory to \Windows\Temp so Admin simply can delete all users Temp files. I have try, in the Environment settings, to use variable settings because i dont want to lock the install Cd to install on C: drive, maybee i later want to install Xp on a D: drive . . . I have try this settings in my RegTweak: [HKEY_CURRENT_USER\Environment] "TEMP"="%systemroot%\\Temp" "TMP"="%systemroot%\\Temp" And [HKEY_CURRENT_USER\Environment] "TEMP"="%Temp%" "TMP"="%Temp%" When i use the First one it's work fine, but Windows Update hang when install the first AxtivX it needed to continue the update process. When i use the Second one, Windows Update work fine, but some of my software, like Regshot, get confused and Crash. And maybe other software to, who know's . . Someone know what's the right choise ? Is it my software there is outdatet ? Best Regards
  5. Ok, understand. But here i think the name in the key talk self what it do. I wright it like this because it's easy to mark it and just past it into notepad. But - I will do in other examples Best Regards Christine
  6. Sorry about my badly school English. What you mean with: You should also add a ";comment" above each line telling the person the "Event Name"
  7. I always hated the Windows Default Sound Scheme, it's take time and when i set up new user's, it's there again. Gossj ! I also want to choise what making sound and what kind of Sound. This Reg.Tweak Setting up a new Scheme called "Custom Sound" and can be used in unattended setup or a later Reg.Tweaks . . . In unattendet setup it will be the Default Sound Scheme for every user. This Scheme only set Sound for "Critical Battery Alarm", " Low Battery Alarm", and "New Mail Notificatin", but can simply be changed as you see. CMDLINES.TXT ----------------- [COMMANDS] "Setup.cmd" SETUP.CMD ------------- Start /Wait Regedit /S Tweaks.reg Exit TWEAKS.REG ---------------- Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\AppEvents\Schemes] @=".Custom" [HKEY_CURRENT_USER\AppEvents\Schemes\Names\.Custom] @="Custom Sound" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\.Default\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\AppGPFault\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\CCSelect\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Close\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Current] @="ringin.wav" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceFail\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Current] @="chimes.wav" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MailBeep\.Current] @="notify.wav" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Maximize\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuCommand\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuPopup\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Minimize\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Open\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\PrintComplete\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\RestoreDown\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\RestoreUp\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\ShowBand\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExit\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemHand\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemNotification\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStart\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogoff\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Person Joins\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Person Leaves\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Receive Call\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Receive Request to Join\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\ActivatingDocument\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\MoveMenuItem\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.Current] @="" [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\SecurityBand\.Current] @="" ---- END ----- In unattended setup some sound in the Conf (Netmeeting) and Explorer will be added later in the setup process but they can simply be removed later if they are a problem.
  8. This is how i Slipstreaming Media Player 10 First, in cmdlines.txt, i have this command: [COMMANDS] "Setup.cmd" Then, in Setup.cmd, i installing Mediaplayer 10.0, Doing some Regtweaks and removing some files. Her is my Setup.cmd: Cls @Echo Off Echo. Echo Adding Media Player 10.0 Echo. Echo Working . . . Echo. Start /Wait Player.exe /Q:A /R:N /C:"setup_wm.exe /Q /R:N /NoPid /DisallowSystemRestore\" Start /Wait Regedit /S Tweaks.reg RD /S /Q "%systemdrive%\Documents and Settings\All Users\Documents" RD /S /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Games" RD /S /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Accessories" Del /F /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\*.lnk" Del /F /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\*.lnk" RD /S /Q "%systemdrive%\Documents and Settings\Default User\Start Menu\Programs\Accessories" RD /S /Q "%systemdrive%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0" Del /F /Q "%systemdrive%\Documents and Settings\Default User\SendTo\*.*" Del /F /Q "%systemdrive%\Documents and Settings\Default User\Templates\*.*" Del /F /Q "%systemdrive%\Documents and Settings\Default User\Start Menu\Programs\*.lnk" Del /F /Q "%systemdrive%\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\*.*" Del /F /Q "%systemdrive%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Media Player\*.*" Exit ************** Deleting: RD /S /Q "%systemdrive%\Documents and Settings\All Users\Documents": removes shared picture, sample music-list, Demo Playlist and so one. If you dont remove it here the Directoy and files can't be deletet later, some fileprotection, shared files are turned on. This Directory will exist again after Reboot, but now the fileprotection is removed, so i remove it again from Winnt.sif [GuiRunOnce]%systemroot%\Config.cmd RD /S /Q "%systemdrive%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows Media\9.0": removes file from the old Mediaplayer Del /F /Q "%systemdrive%\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Media Player\*.*": removes some other useless files. The other files i delete is Links and so one. When this script is running the AdministratorAcount don't exist, but it will after reboot. The AdministratorAcounts is based of the files from Default user, deleting them here and they will also be gone as Administrator. The Regtweaks i do here in reg Hkey_Current_User will be sett as default for all user later.
  9. Why force a reboot ? The installation doing the last "Registration Component, then save and so reboot anyway
  10. When the file cmdlines.txt run there is only All Users and Default Users Account. When the file called from Winnt.sif ([GuiRunOnce] is called the Administrator Account also Exist If you in this some of this file add a command like: dir *.* /s "%systemdrive%" > "%systemdrive%\dirlist.txt" you will get a file you can look at later
  11. You can use this link on Sp3, it's working. http://www.theeldergeek.com/slipstreamed_xpsp2_cd.htm
×
×
  • Create New...