China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 10:22
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Solved] The homepage is always being modified. How to set it so that it can be locked and not modified? View 3,558 Replies 19
Original Poster Posted 2008-09-19 08:56 ·  中国 广东 东莞 电信
中级用户
★★
Credits 461
Posts 243
Joined 2007-10-14 16:56
18-year member
UID 99730
Gender Male
Status Offline
How to set it so that it can't be modified after being set, since the homepage is always being modified?

[ Last edited by HAT on 2008-10-22 at 10:46 ]
Floor 2 Posted 2008-09-19 09:04 ·  中国 江西 赣州 安远县 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
Prevent modifying the IE homepage through "Internet Properties"
reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\internet explorer\control panel" /v homepage /t reg_dword /d 1 /f
Floor 3 Posted 2008-09-19 09:46 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
If it can be locked, it can be unlocked, unless you monitor it in real time.
Floor 4 Posted 2008-09-19 13:27 ·  中国 福建 三明 电信
中级用户
★★
Credits 458
Posts 211
Joined 2006-07-26 19:42
20-year member
UID 59307
Status Offline
Setting read-only permissions for the registry entries in the second floor would be better, at least ordinary malicious websites can't change them. Completely change the browser (but it can't be absolutely safe because there is only relative safety.)
┌───────┐
├→学习→实践→┤
└───────┘
Floor 5 Posted 2008-09-19 14:57 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
Prohibited from modifying the IE homepage through "Internet Properties"

This is a restriction set manually.

Directly modifying the registry, you still need to remove it and run a setting to set an empty homepage, which is troublesome for yourself. Modifying some keys, changing the homepage here is useless...

You can add parameters to the IE shortcut in the quick launch to set your own homepage. I use the -nohome parameter
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
Floor 6 Posted 2008-09-19 15:05 ·  中国 江苏 扬州 江都区 电信
高级用户
★★★
Credits 620
Posts 329
Joined 2007-12-05 15:34
18-year member
UID 104754
Gender Male
Status Offline
It's caused by a virus or malware,

Using BAT is not powerful enough.
Floor 7 Posted 2008-09-19 16:15 ·  中国 江西 赣州 安远县 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
Why not add a "Restore IE Home Page" button?


@echo off

If exist %windir%\startpage.reg (
echo The "Restore IE Home Page" button will be deleted&echo.&pause
del %windir%\startpage.reg
del %windir%\RestoreStartPage.lnk
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{8515FC11-B332-447E-8056-1197551CFDB4}" /f
exit
)

>%windir%\startpage.reg echo Windows Registry Editor Version 5.00
>>%windir%\startpage.reg echo.
>>%windir%\startpage.reg echo
>>%windir%\startpage.reg echo "Start Page"="http://www.google.cn"

>%windir%\creatlink.vbs echo set WshShell = WScript.CreateObject("WScript.Shell")
>>%windir%\creatlink.vbs echo set oShellLink = WshShell.CreateShortcut("%windir%\RestoreStartPage.lnk")
>>%windir%\creatlink.vbs echo oShellLink.TargetPath = "regedit.exe"
>>%windir%\creatlink.vbs echo oShellLink.Arguments = "/s startpage.reg"
>>%windir%\creatlink.vbs echo oShellLink.Save

start creatlink.vbs

reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{8515FC11-B332-447E-8056-1197551CFDB4}" /f /v "Icon" /t REG_SZ /d "shell32.dll,255"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{8515FC11-B332-447E-8056-1197551CFDB4}" /f /v "HotIcon" /t REG_SZ /d "shell32.dll,255"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{8515FC11-B332-447E-8056-1197551CFDB4}" /f /v "ButtonText" /t REG_SZ /d "Restore IE Home Page"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{8515FC11-B332-447E-8056-1197551CFDB4}" /f /v "Default Visible" /t REG_SZ /d "Yes"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{8515FC11-B332-447E-8056-1197551CFDB4}" /f /v "Exec" /t REG_SZ /d "RestoreStartPage.lnk"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Extensions\{8515FC11-B332-447E-8056-1197551CFDB4}" /f /v "CLSID" /t REG_SZ /d "{1FBA04EE-3024-11D2-8F1F-0000F87ABD16}"

del %windir%\creatlink.vbs


Clicking the button will modify the value of "Start Page" under "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main".

After running, right-click the toolbar → Customize, and find that button.
Floor 8 Posted 2008-09-19 19:43 ·  中国 广东 东莞 电信
新手上路
Credits 18
Posts 14
Joined 2008-09-18 20:33
17-year member
UID 125988
Gender Male
Status Offline
Floor 9 Posted 2008-09-20 03:20 ·  中国 广东 东莞 电信
中级用户
★★
Credits 461
Posts 243
Joined 2007-10-14 16:56
18-year member
UID 99730
Gender Male
Status Offline


Floor 10 Posted 2008-09-20 08:35 ·  中国 江西 赣州 安远县 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
Check if there is this item:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\IEXPLORE.EXE

[ Last edited by tireless on 2009-1-20 at 18:52 ]
Floor 11 Posted 2008-09-20 08:45 ·  中国 江西 赣州 安远县 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
-

[ Last edited by tireless on 2009-1-20 at 18:51 ]
Floor 12 Posted 2008-09-20 10:59 ·  中国 广东 东莞 电信
中级用户
★★
Credits 461
Posts 243
Joined 2007-10-14 16:56
18-year member
UID 99730
Gender Male
Status Offline
What does this mean if there is this entry?
Floor 13 Posted 2008-09-20 11:15 ·  中国 重庆 九龙坡区 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Google search "image hijacking"
Floor 14 Posted 2008-10-22 10:21 ·  中国 广东 东莞 电信
中级用户
★★
Credits 461
Posts 243
Joined 2007-10-14 16:56
18-year member
UID 99730
Gender Male
Status Offline

What process is this??
Floor 15 Posted 2008-10-22 11:59 ·  中国 北京 鹏博士长城宽带
银牌会员
★★★★
[b]看你妹啊[/b]
Credits 1,488
Posts 1,357
Joined 2006-05-20 12:00
20-year member
UID 55770
Status Offline

有问题请发论坛或者自行搜索,再短消息问我的统统是SB
Forum Jump: