Re: VB 6 and Vista problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have explored the issue a bit further, and finally found a solution.

Beforehand I have tried to allocate the links using the "Shell"-object.

But the same problem here:

The call "objWshShell.SpecialFolders("Programs")"

delivered the context of the admin-account, whose login-Data I used to run
the program with elevated rights, and not(!) the context of the user as
which I was originally logged in !

Testing this, I found something else totally unexplainable:

The call "objWshShell.SpecialFolders("AllUsersPrograms")" (correctly)
resulted in "J:\ProgramData\Microsoft\Windows\Start Menu\Programs"

The call "S$="AllUsersPrograms":objWshShell.SpecialFolders(S$)"
(incorrectly) resulted in "J:\Users\Public\Desktop"!?????

What is this supposed to mean????

==================================================================

Now the solution:

As Vista won't tell me in this scenario (executing a program with
admin-rights within another account) where I am really at home, the only
solution left was to create the links and shortcuts "for all users".

Only now can I see them in my original account!

==================================================================

Imo there is something conceptionally totally wrong in VISTA!

The fact, that I, as a normal user, execute a program with admin-rights,
must never ever lead to a situation, that my data may end-up in the context
of the admin, whose login-data I was using, and not in my context!

Seems to me, that each and every program, that is installed with admin
rights within another account will face this problem.

Or do I do something wrong???

Are there (different?) experiences?

--
Dipl.-Ing.(TH) Winfried Kaiser
c/o Fortune Systems GmbH & Co.
Postfach1

D-24975 Husby
Germany

Fon: (49)4634-746


.



Relevant Pages

  • Re: Being logged on as admin and user at the same time (in XP)?
    ... i have a security questions of sorts. ... would the admin account be ok if i had it running while i ... while doing other stuff in that same context. ...
    (microsoft.public.windows.server.security)
  • Re: Being logged on as admin and user at the same time (in XP)?
    ... i have a security questions of sorts. ... would the admin account be ok if i had it running while i ... while doing other stuff in that same context. ...
    (comp.os.ms-windows.nt.admin.security)
  • Re: Paste action doesnt work into text fields (is trying to paste a printscreen, not whats in the cl
    ... account without Admin privileges, and another with admin rights for software ... On the Admin account, copy and paste would work fine, as ... the context menu or by keyboard shortcut, ...
    (microsoft.public.windowsxp.general)
  • Re: G/F#
    ... There must be ways to account for this music within classical ... the CPP language and its applications, you would have seen that they ... cadence from bII to I in any form did not exist. ... They don't exist for the context you asked. ...
    (rec.music.theory)
  • Clarification: IUSR access to the ASP.NET temp folder
    ... That folder has NTFS Full access for Network Service, ... What are the security implications of giving the IUSR_account NTFS ... granting access rights to the resource to the ASP.NET request identity. ... context) +85 ...
    (microsoft.public.dotnet.framework.aspnet.security)