Windows 信息亭应用程序

发布于 2024-09-15 21:24:26 字数 400 浏览 5 评论 0原文

因此,我需要构建一个在网吧中使用的信息亭类型的应用程序。该应用程序需要加载并显示一些要做的事情的选项。一种选择是启动 IE 进行冲浪。另一种选择是玩游戏。

我一直在读到我可能想做的是替换 Windows shell 并让它在操作系统加载时运行我的应用程序。我还必须禁用任务管理器。

这是一个多部分的问题。

  • 我可以使用 dotnet 来创建它吗?
  • 我必须使用什么操作系统?我不断在阅读中看到嵌入的 windows xp ,
  • 该应用程序偶尔加载 IE 会出现任何问题吗?
  • 执行此操作时我还应该注意其他任务吗?除了任务管理器和更换外壳之外。
  • 如果我可以用 C# 做到这一点,有什么我应该特别了解的吗?也许我的表单必须继承某些类,等等......

So, I need to build a kiosk type of application for use in an internet cafe. The app needs to load and display some options of things to do. One option is to launch IE to surf. Another option is to play a game.

I've been reading that what I probably want to do is replace the windows shell and have it run my app when the OS loads. I'd also have to disable the task manager.

This is a multipart question.

  • Can I use dotnet to create this?
  • What OS do I have to use? I keep seeing windows xp embedded pop up in my readings
  • Will there be any issues with the app occasionally loading IE?
  • Are there any other tasks that I should be aware of when doing this? Other than task manager and replacing the shell.
  • If I can do it in c#, is there anything in particular that I should know about? Maybe my forms have to inherit certain classes, etc...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

明月夜 2024-09-22 21:24:26

您应该查看Microsoft Steady State

它具有大量功能并且可以免费使用。

Windows SteadyState 功能
无论您是在学校计算机实验室、网吧、图书馆,还是在家里管理计算机,Windows SteadyState 都可以帮助您轻松地让您的计算机按照您希望的方式运行,无论谁使用它们。

Windows 磁盘保护 -
帮助保护包含 Windows 操作系统和其他程序的 Windows 分区,使其免遭未经管理员批准的修改。Windows SteadyState 允许您设置 Windows 磁盘保护以在重新启动时删除所有更改、在特定日期和时间删除更改,或者根本不删除更改。如果您选择使用 Windows 磁盘保护来删除更改,则共享用户在登录计算机时所做的任何更改都会在计算机重新启动时删除

用户限制和设置 -
用户限制和设置有助于增强和简化用户体验。限制用户对 Windows 中的程序、设置、“开始”菜单项和选项的访问。您还可以锁定共享用户帐户,以防止更改从一个会话保留到下一个会话。

用户客户经理 -
创建和删除用户帐户。您可以使用 Windows SteadyState 在备用驱动器上创建用户帐户,即使打开 Windows 磁盘保护,这些驱动器也将保留用户数据和设置。您还可以将用户设置从一台计算机导入和导出到另一台计算机,从而节省宝贵的时间和资源。

计算机限制 –
控制安全设置、隐私设置等,例如阻止用户在驱动器 C 中创建和存储文件夹以及从 Internet Explorer® 打开 Microsoft Office 文档。

安排软件更新 -
当您和您的共享用户方便时,使用最新的软件和安全更新更新您的共享计算机。

下载: http://www .microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=d077a52d-93e9-4b02-bd95-9d770ccdb431

You should check out Microsoft Steady State

It has plenty features and are free to use.

Windows SteadyState Features
Whether you manage computers in a school computer lab or an Internet cafe, a library, or even in your home, Windows SteadyState helps make it easy for you to keep your computers running the way you want them to, no matter who uses them.

Windows Disk Protection –
Help protect the Windows partition, which contains the Windows operating system and other programs, from being modified without administrator approval.Windows SteadyState allows you to set Windows Disk Protection to remove all changes upon restart, to remove changes at a certain date and time, or to not remove changes at all. If you choose to use Windows Disk Protection to remove changes, any changes made by shared users when they are logged on to the computer are removed when the computer is restarted

