Exit only for Admin User?
Asked by Kracky on April 15, 2015 - 10 replies
Hello, is it possible to make a Setup in the Digitalcenter Administration that shows only for Admin User the Exit Button? I build a Jukebox, with Windows Lockdown to Kioskmode so i will start by pressing the Power Button from Boot direct to Digitalcenter and to close and end Windows the User only press the Power Button again. It should be so save that there will be no Change to do any other Thing with the Jukebox. Somtimes its usefull to give User the Party Password to take care of Playlist but theres the Problem, with this Password he also can Shotdown DC and do other Things on Windows.
10 replies
avg24 - May 23, 2015
Why not shell digital center then?
Create a Windows account for users. Have Windows autoboot into that account and change the explorer shell to digital center.
If you want a walk through, let me know what version of Windows. Hopefully it's 7 or XP. XP is slightly different than 7. I'm not too familiar with 8, but the steps should be the same.
Kracky - May 23, 2015
Startup is not the Problem, i have installed a Standard User for Windows Lockdown. Windows Lockdown is a Software that helps to make Startup and other Settings secure, i have only the Problem that the Pary User in Digital Center can use the Exit button in the Home Menu so it will be fine when this Botton don´t exists. The OS is Windows 7
avg24 - May 23, 2015
Shelling digital center means you won't see windows at all. So even if they managed to kill the exe, they won't see a desktop, hence they can't do anything without a keyboard. To make zenpoint re-open if they exit it, you can make it launch with a batch and just put the exe a ton of times.
I'll test it on mine to make sure it's solid and I'll post instructions.
avg24 - May 23, 2015
Works like a charm.
Testing some more and making the batch hidden, but looks good.
Kracky - May 24, 2015
The better Way will be, they can use the Exit button but there will be a Setting in Windows that disable close Processes so the Exit Button will be useless. Is this possible, do you know a Solution?
avg24 - May 27, 2015
Not sure about that one, but here is my solution.
Shelling is optional, but prevents users from doing anything in Windows while digitalcenter relaunches.
This consists of an optional manual registry edit and 3 files
EDITED 5/30/2015 with latest files and instructions
files can be downloaded here
the files are 2 batch files and a vbs
Here's how it works (Tested on Windows 7, should work on XP and Vista just fine; not sure about Win8)
First:
Extract and copy the Zenpoint folder to your Windows 7 root (a.k.a, your c:\ drive)
NOTE: make sure you don't create a Zenpoint folder inside of a Zenpoint folder
Second:
You can do this 1 of 2 ways:
1. Toss startZen.bat in your startup
You can find the startup folder by doing this:
-Click the Windows Start menu, Click All Programs, Click Startup
-Right click on the Startup folder and select Open
-Copy startZen.bat there
OR
2. Shell startZen.bat(Recommended for public use)
I recommend you have at least two Windows user accounts. One to do the shell, the other for admin (makes it easier to do things in Windows)
Once you are logged into the account you want to shell
-Click on the Windows Start menu
-Type in regedit in the search field and hit the enter key (for WinXP, click Run, then type in regedit, and click ok)
-Now, on the left, you will navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
-There, to the right, you will see an entry labeled shell and in it will be explorer.exe.
-Double click on shell and replace explorer.exe with %systemroot%\zenpoint\startZen.bat
If you have a custom setup, you will have to edit the paths in the files. The files are set to default zenpoint install paths.
Here is what it does:
startZen.bat
will launch runhidden.vbs, which will then run zenpoint.bat hidden.
(running it hidden means users can't close it. zenpoint.bat is really
all you need, the other two files merely allow it to be hidden, which is
what you would want for public use)
The zenpoint.bat is set to open
digitalcenter a total of 11 times. Whenever a user closes digitalcenter,
the zenpoint.bat will reopen it.
Changelog:
-Revamped script for use on 64bit Windows or 32bit Windows. Initial script was a quick write.
-No need to edit paths for custom OS installs (unless you customized your zenpoint installation)
-Made digital center launch 11 times (Will run 1 initial launch and last up to 10 closures)
Kracky - May 27, 2015
Hi, Thanks, i will try it!!
avg24 - May 30, 2015
Edited my post above with latest files and instructions
How'd it work for you Kracky?
Kracky - May 31, 2015
Hi, it dosen´t work. To run the VBS File as User only Windows requests the Administrator Password and then it dosen´t start. Now i have used FrontFace Lockdown Tool, this will work similar yours Version but without newstart of closing Digitalcenter.
avg24 - June 3, 2015
If you are using a regular user account, you can set the startzen.bat to run as administrator and save the login info.
I'll test and write it up, I forgot to test under a regular user account.
That's why I suggested shelling instead of just running the batch. With shelling, the user account can be an administrator account and you don't have to worry about anything. The only way anyone can do anything is to get their hands on the keyboard.