Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: calling regedit in a FrontCall  (Read 12009 times)
Reuben B.
Four Js
Posts: 1047


« on: June 08, 2009, 03:28:23 am »

I have an example that calls regedit in a FrontCall to import values into the registry.  Using the /S option in regedit it will execute silently on XP but on Vista I still get the UAC prompts when the FrontCall executes. 

Has anyone run into similar issues with that or other FrontCall commands that get the UAC prompts on Vista, and is there a way to avoid the UAC prompts?  Pierre-Nicolas: Can we run Front-Calls as administrator?

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
.
Four Js
Posts: 115


« Reply #1 on: June 08, 2009, 08:13:00 am »

Except disabling UAC prompts, I see only 2 ways:
1. running GDC as administrator - any sub process will inherit its privileges and then no UAC prompt will appear
2. using runas with savecredentials, the password should be prompted only once, but this one may not be very user friendly and not easy to manage (need command line display...)

Thinking loud: I feel current behavior correct. I'm happy that the system is complaining when someone tries to do something on my computer via GDC, more especially when it changes something in my registry via regedit.
Reuben B.
Four Js
Posts: 1047


« Reply #2 on: June 09, 2009, 01:05:35 am »


Thinking loud: I feel current behavior correct. I'm happy that the system is complaining when someone tries to do something on my computer via GDC, more especially when it changes something in my registry via regedit.

even if it is only to change the registry values in HKEY_CURRENT_USER\\Software\\Four J's Development Tools\\Genero Desktop Client?

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
.
Four Js
Posts: 115


« Reply #3 on: June 09, 2009, 08:09:13 am »

The problem is: who can tell that your .reg only contains changes for GDC settings, and not something in the RUN key which will start silently a keylogger ?

Yes, GDC changes it's own registry settings, but when you run GDC, you know it will do it and you trust Four J's that GDC itself will not install a keylogger in your system but simply change items needed by GDC.

The main issue (which has been encountered by Microsoft with Vista and UAC) is that you want:
- to do lot of things silently because the end user is not a computer person and the less technical things he has to do the better your application runs
- a secured application.

The trend is for the second point, even if then end user is bothered with security warnings... See OSX, most of Linux distributions, Vista, IE7+... They all prompt the user each time they feel something may be unsecured, even if the end user is likely to click blindly on "ok".
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines