How to programmatically disable the Windows 8 firewall?

I need to create an application that will run in full screen mode in Windows 8 and with which the user will not be able to easily exit.

Since the application will work on computers or tablets with only tactile input, I was going to create a closed and very first WPF application that could only be closed when the keyboard was connected.

The problem is that the application switching panel on the left and the charms panel on the right can be opened without a keyboard and allow users to exit the application. Could this be disabled from code? I can not find a way.

A simple solution would be to run on another OS, but Windows 8 will work on the machines, and I can not help it.

+4
source share
6 answers

I dug .TXT with some notes that I found somewhere on the network some time ago can be useful (in the worst case, this does not apply to Windows 8 and does not work. I can not indicate the source for this, I do not remember where it took):

"Kiosk mode" already exists with XP. Usually it is designed to block IE, to show some interactive web page, not allowing the user to close it: it was called mandatory user profiles.

To configure it:

  • Set up your account the way you want. Set a group policy, configure startup programs. The user must be a standard user, not an administrator. But then again, if an unauthorized person can obtain administrator rights, even if the computer is "frozen", I think you have more serious problems.
  • Logging in as Administrator and Computer Properties> Advanced> User Profile Settings> (select this profile)> (copy it to any location)> set "allowed to use" for all
  • Go to the properties of this folder> Security> (change it so that everyone can read and change, but not write, make sure you apply ALL to it)
  • Rename NTUSER.DAT to NTUSER.MAN
  • Open Computer Management> Local users and groups> Users> (create a new user)> (open a newly created user)> Profile> (on the way to the profile, install it in this folder)
  • Disable the user that you just copied (since you donโ€™t want people to go there)

When you are done and log in to your new account, you will find that it works almost the same as the kiosk mode you were looking for. To undo the changes, log out and log in.

+1
source

I had the same problem and I know that if you do not use a homemade rootkit to disable Bar Charms, there is no way to do this. This is how I worked after considering all the other options.

To save time here that won't work.

  • The classic shell.
  • Start menu list.
  • Registry Edit EdgeUI.
  • Disabling on the start menu with the right mouse button - although you must do this in order to disable other functions.

Here are some options that may work, though not very. Take a look at the following:

  • Sideloader Applications
  • Play the Windows Store app
  • Rootkit

Otherwise, you cannot do much. I would like to hear how you decided this.

Look at a similar question that I asked: Kiosks in Windows 8 Running regular software (non-Windows Store app)

0
source

Kill explorer.exe when your application launches and the char panel will not work.

0
source

I know that it may be a little late to answer this question, but I hope this helps someone else, there is a regkey in your Regedit that allows you to choose which windows load Shell, it is installed in Explorer by default. exe, if you change this, it will load into any program you want without going through the menu of dumb windows 8.

Regkey is in

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\shell 

Hope this helps all of you.

0
source

A simple solution, not perfect, but it works, every time the charms panel is activated, your application is turned off, so activate it immediately and the charms panel will disappear. add this to your App.xaml.cs

 DispatcherTimer timer = new System.Windows.Threading.DispatcherTimer(); public App() { this.Deactivated += App_Deactivated; this.Activated += App_Activated; timer.Tick += delegate { Application.Current.MainWindow.Activate(); }; timer.Interval = new TimeSpan(0, 0, 0, 0, 10); } void App_Activated(object sender, EventArgs e) { timer.Stop(); } void App_Deactivated(object sender, EventArgs e) { timer.Start(); } 
0
source

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ ImmersiveShell \ EdgeUI \ DisableTLcorner DWORD = 1

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ ImmersiveShell \ EdgeUI \ DisableCharmsHint DWORD = 1

-2
source

All Articles