以管理员身份运行时的用户浏览器设置 [英] User browser settings when run as Admin

查看:250
本文介绍了以管理员身份运行时的用户浏览器设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用一个Internet诊断工具,如果它处于不正确的状态,它将纠正浏览器的设置并启用Internet连接.

我已经为连接管理器类创建了COM对象.
我在Windows VISTA和Windows 7上使用来宾用户面临访问被拒绝的问题.
因此,我需要以以管理员身份运行"身份运行我的应用程序.

但是,在这种情况下,问题是它读取了Admin的浏览器设置.它没有选择来宾用户的浏览器设置.

请帮助我确定针对此类问题的最佳解决方案.
谢谢
IP_PSD

[edit]仅主题行-请帮助"不是很有用! -OriginalGriff [/edit]

Hi,

I am working on a internet diagnostic tool which will correct the browser settings if it is in improper state and enable the internet connection.

I have created the COM object for Connection Manager Class.
I am facing the access denied issue on Windows VISTA and Windows 7 with Guest User.
Therefore, I am required to run my application as " Run As Administrator".

However, in this case the problem is, it reads the browser settings for Admin. It doesn''t picked up the Guest user''s Browser settings.

Please help me to determine the best possible solution for such issue.
Thanks
IP_PSD

[edit]Subject line only - "Please Help" is not very usefull! - OriginalGriff[/edit]

推荐答案

也许您可以使用
Maybe you could use the LogonUser[^] function to switch user accounts within your program. It should give you access to the settings you need.


感谢琼斯的自发答复!

我会尝试一下,然后让您得到结果.
Thanks Jones, for your spontaneous reply!

I would try this and let you the result.


这篇关于以管理员身份运行时的用户浏览器设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