在Vista上启用/禁用没有管理员权限的硬件? [英] Enable/disable hardware w/o Admin rights on Vista?

查看:98
本文介绍了在Vista上启用/禁用没有管理员权限的硬件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人要求我提供启用/禁用

I've been asked to provide a program/script/whatever that enables or disables the


  • CD / DVD驱动器
  • 的程序/脚本/ >
  • USB端口

  • 软盘(!)驱动器

  • CD/DVD drive
  • USB ports
  • Floppy (!) drive

设备需要管理员权限,也就是说,可以由普通用户运行。

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屋!

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