User Restrictions and Settings –
The user restrictions and settings can help to enhance and simplify the user experience. Restrict user access to programs, settings, Start menu items, and options in Windows. You can also lock shared user accounts to prevent changes from being retained from one session to the next.

User Account Manager –
Create and delete user accounts. You can use Windows SteadyState to create user accounts on alternative drives that will retain user data and settings even when Windows Disk Protection is turned on. You can also import and export user settings from one computer to another—saving valuable time and resources.

Computer Restrictions –
Control security settings, privacy settings, and more, such as preventing users from creating and storing folders in drive C and from opening Microsoft Office documents from Internet Explorer®.

Schedule Software Updates –
Update your shared computer with the latest software and security updates when it is convenient for you and your shared users.

Download: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=d077a52d-93e9-4b02-bd95-9d770ccdb431

夏日落 2024-09-22 21:24:26

•我可以使用 dotnet 来创建它吗?

您可以使用.NET。

•我必须使用什么操作系统?我不断在我的阅读材料中看到嵌入的 windows xp 弹出,

您可以使用任何操作系统

•该应用程序偶尔加载 IE 会出现任何问题吗?

事实上,您可以在 winform/wpf 应用程序上托管 IE 控件,因此无需打开 IE。

•如果我可以用c# 来做,有什么我应该特别了解的吗?也许我的表单必须继承某些类等...

信息亭应用程序没有什么特别的。只是你需要让你的应用程序位于所有东西之上,甚至任务栏上。隐藏最小化/恢复/关闭按钮。提供关闭应用程序的替代方法,例如。通过组合键

•Can I use dotnet to create this?

You can use .NET.

•What OS do I have to use? I keep seeing windows xp embedded pop up in my readings

you can use any OS

•Will there be any issues with the app occasionally loading IE?

in fact you can host IE control on your winform/wpf application, so no need to open IE.

•If I can do it in c#, is there anything in particular that I should know about? Maybe my forms have to inherit certain classes, etc...

there is nothing particular about kiosk application. just you need to have you app on top of everything even taskbar. hide minimize/restore/close buttons. provide a alternate way to close your app eg. by key combination

乙白 2024-09-22 21:24:26

您可以构建一个在本地计算机(XP Pro、Vista Business、7 Pro)上运行的 ASP.NET 应用程序。然后,当操作系统启动时,您可以在 kiosk 模式下启动 IE,

基本上您可以在启动文件夹中创建 IE 快捷方式,该快捷方式指向

“C:\Program Files\Internet Explorer\IEXPLORE.EXE”-k

如果具有正确的权限,ASP.NET Web 应用程序可以启动本地 EXE。

you could build an ASP.NET application that runs on the local machine (XP Pro, Vista Business, 7 Pro). Then when the OS boots, you can launch IE in kiosk mode

basically you create an IE shortcut in your Startup folder, and the shortcut points to

“C:\Program Files\Internet Explorer\IEXPLORE.EXE” –k

an ASP.NET web application can launch local EXE's if it has the right permissions.

你又不是我 2024-09-22 21:24:26

您可以使用 Windows 服务来启动您的 UI,其中可以包含您的游戏和 Web 浏览器控件 (WinForms/WPF)。这可以大大简化保护 UI 的任务,因为您只需要在 Windows 服务/应用程序上设置权限,而不是尝试锁定整个操作系统。此外,您可以使用附加服务来提供一些冗余,并始终检查您的 UI 程序是否仍在运行。如果用户以某种方式关闭了窗口,则此后台服务可以再次启动您的信息亭应用程序(如果它崩溃也很有用)。 此处也是如何在此计算机上禁用任务管理器的示例。

