在 Vista 上启用/禁用没有管理员权限的硬件? [英] Enable/disable hardware w/o Admin rights on Vista?
本文介绍了在 Vista 上启用/禁用没有管理员权限的硬件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我被要求提供一个程序/脚本/任何启用或禁用的东西
I've been asked to provide a program/script/whatever that enables or disables the
- CD/DVD 驱动器
- USB 端口
- 软盘 (!) 驱动器
设备不需要管理员权限,即可以由普通"用户运行.
devices without requiring admin rights, that is, that can be run by a 'normal' user.
理想情况下,类似于命令行实用程序:C:> foobar cdrom/disable
Ideally, something like a command line utility: C:> foobar cdrom /disable
感激地接受任何指示、提示或线索!
Any pointers, hints or clues gratefully accepted!
谢谢,
罗尼
推荐答案
您可以编写一个以特权帐户(例如本地系统)运行的服务,并编写一个与服务器通信的 GUI 前端应用程序.然后,非管理员用户可以运行前端.
You could write a service that runs as a privileged account (e.g. Local System), and write a GUI front-end application which communicates with the server. The non-admin user can then run the front-end.
这篇关于在 Vista 上启用/禁用没有管理员权限的硬件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文