Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#27 Erro starting SEB

v1.0 (example)
closed
nobody
None
5
2015-01-26
2012-06-29
bbb
No

Hi we rollout SEB via GPO in a computer pool room, on some machine we get an error "nicht genügend Rechte die Registry zu bearbeiten". The installation works fine and the error occurs only on some machines. If we reboot and start SEB then the error is gone.
Has anybody an idea why some machine fail on the first seb start.
We use windows 7 64 Bit and SEB 1.8,2 .

Thanks

Discussion

  • Dirk Bauer
    Dirk Bauer
    2012-07-02

    Hi, probably the SebWindowsService component was not running properly after installation on these machines. This sometimes happens. At the end of the SEB installation, this service should automatically start. It sets some registry values for the SEB client when SEB is starting up (e.g. DisableTaskMgr=1 for disabling the Task Manager in the Windows Logon Screen when the student presses Ctrl-Alt-Del).

    In Windows Vista and 7, the UAC (User Access Control) prevents a standard user (the logged in student and the SebStarter process) from changing registry values. So a windows service, permanently running on the machine, independently of logged in standard users) and having admin rights, must change the registry values. If this service is not running, the error "has not enough rights" appears, indicating that Task Manager etc. is still active. You can still use SEB then, but a student could call the Task Manager and start forbidden programs through it.

    If you reboot, the SebWindowsService is started once again in the background, so this is the reason why it now works. But normally it is started right at the end of the SEB installation.

     
  • bbb
    bbb
    2012-07-03

    Hi, thank you for the information. Is there something we can do at the end of the installation to check if the service is running? What is the name of the service? Can we manually start it if it's not started at the end of the installation? Maybe a little skript can check if the service is running if not start it?

     
  • Dirk Bauer
    Dirk Bauer
    2012-07-03

    Hi, its name is "SebWindowsService" (see below). It is installed in

    C:\Programme\ETH Zuerich\SEB Windows 1.8.3
    C:\Programme (x86)\ETH Zuerich\SEB Windows 1.8.3
    C:\Program Files\ETH Zuerich\SEB Windows 1.8.3
    C:\Program Files (x86)\ETH Zuerich\SEB Windows 1.8.3

    or whatever your program directory is, along with "SebWindowsClient",
    the actual SEB you start during the exam.

    You can check if SebWindowsService is running by calling the Task Manager,
    then click on "Services" (or "Dienste" in German), then scroll down the list.

    But if you want to manually start the service:

    - go on "Computer"
    - click right mouse button
    - click on "Manage"
    - type in your admin password (the students will only work as standard users)
    - the window "Computer Management" opens
    - open "Services and Applications" in the left pane at the bottom
    - a subdirectory "Services" appears
    - left-click on "Services"
    - scroll down the list of services in the mid pane (the servcies are alphabetically ordered)
    - the Status of SebWindowsService should be "Started". If it is not:
    - right-click on the sercice name, and then you can choose from Start, Stop, Restart etc.
    - try Restart or Stop and then Start again

    This is a complicated procedure, so rebooting is often easier, which will restart SebWindowsService in any case, provided that it has been installed properly and all files are existing. To easen restarting the service, I wrote a batch script

    SebWindowsInstallService.bat

    which should be in the unzipped directory after downloading and extracting seb_1.8.2_win.zip . Do you still have this script? Maybe it is sufficient to execute this script by right-clicking on it and "Run as administrator".

    However, I am planning an improved installer SebWindowsInstall.msi, which should reduce errors when installing or unninstalling SEB and starting/restarting the service, because MS Visual Studio Setup Projects do not fully support these features, so they are not as reliabe as I would wish. The next major release shall contain a reworked installing procedure, but this will take time (I am still reading a book on Windows Installer XML, which should provide help on this subject). Writing error-free Windows installers is not that easy, as you probably know from many programs who do not properly uninstall and leave files on the file system or keys in the registry, for instance.

     
  • Did you try if this error happens also with SEB 1.9.x?

     
  • Closed, never got answer and couldn't replicate.

     
    • status: open --> closed
    • Group: --> v1.0 (example)