rootfixxxer Posted August 6, 2004 Share Posted August 6, 2004 when the windows starts and finsihes!??!?or replace them by another ones(the default ones)???? how can i do this??? Link to comment Share on other sites More sharing options...
MCT Posted August 6, 2004 Share Posted August 6, 2004 hi HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Defaulti assume u can figure it out from there Tip: dont delete the key.. just delete the value regards Link to comment Share on other sites More sharing options...
sfamonkey Posted August 6, 2004 Share Posted August 6, 2004 You can do this by going to the control panel and clicking sounds and audio and the clicking the sound tab. If you want to do this during an unattended install you would have to write a batch script or some kind of script to move you sound files to C:\windows\media Link to comment Share on other sites More sharing options...
MCT Posted August 6, 2004 Share Posted August 6, 2004 xcopy "%systemdrive%\Install\Sounds\sound.wav" "%windir%\Media" /Yof course change the directories if it isnt what u use Link to comment Share on other sites More sharing options...
rootfixxxer Posted August 6, 2004 Author Share Posted August 6, 2004 thanks i found it in the regedit.... Link to comment Share on other sites More sharing options...
DexStar Posted August 17, 2004 Share Posted August 17, 2004 How to remove just the value in a .reg file? Link to comment Share on other sites More sharing options...
aknott Posted August 17, 2004 Share Posted August 17, 2004 to remove a value in a reg file do like that[THE_KEY]"thevalue"=-the - means to remove the valueto remove a whole key (be carefull)just use that [-THEKEY]here, the - means to remove the keyhope it helps Link to comment Share on other sites More sharing options...
DexStar Posted August 18, 2004 Share Posted August 18, 2004 to remove a value in a reg file do like that[THE_KEY]"thevalue"=-the - means to remove the valueto remove a whole key (be carefull)just use that [-THEKEY]here, the - means to remove the keyhope it helpsThanks aknott. Works perfectly! Link to comment Share on other sites More sharing options...
jcarle Posted August 18, 2004 Share Posted August 18, 2004 My god people. Why complicate your lives so much? There's a very slick and SIMPLE solution. Open \I386\HIVEDEF.INF.All your sound scheme settings are at the very top.To assist you with editing the registry hive INF file, here's some more information.Entries take the following format:BASEHIVE, KEY, VALUENAME, DATATYPE, VALUEIf you take the following line:HKCU,"AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current","",0x00020000,"%SystemRoot%\media\%WINDOWS_XP_HARDWARE_REMOVE%"HKCU means that this registry entry will be added to HKEY_CURRENT_USER (which is .Default user during setup and eventually copies over to each user created)."AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current" is the registry key in which to add the value."" is the value name (being that it is blank, (Default) will be used.) to add.0x00020000 is the value data type (REG_EXPAND_SZ)."%SystemRoot%\media\%WINDOWS_XP_HARDWARE_REMOVE%" is the value to add.The data types you can use are:; Registry Data Types;; Types with NOCLOBBER don't overwrite existing values; Types with APPEND appends the specified value to the existing value;; REG_ADDREG_APPEND = 0x00010008; REG_BINARY = 0x00000001 (or 1); REG_BINARY_NOCLOBBER = 0x00000003 (or 3); Binary data in any form.; REG_MULTI_SZ = 0x00010000; REG_MULTI_SZ_APPEND = 0x0001000A; REG_MULTI_SZ_NOCLOBBER = 0x00010002; REG_MULTI_SZ_DELVAL = 0x00010006; Array of null-terminated strings that are terminated by two null characters. ; REG_SZ = 0x00000000 (or 0); REG_SZ_NOCLOBBER = 0x00000002 (or 2); Null-terminated string. It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions.; REG_EXPAND_SZ = 0x00020000; REG_EXPAND_SZ_NOCLOBBER = 0x00020002; Null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions. ; REG_DWORD = 0x00010001; REG_DWORD_NOCLOBBER = 0x00010003; 32-bit number. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now