Article View: borland.public.cppbuilder.nativeapi
Article #10168Re: CreateProcessAsUser and Privileges
From: Stefano Bonifazi
Date: Thu, 20 May 2004 19:29
Date: Thu, 20 May 2004 19:29
32 lines
2189 bytes
2189 bytes
Thank You Mr Colin for your reply! Well that was the first thing I did (I always do that when I get troubles with WinXP privileges and non administrative users)... And running my application on such folder did not work as well!:( The CreateProcessAsUser version still claims that the clients has not the required privileges to call the function itself, while the CreateProcess version opens the external application that immediately closes!?! Best Regards!! Stefano B. "Colin B Maharaj" <noreply@myhost.com> ha scritto nel messaggio news:40a812d8$1@newsgroups.borland.com... > My thinking is to set the path of the app to have "Everyone" with all > access. I asked this later down the road... > > To do it manually in XP, you need to first disable 'Simple File sharing' > in XP. how..... > Start->My Computer > then > Tools Menu->Folder Options.. SubMenu > then > Click the View tab and in Advanced Settings... > Disable simple file sharing. > > Once this is done you will have a security tab in the right click-> > properties of the folder and then you can add everyone with all access. > You can then forget your service... > > Stefano Bonifazi wrote: > >
Technical Details
Message-ID:
<40ad070e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40a5055b@newsgroups.borland.com> <40a637de@newsgroups.borland.com> <40a812d8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5fb91eec7fd7a1d9 X-Google-Attributes: gid10cc67,public Reply-To: "Stefano Bonifazi" <stefboombastic@libero.it> From: "Stefano Bonifazi" <stefboombastic@libero.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <40a5055b@newsgroups.borland.com> <40a637de@newsgroups.borland.com> <40a812d8$1@newsgroups.borland.com> Subject: Re: CreateProcessAsUser and Privileges Date: Thu, 20 May 2004 21:29:18 +0200 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 212.141.199.41 Message-ID: <40ad070e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085081358 212.141.199.41 (20 May 2004 12:29:18 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail