Home Posts Topics Members FAQ
starrysky
10 New Member
I have a process (A) that runs at user login on many systems. The users are usually not Administrators. I want the process to be able to launch a process (B) to do Admin level tasks. I have a common Administrator account ( called sysuser) on each system. I can use this to run process B in. Users cannot know the password to this account.
I have had little success with .net process,process startinfo so far in Vista
if process B does not have a 'RequiresAdminL evel' manifest then vista runs it okay as sysuser but at least privilege level. If I put a 'RequiresAdminL evel' manifest in process B then I get an exception 'Requires Elevation' and B does not run.
The only way I can get the system Elevation prompt is if I ...
1/ set processstartinf o.verb="runas"
2/remove the Username/password of 'sysuser'
then the elevation prompt occurs but users are left being asked to enter a password to a priviliged account they are not allowed to know.
I want the user to just have to accept the elevation prompt and then B run elevated under the 'sysuser' account. Anyone any ideas?
Feb 18 '10 #1
Subscribe Reply
0 1209
Sign in to post your reply or Sign up for a free account.
Similar topics
9 1686 Visual Studio on Vista by: Frank Rizzo |last post by: I've heard rumblings here and there that various versions of Visual Studio will not run on Vista. I can't find definitive explanation anywhere of which one will run and which one won't. I am mostly interested in vs2003 and vs2005. Is it mostly an issue of UAC or not running as an admin? Regards C# / C Sharp |
5 5818 On Windows Vista, Process.Start() generates Win32Exception. by: Atara |last post by: On Windows Vista, Process.Start() generates Win32Exception. Sample Code: Dim selfProc As String = System.Windows.Forms.Application.ExecutablePath System.Diagnostics.Process.Start(Chr(34) & selfProc & Chr(34)) The generated Exception: Visual Basic .NET |
4 1491
by: Brent |last post by: Ok i just went from XP Professional to Vista Ultimate x64 last night. I installed vs 2005, sp1, and the update for sp1 for vista. I started up VS2005 and still got the warning message that deals with compatability of Vista & VS2005 which i was suprised. I would think after the update for sp1 for vista would have taken care of that but i guess... .NET Framework |
4 2303 Vista development issues - general issues/questions by: Viviana Vc |last post by: Hi all, I've read the WindowsVistaUACDevReqs.doc documentation and I have done different small tests on Vista to understand the bahaviour and now I have a few questions. 1) If I create a dummy console application that creates a file in Program Files directory, this one will succeed and will create the file b/c of the virtualization.... .NET Framework |
1351 vista elevation question by: DBC User |last post by: Hi all, I have a quick question on vista elevation. I have 2 application, one main GUI which user interacts with and another one is a tray program. User have options to install products from the main GUI program, which in turn writes the requests and pass it to the tray program. The tray program will download and then runs the setup.exe in... C# / C Sharp |
2 2964 Logged user with vista rights elevation by: GuiD |last post by: Hi all, Happy new year ;-) Here is my crazy issue. Situation : On vista, i have my admin account named "ADMIN" and another account named "TOTO" i created a C# application and launch it through "TOTO" account. the application request Rights Elevation . so when i start the application, Vista request ADMIN password to use this C# / C Sharp |
5 1962 module error in Vista -- works as administrator by: sawilla |last post by: First, I'm new to Python. I'm getting and error when I run Python 2.5.2 as a regular user in Vista but not when I run Python as an administrator. For example, if I type "import numpy" after I launch python from an adminstrator-privileged command window it loads fine. However, from a regular-user command window I get: Traceback (most... Python |
11 1907 reflection, COM, and Vista by: idoublepress |last post by: Hi all, I've been struggling with an issue that I hope you can comment on or provide suggestions to. Our .NET 2.0 (VS2005) based product is crashing (when the user selects a particular feature on the UI) on Vista. It works fine on XP. In a nutshell: - user makes a selection on the UI - System.Reflection.MethodInfo.Invoke() calls into... .NET Framework |
6 6677 write to registry in vb.net and vista by: sd |last post by: hello I need to keep my app entry under HKEY_LOCAL_MACHINE\Software\MyApp. (to support for all users).I need to update one key under MYApp. When I attempt to set value for this key My.Computer.Registry.LocalMachine.CreateSubKey("software \MyApp").SetValue("Licence", "Success") I get error stating Access to HKEY_LOCAL_MACHINE\Software\MYapp... Visual Basic .NET |
29 1956 Python 2.6, GUI not working on vista? by: process |last post by: i just downloaded 2.6 and when running the gui nothing happens. anyone else with the same problem? Python |
7841
Problem With Comparison Operator <=> in G++ by: Oralloy |last post by: Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ... C / C++ |
8066
Maximizing Business Potential: The Nexus of Website Design and Digital Marketing by: jinu1996 |last post by: In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that... Online Marketing |
1 7596 The easy way to turn off automatic updates for Windows 10/11 by: Hystou |last post by: Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For... Windows Server |
7920
Discussion: How does Zigbee compare with other wireless protocols in smart home applications? by: tracyyun |last post by: Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the... General |
1 5458
Access Europe - Using VBA to create a class based on a table - Wed 1 May by: isladogs |last post by: The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes... Microsoft Access / VBA |
3605 Trying to create a lan-to-lan vpn between two differents networks by: TSSRALBI |last post by: Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in... Networking - Hardware / Configuration |
1 2047 transfer the data from one system to another through ip address by: 6302768590 |last post by: Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system C# / C Sharp |
1 1169
How to add payments to a PHP MySQL app. by: muto222 |last post by: How can i add a mobile payment intergratation into php mysql website. PHP |
877
Comprehensive Guide to Website Development in Toronto: Expert Insights from BSMN Consultancy by: bsmnconsultancy |last post by: In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating... General |
By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.
To disable or enable advertisem*nts and analytics tracking please visit the page.