You could use a windows service that would kick off your UI that could have your games in it AND a web browser CONTROL (WinForms/WPF). This could greatly simplify your task of securing the UI, because you would just need to set permissions on the windows service / app rather than trying to lock down the entire OS. Futhermore, you could use an additional service to provide some redundancy and always check if your UI program is still running. IF a user somehow got the window to close, this background service could just boot your kiosk app up again (also useful if it crashes). Here is also an example of how to disable the task manager on this machine.

能怎样 2024-09-22 21:24:26

我最近不得不做和你一样的信息亭软件。我自己正在使用 Qt 运行 C++ 软件,但您也可以在 C# .Net 中执行此操作。

您可以使用以下注册表轻松替换外壳:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

要避免在计算机启动时登录,您还可以在 Winlogon 中设置以下字段:

自动管理登录 = 1

默认用户名=“用户名”

默认密码=“密码”

DefaultDomainName =“计算机名”:例如:USERNAME-PC

请注意,您不能使用此方法以管理员身份启动软件。如果这就是你的目的,我也可以给你一些这方面的技巧。

  • 执行此操作时我还应该注意其他任务吗?
    除了任务管理器和替换外壳之外。

在 Windows 中,如果您想创建信息亭,您还需要禁用:

  1. Windows + X 键:

a.从 cmd 提示符或开始菜单键入 gpedit.msc

b.然后转到:用户配置>管理模板>Windows 组件>文件资源管理器

c.在右侧面板中启用“关闭 Windows + X 热键”

  1. Alt+X 键

  2. 粘滞键:
    禁用粘滞键

  3. Ctrl + Alt + Del :

a.从 cmd 提示符或开始菜单键入 gpedit.msc

b.选择用户

配置->管理模板->系统->Ctrl-Alt-Del选项

c.双击每个:删除更改密码、删除锁定计算机、
删除任务管理器,删除注销,然后选择“启用”,然后选择“确定”。

d.选择计算机配置->管理模板->系统->登录

e.在右侧窗格中,双击隐藏快速的入口点
用户切换 f.选择“启用”,然后选择“确定”

这将删除 ctrl-alt-del 屏幕中所有令人讨厌的项目
可以让用户访问您想要保护的内容。

我不需要运行 IE,所以我无法向您提供任何相关细节。

I recently had to do the same kind of kiosk software as you. I myself am running a C++ software with Qt bu you could do it in C# .Net as well.

You can easily replace the shell using the following registery :

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

To avoid login when the computer start you can also set the following fields in Winlogon :

AutoAdminLogon = 1

DefaultUserName = “USERNAME”

DefaultPassword = “PASSWORD”

DefaultDomainName = “ComputerName” : e.g : USERNAME-PC

Be aware that you cannot use this method to start a software as administrator. If that is your purpose I could give you a few tricks in that direction as well.

  • Are there any other tasks that I should be aware of when doing this?
    Other than task manager and replacing the shell.

In windows if you want to create a kiosk you will also need to disable :

  1. The Windows + X keys :

a. Type gpedit.msc from cmd prompt or start menu

b. Then go to : User Configuration>Administrative templates>Windows Components>File Explorer

c. In the right panel enable “Turn Off Windows + X hotkeys”

  1. Alt+X keys

  2. Sticky keys :
    Disable Sticky Keys

  3. Ctrl + Alt + Del :

a. Type gpedit.msc from cmd prompt or start menu

b. Select User

Configuration->Administrative Templates->System->Ctrl-Alt-Del Options

c. Double click on each : Remove Change Password, Remove Lock Computer,
Remove Task Manager, and Remove Logoff and select Enabled then OK.

d. Select Computer Configuration->Administrative Templates->System->Logon

e. In the right hand pane, double click on Hide entry points for Fast
user Switching f. Select Enabled then OK

This will remove all the nasty items in the ctrl-alt-del screen that
can give users access to things you want to protect.

I didn't have to run IE so I cannot give you any details about that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文