shdocvw.rgs 1.72 KB
HKLM
{
    NoRemove 'Software'
    {
        NoRemove 'Microsoft'
        {
            NoRemove 'Windows'
            {
                NoRemove 'CurrentVersion'
                {
                    NoRemove 'URL'
                    {
                        DefaultPrefix = s 'http://'
                        Prefixes
                        {
                            val 'ftp' = s 'ftp://'
                            val 'gopher' = s 'gopher://'
                            val 'home' = s 'http://'
                            val 'mosaic' = s 'http://'
                            val 'www' = s 'http://'
                        }
                    }
                }
            }
        }
    }
}

HKCR
{
    NoRemove CLSID
    {
        '{fbf23b40-e3f0-101b-8488-00aa003e56f8}'
        {
            shellex
            {
                MayChangeDefaultMenu {}
            }
        }
    }
    'InternetShortcut'
    {
        val 'EditFlags' = s '2'
        val 'IsShortcut' = s ''
        val 'NeverShowExt' = s ''
        DefaultIcon = s 'url.dll,0'
        shell
        {
            open
            {
                command = s 'rundll32.exe shdocvw.dll,OpenURL %%l'
            }
            print
            {
                command = s 'rundll32.exe mshtml.dll,PrintHTML ""%%1""'
            }
            printto
            {
                command = s 'rundll32.exe mshtml.dll,PrintHTML ""%%1"" ""%%2"" ""%%3"" ""%%4""'
            }
        }
    }
    ForceRemove '.url' = s 'InternetShortcut'

    ftp
    {
        val 'URL Protocol' = s ''
    }
    http
    {
        val 'URL Protocol' = s ''
    }
    https
    {
        val 'URL Protocol' = s ''
    }
    mailto
    {
        val 'URL Protocol' = s ''
    }
}