PC Review


Reply
Thread Tools Rate Thread

Is "Create Global Objects" privelege necessary to run Windows Forms app ?

 
 
Dmitriy Zakharov
Guest
Posts: n/a
 
      20th Aug 2003
Hi,

Our .NET application runs fine in a W2K Terminal Server session, but only
when user is a member of Administrators group. Otherwise it creates DRWATSON
log file.

The problem disappeared after Privelege "Create Global Objects" has been
granted to Users in the Local Computer Policy.

Is this privelege required by Windows Forms application or framework ?
Garbage Collector ?

Thanks.
Dmitriy Zakharov.
Tritech Financial Systems, Inc.
(416) 621-2020


 
Reply With Quote
 
 
 
 
Dmitriy Zakharov
Guest
Posts: n/a
 
      21st Aug 2003
Hi Yanhong,

I've removed the privelege and could not reproduce the problem.

I think maybe system restart that I did earlier fixed something. This box
runs 24/7. It is never restarted without a good reason.

Thanks - I'm impressed by the level of MS Tech Support. I think it has
improved over the time.

Dmitriy.


"Yan-Hong Huang[MSFT]" <(E-Mail Removed)> wrote in message
news:Alys%(E-Mail Removed)...
> Hello Dmitriy,
>
> Thanks for posing in the group.
>
> The "Create global objects" user right (SeCreateGlobalPrivilege) is a

Windows 2000 security setting that was first introduced in
> Windows 2000 SP4. The user right is required for a user account to create

global objects in a Terminal Services session. Note
> that users can still create session-specific objects without being

assigned this user right. By default, members of the
> Administrators group, the System account, and Services that are started by

the Service Control Manager are assigned the
> "Create global objects" user right. That is why admin could run your

application successfully.
>
> So the behavior is not related to .net framework, GC. It should be related

to Windows 2000 SP4.
>
> Could you create a simple "Hello World" windows forms application for

testing to confirm whether it is applied to all windows
> forms application or just specific to your windows forms app?
>
> For details, please refer to MSDN article: "Overview of the "Impersonate a

Client After Authentication" and the "Create Global
> Objects" Security Settings (821546.KB.EN-US.2.2)"
> http://support.microsoft.com/?id=821546#5
>
> Hope that helps.
>
> Best regards,
> Yanhong Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> --------------------
> !From: "Dmitriy Zakharov" <(E-Mail Removed)>
> !Subject: Is "Create Global Objects" privelege necessary to run Windows

Forms app ?
> !Date: Wed, 20 Aug 2003 14:34:12 -0400
> !Lines: 18
> !X-Priority: 3
> !X-MSMail-Priority: Normal
> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> !Message-ID: <#(E-Mail Removed)>
> !Newsgroups: microsoft.public.dotnet.framework
> !NNTP-Posting-Host: 206.116.48.3
> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
> !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:51732
> !X-Tomcat-NG: microsoft.public.dotnet.framework
> !
> !Hi,
> !
> !Our .NET application runs fine in a W2K Terminal Server session, but only
> !when user is a member of Administrators group. Otherwise it creates

DRWATSON
> !log file.
> !
> !The problem disappeared after Privelege "Create Global Objects" has been
> !granted to Users in the Local Computer Policy.
> !
> !Is this privelege required by Windows Forms application or framework ?
> !Garbage Collector ?
> !
> !Thanks.
> !Dmitriy Zakharov.
> !Tritech Financial Systems, Inc.
> !(416) 621-2020
> !
> !
> !
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to place "global" objects such as user preferences dave@softwareonline.com Microsoft C# .NET 5 22nd Jan 2007 08:30 AM
"Global" objects BobRoyAce Microsoft Dot NET Framework Forms 12 15th Jun 2006 03:06 PM
"Global" objects BobRoyAce Microsoft VB .NET 4 12th Jun 2006 09:21 AM
"Importing" new forms and just buttons to old forms to a new global front end? StargateFanFromWork Microsoft Access Getting Started 4 14th Jun 2005 03:05 PM
<forms name="CompanyWeb" loginUrl="login.aspx" protection="All" path="/" /> Murphy Microsoft ASP .NET 2 19th Apr 2004 08:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 PM.