TWEAK - To Do List ------------------ This is a 'To Do List' for TWEAK - The Windows Environment and Application Konfigurator http://thegoldenear.org/tweak/ This list is slowly being moved over to SourceForge's Feature Request section at https://sourceforge.net/tracker/?func=browse&group_id=87382&atid=582979 Individual Items ---------------- - OOo shortcuts attrib -r; and maybe all shortcut copying needs it - instead of a reboot after Windows Configuration's 'D' we could stop and start the Automatice Updates service - Automatic Updates service runs regardless of whether its turned on or not - we could add an option to Services Management to disable it - HOWEVER, if its turned off then turned on either manually or with TWEAK it still gets started again so that should be ok, but worth investigating - view %WINDIR%\windows update.log - checkout http://www.kellys-korner-xp.com/xp_abc.htm - 'net start' to show running services - is the Perl SYSTEMDRIVE \ issue the problem with perl on the laptop? - 'our info' doc says F-Prot configured for 'Scan -> Options -> Action to take -> Disinfect -> (if fails) ... -> Documents -> Report only', however TWEAK configures it to 'Remove macros when infected' - when installing software, TWEAK's strategy is to use relative paths to find installers, but we could add options to everything to use the cd at some point so it can be run from other media so can use an updated tweak but an older WTB - Autorun.inf http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q136/2/14.asp&NoWebContent=1 regfree -quiet -AddKey "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Set REG_BINARY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun" = "b5000000" regfree -quiet -AddKey "HKLM\System\CurrentControlSet\Services\Cdrom" -Set REG_DWORD "HKLM\System\CurrentControlSet\Services\Cdrom\Autorun" = "00000000" and win-nt-config speaks of it being 00000001 to undo "b5000000" set to "95000000" - Nero Configuration improvements for improved configuration see some of these settings in: AudioDoc - no BootCD - seems to pick up on IsoDoc settings CDCopy - no DVDVideoDoc - has some settings we should add but way of using all as may not apply to DVD ImageDoc - similar - worth including IsoBootDoc - similar - worth including - file type associations for .scp/.txt "What I suspect is happening is that both .scp and .txt file extensions point to the same registry key for their association information. You can confirm this by changing the batch file, such that it does the .scp file association command, before the .txt one. (what you should then see is that both will have the .txt file association info instead)" HKLM\SOFTWARE\Classes\.scp\(Default)=txtfile HKCR\txtfile\(Default)=plain text file HKCR\txtfile\shell\open\command\(Default)=D:\programs\notetab\NoteTab.exe "%1" - win XP SP2 - A New Power-Management Option SP2 includes a new power-management option for Windows XP. You can now use the tool Powercfg.exe to configure power-management settings from the command line. You can use this tool to access the Windows power policy settings that are available in Power Options in Control Panel. The tool also gives you access to some power policy parameters that are not available in Power Options. For example, with powercfg.exe, you can display or select the processor throttling policy used for each power scheme. These policies are not exposed in the Power Options settings. In addition, you can invoke the Powercfg.exe functions from a script. This gives you a simple, flexible interface that you can use to access power management settings without having to write programs using the Win32 power management Application Programming Interfaces (APIs). For information about using this tool and the options it includes, see the Windows Server 2003 family product documentation for the powercfg.exe command-line option on the TechNet Web site. For information about using this tool, at a command prompt, type: powercfg.exe /? - add a Pegasus Mail filtering rule to delete .exe, .com, .scr, .pif, .bat attachments %; F:\mail; Pegasus installed multi-user not Single user echo If attachment ExtnPart lists ".exe, .com, .scr, .pif, .bat" DeleteAttmt "" >> F:\mail\%username%\WINRULES.PMC - Mozilla userchrome.css I would like to have the option to color links that would open in new windows regardless of whether they will be or not based on my preferences. This would let me choose to open it in a new tab if I don't want a new window. Greg, create file userContent.css in %YourProfile%/chrome directory. Then add in this file following CSS declaration: a[target="_blank"] { ...any CSS rules here... } You also can add !important after CSS rule to avoid your declarations to be replaced by CSS from web page. For example see my userContent.css: a[target="_blank"] { -moz-outline: 1px dashed invert!important; /* links to open in new window */ } a[href^="http://"] { -moz-outline: 1px dashed #FFCC00!important; /* links outside from current site */ } a[href^="http://"][target="_blank"] { -moz-outline: 1px dashed #FF0000!important; /* combination */ } - use HKLM\sw\ms\win\cv\App Paths\Mozilla.exe\Path to find where apps installed so they aren't fixed to D:\programs - // Navigator -> Internet Search -> Default Search Engine -> Search using : Google (or your preferred) // this relates to D:\programs\Mozilla\searchplugins\google.src **SO YOU SHOULD EDIT IT IF YOUR PATH DIFFERS** // (Mozilla 1.7 defaults to Google, so this could be removed for that version, which would remove the D: dependency) pref("browser.search.defaultengine", "engine://D%3A%5Cprograms%5CMozilla%5Csearchplugins%5Cgoogle.src"); - "For the record, if you copy your bookmarks.html, cookies.txt, cookperm.txt, signons.txt, and key3.db files to a new profile you'll keep all of your bookmarks, cookies, and passwords. Don't forget your UserChrome.css, UserContent.css, and User.js if you have any of them as well." - write up which Mozilla options in earlier versions are to be changed manually for best results // Advanced -> Scripts & Windows -> Allow scripts to: Open unrequested windows - off // in Mozilla 1.3 and onwards, this preference is best left false and the pop-up // blocking instead handled by Privacy & Security -> Popup Windows -> ... // Mozilla 1.5, atleast, no longer has a UI option for changing this, tho it can probably still be changed using this setting. // if you're using Mozilla 1.1/1.2, turn this on as Mozilla 1.1/1.2 doesn't have the extra popup blocking feature // pref("dom.disable_open_during_load", true); - from 0.8.32: - Windows Configuration - changed per-machine and per-user Windows temp directory from E:\winnt to E:\windows. note: people using TWEAK to configure an RCS environment should add this new e:\windows directory to their login script in addition to the existing e:\winnt before using this or later versions so that each workstation has this directory expected by each user's Windows configuration- are Mozilla preferences not changable when all.js comes off a CD read-only? - auto-indent for notetab doesn't work - notetab-options[2k].reg: "DefaultOpenDir"="H:\\" "DefaultSaveDir"="H:\\" - add to Windows components to remove those described in WINNT.SIF - per user options for XP applied to 2000? - firefox - URLBar autofill (inline autocomplete) with hidden pref "browser.urlbar.autoFill" - Windows Registry Editor Version 5.00 ; ; This registry key is needed for a Windows XP Client to join ; and logon to a Samba domain. Note: Samba 2.2.3a contained ; this key in a broken format which did nothing to the registry - ; however XP reported "registry key imported". If in doubt ; check the key by hand with regedit. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters] "requiresignorseal"=dword:00000000 ====================== REGEDIT4 ;Contributor: Herb Lewis (herb@sgi.com) ;Updated: 16 July 1999 ;Status: Current ; ;Subject: Registry file to enable plain text passwords in Windows 2000 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters] "EnablePlainTextPassword"=dword:00000001 ========================= REGEDIT4 ;Contributor: Tim Small (tim.small@virgin.net) ;Updated: 20 August 1997 ;Status: Current ; ;Subject: Registry file to enable plain text passwords in NT4-SP3 and later [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters] "EnablePlainTextPassword"=dword:00000001 - add to networking echo D. * Enable NetBIOS over TCP/IP (a security risk without a firewall; echo required to connect with a Samba server) echo E. * Disable NetBIOS over TCP/IP echo H. * Enable 'File and Printer Sharing for Microsoft Networks' service(?) echo I. * Disable 'File and Printer Sharing for Microsoft Networks' service(?) echo J. * Enable 'Client for Microsoft Networks' client echo K. * Disable 'Client for Microsoft Networks' client echo L. * Set workgroup name echo M. * Set domain name (can this be done from the command-line?) - document, in the manual, exactly what it is that doesn't work in Mozilla 1.2 - the indicator of this has been pulled from the menu to make more room - look at Mozilla settings that won't change - is there a reg setting for default web browser?; does 'set prog access and defaults' use it? currently mozilla reclaims its own setting when changed, perhaps this could fix this. currently after setting firefox file type assoc HTML still loads in IE. - file type assoc - add WEO. *o Web files Edit in OpenOffice (also sets system default) POGS.* PDF/PS files Open in Ghostscript / GSView - Audacity's temporary directory defaults to 'E:\ADMINI~1\windows\audacity_1_2_temp' (%TEMP%\audacity_1_2_temp, which is good. odd that it has 8.1 bcos if you change it is picks up long filenames) HKCU\Software\Audacity\Audacity\Directories "TempDir" = E:\%USERNAME%\audacity\audacity_temp\ * perhaps we should set %TEMP% to E:\%USERNAME% * which Windows would use then it would be easy for us to set %TEMP%\program-name!!! * Its not quite as neat, as loads of crap will be mixed with out program directories - Windows config: rem View - You can make all your folders look the same : Like Current Folder / Apply to All Folders rem set them up the way you want them then: rem reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoSaveSettings" /t REG_DWORD /d "00000001" /f - backup all application configurations we know of to a user specified place - FileZilla config - Mozilla / FireFox profiles - Mercury - Pegasus Mail (program and mailbox) - Mercury - import configuration - backup important config files - Pegasus Mail - checkout program config: pmail.ini - Mozilla Configuration - insert panels.rdf and localstore.rdf lines using Perl which would mean we wouldn't have to carry different versions of files for different versions of Mozilla - Mozilla Configuration - restore mention of (panels.rdf) and (localstore.rdf) - Zinf extra configuration: rem reg add "HKCU\Software\Zinf\Zinf v2.2\Main" rem ? rem reg add "HKCU\Software\Zinf\Zinf v2.2\Main" /v "DatabaseDirectory" /t REG_SZ /d ? rem reg add "HKCU\Software\Zinf\Zinf v2.2\Main] rem "CheckForUpdates" rem reg add "HKCU\Software\Zinf\Zinf v2.2\Main] rem "AllowMultipleInstances" - Nero 6.3.x - should we remove all but the essential Nero shortcuts? - add support for Nero 6.3's (and perhaps other 6.x versions') shortcuts rem Nero 6.3 (atleast): rd /S /Q "%ALLUSERSPROFILE%\Start Menu\Programs\Nero" del "%ALLUSERSPROFILE%\Desktop\Nero StartSmart.lnk" del "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Nero StartSmart.lnk" this is slightly backwardly compatible with Nero 5.5.x Nero 5: Nero\ Nero - Burning Rom Nero Cover Designer Nero Express Nero ImageDrive Installer (won't work with Nero 6) - we could remove this shortcut Nero Wave Editor (won't work with Nero 6) - we could remove this shortcut Nero\Nero Toolkit\ Nero CD Speed - remove this? Nero DriveSpeed - remove this? Nero InfoTool - remove this? Nero 6: Nero StartSmart Nero 6 Ultra Edition\ *Nero BackItUp Nero Burning ROM Nero Cover Designer Nero Express *Nero ImageDrive *Nero SoundTrax Nero Wave Editor Nero Toolkit\ Nero CD-DVD Speed Nero DriveSpeed Nero InfoTool User's Guides\ empty We used Nero Express for our default Nero shortcut. Nero 6 has Nero StartSmart, where-as 5.5 has Nero Express, but Nero 6 still has Nero Express which is launched in the same way with a /w after the program name, so our shortcut for Nero Express still works with Nero 6 - windows config: rem echo TweakUI - Logon - Log on automatically at system startup rem reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /t REG_SZ /d "0" /f - windows config: rem reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto\UpdateDetectionStartTime" /f rem reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto\UpdateLastWaitTimeout" /f - Driver config - Intel Application Accelerator shortcut :w rem +------------------------------------------------------------------------+-----+ echo rem +------------------------------------------------------------------------+-----+ echo. echo ... rd /S /Q "%ALLUSERSPROFILE%\Start Menu\Programs\Intel Application Accelerator" echo. echo %NAME% - %VERSION% - %COMPUTERNAME% - %USERNAME% - %DATE% - >> "%SYSTEMDRIVE%\tweak.log" goto driver-loader-end rem ---------------------------------------------------------------------------------------------- - backup and recovery rem B. Backup system state data is this XP only?) rem Backup registry (is the only way to do it to do so after creating emergency rem repair disk or is there a command in itself to do the same? - shortcuts.bat: rem G. (set permissions) :g rem +------------------------------------------------------------------------+-----+ rem echo Set permissions... rem echo (this uses XcAcls from the Microsoft Windows 2000 Pro Resource Kit) rem When files are copied from a non-NTFS file system their permissions default to full control. rem so this step is only necessary if running this program for users other than %USERNAME%. rem and if the Windows user profile is copied using the 'Copy To...' feature and ownership changed rem then that is enough. rem if %USERNAME% != %1-USERPROFILE%: rem xcacls "%1-USERPROFILE%\Start Menu\Programs\" /P %1-user%... rem xcacls "%1-APPDATA%\Microsoft\Internet Explorer\Quick Launch\" ... rem xcacls "%1-USERPROFILE%\Desktop\" ... goto icon-loader-end rem ================================================================================ - OpenOffice Configuration - Install a 'standard', 'network' version of OpenOffice 1.1.0 (THIS SOMETIMES CRASHES) "I want to use a response file on Windows to UPGRADE OOo 1.0.3.1 to 1.1.0; it seems there isn't response file language for specifying an UPGRADE. 'UPDATEMODE=ALWAYS gave "ExitCode: 12 - update installation cannot be found" and IF_AVAILABLE installed 1.1.0 side-by-side with 1.0.3.1. anyone know whats going on please?" - StarOffice admin guide says " will be replaced with the home directory (UNIX) or the user's 'My Documents' directory (Windows)" which is ludicrous. people never install application program profiles into their 'My Documents' directory, the place for this is their Windows profile %APPDATA% - which people know, bcos without the response file the OOo profile creator chooses this location to install to by default THO THIS MIGHT BE VAGUELY RELAVANT WHEN INSTALLING IN NON %PROGRAMFILES% LOCATION [AND WHY NOT SUPPORT PROGRAMFILES HERE??? IT WOULD BE MORE USEFUL TO MORE PEOPLE THAN 'My Documents'] [instdb.inf mentions 'winprogpath'] - might be able to combine menu options '*' and 'o' in the same space to save space - Mozilla configuration - 'set locale for use with these options (currently 'US')' - Mozilla configuration - Import cookie and popup windows blocking list for %USERNAME% - Mozilla configuration - removed this which may be useful to add in future if we add an alternative cache location: echo. echo ------------------------------------------------------------------------------- echo You need to edit user.js in %USERNAME%'s Mozilla profile and replace every echo instance of a single '\' in the path in the echo user_pref("browser.cache.disk.parent_directory" setting with '\\' for it to echo work! echo. echo i.e. if you have 'E:\windows\\mozilla' replace it with 'E:\\windows\\mozilla' echo ------------------------------------------------------------------------------- pause - Mozilla config option to create additional profile to those already existing? - existing approach is to backup all existing profiles and create just one in replacement - Pegasus Mail configuration - 'Attempt to copy one mailbox's stateful configuration to another mailbox' 'whilst preserving the current pmail.ini/something-or-other-configuration' copy "%MAILPATH%\%MAILBOX_1%\..." "%MAILPATH%\%MAILBOX_2%" copy signames.pm copy desktop.pm copy state.pm copy winrules.pmc copy hierarch.pm echo You should hand copy the contents of pmail.ini, specific parts might be under 'identities' (A guide to Pegasus Mail filenames and file-extensions: http://home.kabelfoon.nl/~jaabogae/han/pf_pmfiles.html) - in file-assoc - plain text files - pegasus and mercury ones are Edit where-as others are Open - this may have been intentional? - file type associations: add XSL to open in Mozilla? - take per-user icons out of 'Remove icons installed by various programs, so we can use the replacements we're in control of + have organised more logically' and replace those in 'Remove icons re-created when making this user account, or by a program' with them - update user.js(for-use-on-its-own) in line with all.js. and update mozilla-pre-config.html - how do you remove a file type association 'open' having added it? - right-click a HTML file and choose Edit and Mozilla claims an error with "/content/editor.xul cannot be found" - manual changes to Mozilla preferences aren't being saved! - OpenOffice 1.1.0 menus need to have PDF export added - Mozilla user.js automated edit: "do a s/// on the variable, probably in a begin block. maybe stick it in a temp": echo %TEMP% >> "%TEMP%\temp.txt" perl -pi.bak -e "s/\\/\\\\/gi" "%TEMP%\temp.txt" search user.js for string and replace with environment variable or, is it possible to only replace \ where \ exists on its own, not with \\? as that would be simpler - make Mozilla's default search engine not specific to our partition and programfiles directory: perl -pi.orig -e 's/engine://D%3A%5Cprograms%5CMozilla%5Csearchplugins%5Cgoogle.src/engine://%PROGRAMFILES%%5CMozilla%5Csearchplugins%5Cgoogle.src/gi' %PROGRAMFILES%\mozilla\defaults\pref\all.js Or atleast put in a warning that people should do this by hand echo %PROGRAMFILES% > "%TEMP%\progfiles.txt" perl -pi.orig -e 's/:/%3A/gi' "%TEMP%\progfiles.txt" perl -pi.orig -e 's/\/%5C/gi' "%TEMP%\progfiles.txt" either: copy progfiles.txt into environment variable then use in Perl statement or: change all.js, piping in the contents of progfiles.txt or can we make Perl; operate on environment variables rather than files?: set PROGFILES=%PROGRAMFILES% perl -pi.orig -e 's/:/%3A/gi' "$ENV(PROGFILES)" perl -pi.orig -e 's/\/%5C/gi' "$ENV(PROGFILES)" perl -pi.orig -e 's/D%3A%5Cprograms/$ENV(PROGFILES)/gi' "%programfiles%\mOZILLA\...\all.js" - include pmail.ini Pegasus Mail configuration files - option to change cache location currently using with Mozilla configuration - if we were to set %TEMP% to E:\%USERNAME% then we could set application caches to %TEMP%\app-name and when we set them in TWEAK they wouldn't have to be E: specific, they would work with whatever drive anyone had set their cache to - add a %SECTION% into each .bat file for adding into TWEAK.LOG - add 'DISABLE LMHOSTS LOOKUP' to the 'RCS - per-machine' option? - in win-nt-config.html document explorer right-click cmd.exe - General - Web View - Use Windows classic folders - whats changed with this? as it seems to need putting on manually [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "WebView"=dword:00000000 - set in win-config.bat [? Windows XP] [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] or HKLM "ClassicShell"=dword:00000001 - not set in win-config.bat * Disable %USERNAME%'s Real Player 6.0 Automatic Services (but not 'Automatically download and install important updates') (realsched.exe will no longer run in the background) WHY NOT? AND HOW WILL REALSCHED.EXE UNINSTALL WITHOUT TAKING THAT OUT TOO? - there's some new info on Real Player TSRs that should be incorporated - what inspires Real Player's messenger (which appears as realevent.exe)? "Realevent RealEvent.exe Another RealOne Player background task. See RNDAL and EVNTSVC elsewhere in these pages for more details about RealOne Player. Although we are not certain about it, REALEVENT seems to be involved in pulling from Real Networks servers something Real Networks want you to see (whether it is Real Networks product information, advertising, etc..., we are not sure). Recommendation : If you decide not to uninstall RealOne Player, rename REALEVENT.EXE to REALEVENT.OLD – RealOne Player works fine without it, and you will have one less Real Networks background task accessing the Internet without you knowing what it does exactly. RealPlay / Real Player RealPlay.exe This is the System Tray icon for Real Player. A majority of users find this icon extremely frustrating as it slows down the boot-up time of your PC, and Real Player can be accessed through Start \ Programs anyway – in fact, in most cases Real Player comes up on its own when you click on a web link. Recommendation : Visit our "Miscellaneous" document library and download the instructions on how to disable it. Realsched RealSched.exe See EVNTSVC elsewhere in these pages for full details. Evntsvc / TkBellExe / Realsched Evntsvc.exe or Realsched.exe Real Networks Scheduler which gets installed with RealOne Player. Under Win9x/ME this task shows as TKBELLEXE, and as EVNTSVC under Windows 2000/XP or REALSCHED depending on which version of RealOne Player you have installed. From our experience, everything that applies to EVNTSVC below, also applies to REALSCHED. RNDAL elsewhere in these Task List pages is a good starting point to read about RealOne Player. Next, a 15-Jun-2002 extract from the RealOne Player License Agreement that is specific to EVNTSVC (the said License Agreement was updated on 25-Nov-2002 by Real Networks and EVNTSVC was replaced by REALSCHED in that version of the License Agreement) : An application Scheduler, known as "evntsvc.exe," is installed along with RealOne Player. Once installed, it runs independently of RealOne Player. The Scheduler does not collect personal information or communicate with RealNetworks’ servers. It is used to remind AutoUpdate and Message Center to perform their tasks at pre-scheduled intervals. The Scheduler is also used to automatically launch RealNetworks’ Media Type Helper. The Media Type Helper ensures the system is configured for correct operation of the RealOne Player with Multi-Purpose Internet Mail Extensions ("MIME") types, file extensions, Internet protocols and other media types. If a media type has been assigned a different action by a different application, Media Type Helper may override the association and substitute its own association. Recommendation : If reading about RNDAL did not put you off, then read on. RealPlayer Classic used to be one of the most needed pieces of software on a PC. Its successor, RealOne Player, is vying for the title of the most hated piece of software. For a start, on many PCs EVNTSVC slows down boot-ups unacceptably, using up to 90% of CPU time at times. There have also been reports of EVNTSVC dropping advertising shortcuts onto the desktop during idle times. Next, if you try to disable EVNTSVC via Startup Manager or MSCONFIG, RealOne Player checks to see if it has been deleted from the Registry and re-instates it as a startup item ! To be fair, there is a facility within RealOne Player to "only perform automatic services while RealOne Player is in use". As stated in our write-up for RNDAL, our recommendation is to de-install RealOne Player and either use the classic RealPlayer, or something else such as WinAmp. If you absolutely want to keep RealOne Player, we suggest you rename EVNTSVC.EXE to EVNTSVC.EXE.OLD (or REALSCHED.EXE to REALSCHED.OLD) as that is the only way to make absolutely certain that it never runs, and RealOne Player works fine without it." - display what HKLM/../Run and HKCU/../Run TSRs people have - for those not using OOo, copy Word, Excel, Access icons to desktop and rename word processor, spreadsheet, database - should we have command-line.lnk on the desktop? - reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\NeroCheck" /f - is this ok to remove? - we only allow TWEAK to run after we check to see if its running on any one of a couple of specific supported versions of Windows. We don't want it running on Windows 98 for example, because the menus won't work, and we know that. But by explicitly only running on versions we currently know of, we prevent it running on versions we don't know of, upon which it may work perfectly well, such as Windows 2003 Server. So an option has been added at the point of declaring that this is an unsupported version of Windows asking if the user wants to run it anyway set continue-choice= set /p continue-choice=Do you want to run %NAME% anyway? [y/n]: if /I "%continue-choice%"=="y" goto begin if /I "%continue-choice%"=="n" goto EOF WON'T WORK ON WIN 9X PRECISELY BCOS SET /P MENUING DOESN'T WORK ON 9X - is IrfanView/Notetab single copy of prefs for everyone really 'static'? - tell the Info-Zip people its been included - save user-configuration log in %APPDATA%\tweak.log instead of with machine-specific log? - quality control feature to check if all RCS options have been run by comparing the log with a known list of options that have to have been run - change the check for TWEAK.BAT that its run from same directory from being a check for TWEAK.BAT to a check for the program currently running, so that this code works from any other batch program. using %0. this currently has problems bcos checking when the programs been run from Windows Explorer or NoteTab produces one response where-as from the command-line produces another, contradictory response - a more inteligent awareness of which operating system we're currently running on: check-os.bat ver |FIND "2000" > nul if not errorlevel=1 set OS_VERSION=2000 ver |FIND "XP" > nul if not errorlevel=1 set OS_VERSION=XP ver |FIND "NT" > nul if not errorlevel=1 set OS_VERSION=NT4 http://66.102.11.104/search?q=cache:wLsZyl8Tc90J:fox.wikis.com/wc.dll%3FWiki~CurrentVersion~SoftwareEng+ver+find+windows+2003&hl=en&ie=UTF-8 - move all .txt file based documentation into newer HTML based 'TWEAK manual' for inclusion with the program and on the web - RegFree syntax for adding a registry entry: -Set [type] name=value ... Set the specified registry variable to the specified value. The following types of values are accepted: REG_DWORD Integer value that may be in decimal, or hex by specifying 0x as a prefix. REG_SZ Simple string value REG_EXPAND_SZ A value that contains %environment% references that may be expanded REG_MULTI_SZ A multi-line string where the first character of the value is a line delimiter. - :a rem +------------------------------------------------------------------------+-----+ echo Stop Adaptec/Roxio Easy CD Creator 5 CreateCD50(?) loading on system startup rem +------------------------------------------------------------------------+-----+ rem is it used for DirectCD? echo (type: REG_SZ; location: "%PROGRAMFILES%\CommonFiles\Adaptec Shared\CreateCD\CreateCD50.exe" -r; RAM consumes: ?MB) rem CommonFiles or Common Files? reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "?????????????????????????????" /f echo. echo %NAME% - %VERSION% - %COMPUTERNAME% - %USERNAME% - %DATE% - Stop Adaptec/Roxio Easy CD Creator 5 CreateCD50(?) loading on system startup >> "%SYSTEMDRIVE%\tweak.log" goto app-loader-end rem ================================================================================ - where did the max 74 line width come from? - check for soffice.exe in diffferent directories so can work with OOo installed in different directories, same with Mozilla - is it possible to get the location a programs installed in and then use that rather than assuming a particular directory? HKLM\SOFTWARE\VideoLAN\VLC\Install_Dir = C:\Program Files\VLC HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\IrfanView\UninstallString = C:\Program Files\IrfanView\iv_uninstall.exe HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NoteTab Light_is1\Inno Setup: App Path = C:\Program Files\NoteTab and how do we get that into a variable? reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NoteTab Light_is1" /v "Inno Setup: App Path" | grep ...? or is it more possible with reg.exe or something else? - TSRs - check the syntax on using " when using it to surround "%PROGRAMFILES%..." - research each of them; incl. OSA/OSA9 - driver config - motherboard chipset driver (there's a better word than 'motherboard chipset') - graphics driver - sound driver - printer driver - installation options - copy a stripped down version somewhere (small enough to fit on a floppy disk) what would be removed? - /docs - option to delete icons /EXCLUDE:shortcuts.ini - install to somewhere (default to %PROGRAMFILES%\tweak; offer start menu and desktop icons for individual or all users) offer to add it to the path we could use some technique to create the icons, if we don't carry them with us, to set the environemtnt orun the prograsm in to its own directory so perhaps wouldnt need to add it to the path (so our binaries would be usable) - re-write some of tweak.log - add a section for whether the setting applies to the machine or which user, and which sub section - windows/app/driver - the Perl used in creating OOo's user profile produces a truncated path and inserts it into the response file. this works but it would be better if it wasn't truncated. there might be a CPAN module available - win config - individual settings - menu option to enable/disable(undo) Internet Explorer's ActiveX Download signed ActiveX controls - enable Download unsigned ActiveX controls - enable Initialize and script ActiveX controls not marked as safe - enable Run ActiveX controls and plug-ins - enable Script ActiveX controls marked safe for scripting - enable should we do this for a specific zone? - java config - we should have an option to either: delete the config file so that we can re-apply the cache setting; delete the config file automatically before we edit it; but is it wise to delete it as people may have configured it. also an option to display the configuration file? edit the configuration file? - no Windows Explorer address bar in Windows XP Home - and when its chosen manually a word appears in the toolbar - PageMaker 7 config has 'W2K' in it so may be Windows 2000 specific - win config 'd' removes ALLUSERS' Windows icons ('Windows Update' and 'Set Program Access and Defaults') when this should be part of an icon management 'system icons'. when it is, we can advise RCS consumers to just run sections of icon management after installing service packs and F-Prot etc - make 'icon/shortcut management' 'application shortcut management'? would have to move the IE and OE and anything else from Windows into their own section, which we've needed to do for a while (the minimise icon is dealt with by shortcut management) - Windows Classic Start menu info... !! on XP Pro initially it was: 2400000030280000000000000000000000000000010000000d0000000000000002000000 (but are we sure it began as this?)) XP Home: 2400000033880000000000000000000000000000010000000d0000000000000000000000 we set it to: 2400000030280000000000000000000000000000010000000d0000000000000000000000 rem (Byte 32 - 02 = XP style; 00 = Classic style) rem this also changes the desktop, bringing back icons it can be set with this instead, which removes the UI for changing it back: per-user HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer per-machine HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer "NoSimpleStartMenu"=dword:00000001 - (Perl doesn't care for read-only; Windows XP removes read only when copy a file. so the changing of this would have happened) - rem ? reg del "HKLM/Software/Microsoft/Windows/CurrentVersion/Run/" "NeroCheck" rem ? is this ok without \\? - Windows Server-specific Configuration (can anyone donate settings for this?) - image files where you double click and it says it can't open it yet it has opened in the background: JPEG, GIF, PNG - 'Enable install on demand (other)' [IE6?] - off - move spool space to different partition than the system partition - Re-use windows for launching shortcuts - off - performance settings only advisable if you have lots of RAM: - Desktop, folder(?) and browser windows in separate processes - TEMP/TMP - if the problem of the directory not showing in DOS properly is a problem with the command line then atleast document that in the code - XP only rem delete Windows XP desktop icons, per-user: My Network Places My Computer (it might have some right-click uses worth keeping it for tho) My Documents Recycle Bin rem (in XP they're supposed to be regular shortcuts and have no side-effects if deleted, but I don't see them) - XP only I DONT SEE WHAT DIFFERENCE THIS MAKES! echo Windows Classic Control Panel... reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ForceClassicControlPanel" /t REG_DWORD /d "00000001" /f rem (0 = XP; 1 = Classic) - if RCS is going to use Adobe Reader then change TWEAK's icons.bat to remove its icons (but it uses 26MB, how much more than previous versions is this?) - change Acrobat's icon locations to use different directory %PROGRAMFILES%\acrobat rather than %PROGRAMFILES%\acrobat-reader - and icons-to-exclude to use new name 'Adobe Reader' rather than 'Acrobat Reader' - NEW SECTION: backup (to hard disk) and disaster recovery - configuration files - user data --------------------- - Emergency Repair Disk - backup system state data - backup MBR / partition table (using FreeDOS' FDISK) - deactivate the AutoIPgeneration for the complete system? HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters "When Windows2000/XP is configured for TCP/IP "to Obtain an IP address automatically" via DHCP, it will first attempt to locate a DHCP-server (which can take some time). If no DHCP server is found on the network, it will use the built-in "Automatic Client Configuration" (sometimes referred to as APIPA) to assign itself an IP-address in the address-range 169.254.x.x with Subnet-mask 255.255.0.0 On a large network with a predefined address range, this is often not required, because it will make the trouble-shooting of networking problems more difficult when Windows2000 / XPtakes such an "initiative" on its own. It is possible to de-activate this feature." "IPAutoconfigurationEnabled", Value type: REG_DWORD Value in hexadecimal: 0 (A value of 0 disables APIPA support on this computer) reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v "IPAutoconfigurationEnabled" /t REG_DWORD /d "0" /f undo - if the value doesn't exist, its assumed to be '1': reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v "IPAutoconfigurationEnabled" /f - on the right-click menu in Windows Explorer might want, for example, 'Edit in GIMP' rather than 'Edit' - is it worth using %NAME% for the log file name so that we have different log files depending on the program used? - people might want the ability to copy an OpenOffice 'new document' icon to 'Start Menu\' - Open a New word processed / OpenOffice document - Open an existing word processed / OpenOffice document - ASSOCIATIONS: document how to restore file type associations to default using Windows' Folder Options - File Types - Restore) - ASSOCIATIONS: bug: if you set plain text files to open in notetab, THEN set them to open in MS notepad, a 2nd 'Open' command appears on the context-sensitive menu - ASSOCIATIONS: how do you reset file type associations, like remove Edit for a type? - if Associate doesn't do it we can edit the registry directly - are we still interested in using an alternative multi media player?: - XviD: http://www.xvid.org/ - BSplayer: http://www.bsplayer.org/ - Media Player Classic: https://sourceforge.net/projects/guliverkli/ - Xine: http://xinehq.de/index.php/releases#binaries - Local intranet (zone 1) (includes UNCs) - we say "we're currently trying this at a 'Medium-low'" but we're not as its set the same as every other zone Drag and drop or copy and paste files - changed from 'prompt' to 'allow' for zone 1 - should we disallow for other zones? (THIS NEEDS WRITING UP ON THE RCS CHANGES, also making point that many IE settings have been amended) this will need testing but presumably it is Windows Explorer setting and shouldn't be in the IE settings, unless its IE too ? File download - prompt ? Access data sources across domains - from 0.8.0 "/ Internet Explorer settings: File download - disable - was actually set to 'prompt', and wording said 'enable' - now 'disable'" ? similarly to above have value for: Don't prompt for client certificate selection when no certificates or only one certificate exists - (send TWEAK link to Sam Edge: Improving Security in Microsoft Internet Applications http://fundin.f2g.net/windows.internet.security.html mirror these changes to RCS docs and win-nt-config.html - Pegasus mailbox section: add options to edit any site-specific information such as domain name, pegasus mail options. for template, 1 mailbox or all mailboxes - BOOT.INI: 2) 'multi(0)disk(0)rdisk(0)partition(1)' the existing BOOT.INI may have references to other operating system installations. I don't already know how to look for that kind of reference and copy it into a new BOOT.INI using Perl. a scruffy workaround would be to append our BOOT.INI '[operating systems]' section into the existing BOOT.INI - Irfanview - "install-prefs-single-version.bat" ask for username then copy a set of multiple or single over to that user - security: perhaps on some workstations: "...policies\system" "dontdisplaylastusername" DWORD 0=disable / 1=enable - if we were to use 'reg add %?MACHINENAME?%...' (or our own environment variable, having asked at the start which machine you wanted to apply the program to) then such statements may work when run from mapped network drives - add show long name in Windows Explorer's location bar - check win-nt-config.html for individual networking registry tweaks - "To get rid of the web view, delete the hidden folder.htt files from c:\program Files, c:\windows, and the c:\windows\system directories" - information added to the log file on what TWEAK is and its URI - add info on changes made to tweak.log or similar so we can extract it later - will need to define a file format for it - perhaps use the numbering sequence that is planned for relating reg keys to Winodws settings - could make an env var of the current task and move the adding of that option to the log part of the xxx-end section - ALL Users\Start Menu\Programs\Mustek 1200 UB\uninstall.lnk -> c:\winnt\twain_32\1200UB\uninst.exe Mustek 1200 UB Scan Express 1.2 calls c:\program files\Windows NT\Accessories\ImageVue\kodakimg.exe - (category: general programming techniques) checking at each stage to see if things exist, such as setting per-user pre-config when per-machine hasn't been set prior to it - 'if exist's on most of the Application configuration so that info isn't saved to the log file for configurations that may not have happened if the application wasn't installed - icons split between those for apps installed locally (D:) and those installed on a server (P:) - icons - WinMerge %USERPROFILE% QL WinMerge.lnk %USERPROFILE% desktop WinMerge.lnk All User Start Menu WinMerge - Uninstall WinMerge - D:\programs\WinMerge\unins000.exe Keep An Eye On -------------- reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray" /v "Services" /t REG_DWORD /d "27" /f (from some Windows 98 info: "Single window browsing or Multiple window browsing Keys: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState] "Settings"=hex:0c,00,01,00,2a,01,00,00,60,00,00,00 Instructions: Read these instructions! This one is different from all of the other tips on this page! What you'll be doing is modifying a SINGLE digit in the above "Settings"string. Your "Settings" string probably looks different from mine. On another machine I tested, it was this: "Settings"=hex:0c,00,00,00,0b,00,00,00,60,00,00,00. But you are ONLY interested in the 5th number (a byte, actually), counting from the left. Listed above, the number is "2a" and in the other machine's "Settings" string I just mentioned, the number is "0b". In either case, you will do the same thing, CHANGE THE FIRST DIGIT OF THE FIFTH NUMBER. You'll change the "0" to a "2", or the "2" to a "0". The changed "Settings" string above would then read: "Settings"=hex:0c,00,01,00,0a,01,00,00,60,00,00,00 The ONLY difference is that the "2" in the fifth number was changed to a "0". Here's what this change does: When the first digit if the 5th number is "0" all browsing will be done in the same window ("Single window browsing"). Suppose you're browsing in the c:\windows directory, and you double-click on the "system" subdirectory. Windows will just open up c:\windows\system in the same window, and not open a new window. When the first digit of the 5th number is a "2" new windows will be opened up ("Multiple window browsing"). Most people like not to have a new window open up each time, as this clutters the desktop, but its a matter of preference. I find that single window browsing, along with the "Open a new Window quickly" tip listed next is the best solution. You have to reboot before this change will take effect." see http://www.jsiinc.com/SUBC/tip1300/rh1349.htm for a batch file method of replacing single bytes Programs To Checkout: --------------------- - potentially replace 'reg' with 'regfree' for adding registry keys and values - Resource Hacker: http://www.users.on.net/johnson/resourcehacker/ - Icon Sucker: http://www.copseystrain.com/iconsucker/ - DEFPTR (from the Resource Kit) sets the default printer Document -------- - reg: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/reg.asp - using 'reg add' you can explicitly insert an environment variable reference into the registry or the environment variable itself - %%username%% or %username% Feedback To Software Athors ---------------------------- Zinf's registry settings are specific to each version RCS-specific Issues ------------------- - perhaps a section from the front screen leading to all settings pertaining to RCS in particular What Could Be Done In Future ---------------------------- - (category: general techniques) 'reg add' can operate on remote machines, so we could take advantage of that - Icon management: - use a command-line option to specify a particular username, default to %USERNAME% 'if not exist %1 %user% == %USERNAME%' - shouldn't be hard to add Windows 95/98/Me compatibility - copy icon set to Default User Checkout -------- - reg query references: http://www.jsiinc.com/SUBB/tip0700/rh0710.htm / http://www.jsiinc.com/SUBB/tip0700/rh0723.htm - (Microsoft Internet Explorer 6.0 review: http://www.pcmag.com/article2/0,4149,541298,00.asp (An Intranet Site Is Identified as an Internet Site When You Use an FQDN or IP Address?: http://www.jsiinc.com/SUBI/tip4000/rh4050.htm - SFC - http://www.hpcc.ecs.soton.ac.uk/~dan/WindowsTips/reg.htm - http://www.geocities.com/jgswholesale/WINDOWS.HTM - 'Converts REGEDIT4 output to REG.EXE input': http://bath.damowmow.com/cgi/development/buncs/regconv - 'Windows XP Tweaking Guide': http://www.neoseeker.com/Articles/Hardware/Guides/winxptweak/index.html - batch scripting: : http://www.fpschultze.de/b10.htm - ' Modifying NTFS Properties': https://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/scrguide/sas_fsd_xdvz.asp - ' Enumerating NTFS Properties' https://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/scrguide/sas_fsd_dkfi.asp - Internet Explorer Restrictions: http://www.winguides.com/registry/display.php/442/ - info on where Service Pack backup files are kept: 'Not Necessary to Reinstall Windows 2000 Service Packs After System State Changes' http://support.microsoft.com/?kbid=274215#appliesto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath