关闭IE程序中的菜单与按钮

当通过XenApp发布WEB应用的时候,我们可能希望用户不能进行某些操作,只能查看默认打开的应用界面。比如,我们需要隐藏菜单、禁用地址栏等等。

为了实现该功能,我们需要修改一些设置,这里给出adm模板,该ADM主要作用如下:

  • 禁用IE中“Mail and News” Menu
  • 禁用IE地址栏
  • 禁用IE菜单中的Windows Update
  • 禁用IE工具栏
  • 禁用IE工具栏选项
  • 禁用IE收藏夹菜单
  • 禁用IE搜索框
  • 禁用IE文件菜单的打开
  • 禁用IE文件菜单的新建
  • 禁用IE下载窗口的另存为设置
  • 禁用IE链接菜单
  • 禁用IE帮助菜单
  • 禁用IE选项
  • 禁用IE文件菜单中的保存
  • 防止IE退出(禁用该选项将导致用户无法退出)
  • 禁用IE帮助菜单中的每日提示
  • 禁用IE帮助菜单的中Netscape用户
  • 禁用IE帮助菜单中的联机支持
  • 禁用IE帮助菜单中的发送反馈意见
  • 禁用IE打印功能
  • 禁用IE工具栏中的多媒体
  • 禁用F11键(全屏模式)
  • 禁用IE上下文菜单
  • 禁用IE查看源代码功能
  • 防止用户创建新IE窗口(CRTL+N)
  • 强制IE每次下载都弹出提示
  • 禁用IE导航按钮
  • 禁用IE在线流媒体(online media stream)

为了实现该功能,你可以复制以下内容,并创建一个.adm文件。该策略是用户策略,但是有些也可以使用计算机策略或者脚本来实现。



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

CLASS MACHINE
CLASS USER
CATEGORY "CitrixTools"
CATEGORY "Internet Explorer"
POLICY "Disable 'Mail and News' Menu from Internet Explorer"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "RestGoMenu"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer Address Bar"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions"
VALUENAME "NoAddressBar"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Windows Update in Internet Explorer Tools Menu"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
VALUENAME "NoWindowsUpdate"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer Toolbar"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions"
VALUENAME "NoToolBar"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer Toolbar Options"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions"
VALUENAME "NoToolBarOptions"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer 'Favorites' Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoFavorites"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Search from Internet Explorer"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoFindFiles"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Open item from Internet Explorer File Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoFileOpen"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable New File Item from Internet Explorer File Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoFileNew"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Save As Option in Internet Explorer Download Dialog Box"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoSelectDownloadDir"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer 'Links' Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions"
VALUENAME "NoLinksBar"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer 'Help' Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoHelpMenu"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer Options"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoBrowserOptions"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable 'Save As' from Internet Explorer File Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoBrowserSaveAs"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Prevent Internet Explorer Exit"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoBrowserClose"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable 'Tip of the Day' from Internet Explorer 'Help' Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoHelpItemTipOfTheDay"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable 'For Netscape Users' from Internet Explorer 'Help' Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoHelpItemNetscapeHelp"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable 'Tutorial' from Internet Explorer 'Help' Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoHelpItemTutorial"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable 'Feedback' from Internet Explorer 'Help' Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoHelpItemSendFeedback"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Printing from Internet Explorer"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoPrinting"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Media Bar command on the Internet Explorer Toolbar"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "No_LaunchMediaBar"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disables F11 key (Internet Explorer full-screen mode)"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoTheaterMode"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer Context Menu"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoBrowserContextMenu"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer 'View Source' Option"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoViewSource"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Prevent Users to Open a New Internet Explorer Windows"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoOpeninNewWnd"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Force Internet Explorer to Always Prompt when Download"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "AlwaysPromptWhenDownload"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer Nav Buttons"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "NoNavButtons"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
POLICY "Disable Internet Explorer Online Media Streaming"
KEYNAME "SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions"
VALUENAME "No_MediaBarOnlineContent"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY
END CATEGORY
END CATEGORY

你可能感兴趣的:(windows,菜单,工具栏,地址栏,我们)