Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wrote a C# 4.0 application that works on a Windows computer but when using Group Policy to set it as a login script, it does not run. The application is being called from the same location and using rsop.msc shows that the application should be run.

I see that using C# 4.0 may be a little overkill for this purpose, but it just seems wrong to write a VB6 application to do the same thing.

The requirements for the application states that there need to be specific GUI elements that can't be just text on the window. I need larger fonts and color elements.

Is there something more appropriate (and current) that I should be using?

share|improve this question
Would you be better off assigning the app through GP, or do you only want it to run at logon? – kafka Apr 11 '12 at 14:23
It is a logon script defined in GP already. – jayPal Apr 11 '12 at 15:08

Why not use powershell? In a lot of cases Powershell can run your C# code too.

share|improve this answer

group policy supports only Any language supported by Windows Script Host, including the VBScript, JavaScript, PERL, and MS-DOS®-style batch files (.bat and .cmd).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.