>Running as a Domain Administrator removes UAC on Vista, I believe it is the
 >same on Windows 7. Even Internet Explorer will run in the administrative
 >privilege with this user.

Actually, it doesn't work that way in Windows 7. You will still get UAC 
confirmation dialogs in Windows 7 even when running using a Domain 
Administrator account, unless you disable the "User Account Control: Run 
all Administrators in Admin Approval Mode" item in Local Security Policies.

 >You found the Word.Application in the HKCR/Classes, it has a CLSID 
entry. >Go to this in HKCR/Classes/CLSID. I believe this is where you need 
to add that
 >Elevation key.
 >HKCR = HKEY_CLASSES_ROOT

Unfortunately, this doesn't solve the problem, nor does doing the same for 
Word.Basic.

I also tried granting all available permissions to MyDomain/AllUsers in the 
DCOM listings for "Microsoft Word Basic" and "Microsoft Word Document" in 
the Component Services Applet. No dice.

And I tried changing 
HKLM/Software\Microsoft\Windows\CurrentVersion/Policies\System\ConsentPromptBehaviorUser
 
to 2 ("Undefined"). That didn't work either. (As a side note, the least 
restrictive setting for this in the Local Security Policies editor for this 
item evaluates to 3 in the registry. A setting of 0 for this item evaluates 
to "always deny", while a setting of 0 for ConsentPromptBehaviorAdmin 
evaluates to "always allow". Grr....)

Note that the restricted user can successfully do:

oWord = CREATEOBJECT("Word.Application")

The error occurs on:

WITH oWord
      documents.Add  && "Could not open macro storage"
ENDWITH

Any other ideas?

Thanks very much.

Ken Dibble
www.stic-cil.org


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to