Jump to content

robertcollier4

Members
  • Joined

  • Last visited

Posts posted by robertcollier4

  1. ·

    Edited by robertcollier4

    Some information on the tweak file Bagregkeys_MakeReadOnly.bat - this is a great tweak to minimize hard disk writes made by Explorer. I found out about this after using Sysinternals Process Monitor to see Registry writes. I found lots of writes to Shell\Bags and Shell\BagMRU and found the below thread on making this registry key read-only.

    However, applying this tweak may cause you to lose your Folder View settings in Explorer and desktop icon positions (if you customize these). I recommend using an alternative file manager such as xyplorer.

    Search Google for "Shell Bags Windows" for more information.

    http://www.wilderssecurity.com/threads/lastactivityview-reveals-too-much.341796/page-4

    Quote

    1. yes, as you said, there are useful info in these ShellBags keys :
    your folder view preferences are stored there, 1 entry for each folder you open.
    2. yes, there are detailed timestamp information in them revealing the last time when you opened the folder

     

  2. Posted ·

    Edited by robertcollier4
    updated files description for version 1.2.0

    These are various registry scripts for Windows 7 to tweak and speed up / optimize by removing unneeded features.

    Contains:

    Bagregkeys_MakeReadOnly.bat
    =Master Commands Batch.bat
    =power options reset.bat
    =Tasks Delete.bat
    AppCompat.reg
    Autoplay - Disable Autorun.reg
    Chrome - SuppressUnsupportedOSWarning.reg
    Command Prompt.reg
    ContextMenu and Properties Windows - Remove Previous Versions Option and Tab.reg
    ContextMenu Remove Include in library.reg
    ContextMenu Remove Run As Administrator.reg
    ContextMenu Remove SendTo.reg
    ContextMenu Remove Share With.reg
    ContextMenu Remove Troubleshoot Compatibility.reg
    Control Panel - User Accounts 2.reg
    Device Manager Show NonPresent Devices.reg
    DiskQuota.reg
    Explorer Dont Track Broken Shortcuts.reg
    Explorer Hide Shared Documents.reg
    Explorer Left Tree and Save As Dialog - Remove Network.reg
    Explorer Misc.reg
    Explorer Open With - Always use the selected program.reg
    Filesystem.reg
    HomeGroup.reg
    Internet Explorer.reg
    Internet Options - Automatically detect intranet network.reg
    IO System CountOperations.reg
    Keyboard.reg
    LNK - Disable Shortcut Text.reg
    Logging WinEvt.reg
    Logon - OptimalLayout BootOptimizeFunction.reg
    Memory Management - Disable kernel paging.reg
    Network and Sharing Center.reg
    Network IPv6 disable.reg
    Network Location Awareness - EnableNoGatewayLocationDetection.reg
    Performance Counters.reg
    Performance Monitor - Data Collector Sets.reg
    Personalization - Desktop Background Black.reg
    Personalization - Desktop Icons.reg
    Prefetch Superfetch.reg
    PropertySheet Remove Customize Tab.reg
    PsExec EULA Accept.reg
    Regional and Language - Change ShortDate Format to yyyy-mm-dd.reg
    Reliability TimeStampInterval.reg
    Remote Assistance.reg
    Server service - filesystem cache for filesharing minimize.reg
    Sound - Play Windows Startup Sound Disable.reg
    Startup Shutdown Verbose.reg
    System - Crash Dump Disabled.reg
    System - Visual Effects.reg
    SystemFileAssociations remove.reg
    Taskbar and Start Menu Cleanup.reg
    Telemetry.reg
    USB Polling Interval.reg
    VirtalBox Disable Logging Env Vars.reg
    WBEM EnableEvents.reg
    Window Metrics.reg
    Windows Media Player.reg
    WinMerge.reg
    WinRAR.reg
    Zone Checking For Files.reg
    
    Desktop and Shutdown.reg
    Disable automatic updates.reg
    Disable Recent Programs.reg
    Disable Tracking of Broken Shortcut Links.reg
    Disable UAC notify.reg
    Disable User Account Control UAC.reg
    Disable Web Services.reg
    Disable window animations on minimize maximize.reg
    Dont mark new applications.reg
    
    Services
    Background Intelligent Transfer Service.reg
    Base Filtering Engine, IKEEXT, IPsec PolicyAgent.reg
    BITS.reg
    Certificate Propagation.reg
    Computer Browser.reg
    Desktop Window Manager Session Manager.reg
    Diagnostics.reg
    Distributed Link Tracking Client.reg
    Function Discovery Provider Host.reg
    Function Discovery Resource Publication.reg
    IP Helper (needed for IPv6).reg
    Multimedia Class Scheduler.reg
    Offline Files.reg
    Protected Storage.reg
    Remote Desktop.reg
    System Event Notification Service.reg
    Themes.reg
    Windows Defender.reg
    Windows Firewall.reg
    Windows Presentation Foundation Font Cache 3.0.0.0.reg
    Windows Search.reg
    Windows Update.reg

     

  3. ·

    Edited by robertcollier4

    If you want to make other reg files into nLite addons to pre-integrate

    use OnePiece Reg2Inf - https://www.wincert.net/forum/topic/9409-tool-dx-tool-x86x64/?tab=comments#comment-121332

    Open up the INF file created with Reg2Inf and insert the INF entrys below [registry_addreg] into the template like the above file.

    https://www.wincert.net/forum/topic/7560-please-help-how-to-make-a-addon-that-will-apply-registry-tweaks-before-windows-starts/

    https://www.nliteos.com/addons/index.html#registry_addreg

  4. ·

    Edited by robertcollier4

    You can make a nLite addon for this to insert the registry entry into install media registry.

    1. Make a file called Entries_POSReady.ini and put in the following contents

    ;=======================================
    ; Entries_POSReady nLite Addon Registry Keys
    ;=======================================
    [general]
    builddate=2019/11/10
    description=Entries_POSReady
    language=English
    title=Entries_POSReady
    version=1.0
    website=
    
    [registry_addreg]
    HKLM, "SYSTEM\CurrentControlSet\Control\WindowsEmbedded\ProductVersion", "FeaturePackVersion", 0x0, "SP3"
    HKLM, "SYSTEM\WPA\PosReady", "Installed", 0x10001, 0x1
    

    2. Zip the file into POSReady_Regtweaks.zip

    3. Add the zip file as addon into nLite

  5. Posted

    Integrate this file as addon with nLite into installation source Windows XP SP3 x86. Then install Windows.
    This allows x86 RAM to go to 128GB.
    From Dibya

    =================================================================================
    # Special thanks to 5eraph and Ramsey (admin of zone54)
    #Special thanks to My close friends BHlPT, Dencorso , FranceBB , GreenhillManiac , 5eraph , neverseen , tomy , Samuka
    # thanks a whole lot to user_hidden for update pack
    # thank a whole lot to harkaz for SP4
    # -------------------------------------------------------------------------------------------------------------------------------------------------------------------
    # This file contains a list of all entries that need to be added to various Windows
    # Thanks a lot to all guys/gals of zone62,msfn,driverpackforum, ryanvm forum,wincert,overclocker.
    # Greatest respect and thanks to nuhi for nlite and Ryan ,Signet for RVMi
    ===================================================================================
    fixed bugs regarding XP drivers ::
    *Hid Parsing Library
    info will be updated soon
    To get this patch work put /PAE in boot.ini
    Windows_XP_128GB_double_pae_addon_final_byDibya.7z

    ---------------------------------------------------------------

    Download:

     

    Mirror:
    https://www.mirrored.to/files/EWEVP0ZF/Windows_XP_128GB_double_pae_addon_final_byDibya.7z_links

     

  6. ·

    Edited by robertcollier4

    For those that have found this thread from search and are having problems in Win7 and above, I made a new less invasive reg script for this for Win7 attached. This is as a reg file instead since its easier to read. Youll need to do a find-replace as instructed in the file on your Browser path.

    Changes:
    This one is less invasive and doesnt replace the HKEY_CLASSES_ROOT keys, but rather uses the new Win7 UserChoice entry method so that you can use Control Panel > Default Programs > Set your default programs > Choose defaults for this program to make them active at:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xxx\UserChoice

    StartMenuInternet FileAssociations Win7.reg

  7. ·

    Edited by robertcollier4

    The best thing to provide would be BAT files for removal of files.
    Dont think the forum rules allow posting of Microsoft files directly except linking to Microsoft servers.
    The user has to download iso using Techbench or ISO Downloader, mount install.wim image using a tool such as GImageX, and then perform the removals themselves via bat files.

    I have archived some removal bat files over the time, linked:

    https://sites.google.com/site/webuploads7373/win7minification

    BAT File Removals:
    dead0.rar
    Jeronimo-Dead0-Scripts-Batch-ORIGINAL.zip
    jeronimo.rar
    liquid.rar
    mackyreddy_Micro7_BatRemovals_V7.zip
    DISM Components Removal LIsts:
    Jeronimo packages.xls
    Liquid0624 7packages.pdf
    scribd Win7packages_dism-vs-vlite (based on jeronimo).pdf

    Perhaps we could compile them into a github (forums get too messy)- and then all commit and add components and notes via github files and report findings in github issues.

    Here are some good guides i've found using RT 7 LIte:
    https://winreducer.forumotion.com/t23-slimmingdown-windows-7
    https://web.archive.org/web/20130530000931/http://www.rtwincustomize.net/web/index.php?/topic/7146-components-to-keep/
    https://msfn.org/board/topic/157337-rt-7-lite-components-removal-explanation/
    https://msfn.org/board/topic/133491-windows-7-keep-list
    https://msfn.org/board/topic/134863-windows-7-vlite-deprecated

  8. And even another.... 

    http://www.mainsoft.fr/en/downloads.htm

     

    ExecParm v 1.3
    ExecParm is another Context Menu extension for Windows Explorer. It allows you to run a program with parameters on the command line. Seems useless? Without ExecParm you'll have to go to the Start | Run... menu, remember the path for the executable and then enter the command line parameters. You'll see, ExecParm is much simpler, especially when used in conjunction with Clipname.
  9. ·

    Edited by robertcollier4

    because IE was still the default program (you can check that easily in control panel) and besides Firefox still asking to be the default browser when launched.

    Firefox asking to be the default browser when launched will still happen when using this tool - because Firefox writes its own custom Handler type for example class "FirefoxHTML" whereas I use a generic class "MyHTMLFile" in this script. Regardless, it says nothing as per the functionality of whether this works. This tool was designed mainly for Portable versions of browsers in which checking for default browser should be disabled anyways - and this tool does not guarantee to mimic exactly the classes used by all the different browsers - but its goal is just to write all the keys so that they are correctly functional.

     

    The most important thing to see is if direct launching http links, launching htm/html/mht files, and launching url files is working or not. When you click on a htm file from the explorer - is it opening with the browser you specified? All of the other things are cosmetic only.

     

    Regarding the browser displayed in Control Panel for Windows 7, is this the screen you are looking at, and would you mind doing a check for me since I do not use Windows 7? Could you open up regedit and make the following change?

    HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice

    "ProgId"="MyHTMLFile"

     

    Try redownloading the file - I have added UserChoice reg entries to the tool and tell me if this changes what Windows 7 shows in Control Panel.

  10. Hi robertcollier4,

     

    Tested with Firefox 18.0.2 and Win7 X64.

     

     

    tested in command line and GUI

     

     

     DefaultBrowserInRegistry.exe "C:\Program Files (x86)\Mozilla Firefox\Firefox.exe" 

     

     

    Doesn't work.

     

    How do you know it didn't work? What is the problem you are having? When running in silent mode - if it worked - there is no output / nothing written to command line.

     

    What is the content of the following key in regedit.exe? - HKEY_CLASSES_ROOT\MyHTMLFile\Shell\Open\Command

  11. ·

    Edited by robertcollier4

    Can it be run in command line (silently) ?

    Good idea. I have updated the script to accept a command line argument to run in silent mode. When run with an argument on the command line, the only time it will popup a dialog is to display an error message if it has received a path which it is unable to parse. (AutoHotkey does not natively support writing to stdio / stderr). If you pass it a correctly formed path - it will run completely silently and produce no dialogs.

  12. Posted ·

    Edited by robertcollier4

    I wrote this because I was unable to find any working tools on the Internet to correctly change the default browser association in Windows (such as if you want to use a portable edition of a browser).


    The problem with all of the other tools on the Internet is that they do not correctly handle .URL files. Since .URL files are text files - they have to be passed to "HKEY_CLASSES_ROOT\InternetShortcut" where the URL gets parsed by shdocvw.dll and then passed to HKEY_CLASSES_ROOT\http. With other tools - the .URL files would open as text files in the browser instead of opening the actual URL itself. This script does it correctly.

     

     

    defaultbrowserinregistr.gif

     

    Download here:

    http://www.autohotkey.com/board/topic/89803-set-default-browser-in-registry-correctly-handles-url-files/

     

    Silent mode: If no command line arguments will show GUI. Will run in silent mode if argument passed to it on command line. Silent mode if successful does not write anything to command line / stdout (Autohotkey does not natively support writing to stdio)- if you are running in silent mode and the utility runs without any popups or warning dialogs - then the change was successful.
    Silent mode example: DefaultBrowserInRegistry.exe "D:\PortableApps\GoogleChromePortable\GoogleChromePortable.exe"