Solvent solutions
Subscribe to the Gourami newsletter
18 replies [Last post]
mmamales
mmamales's picture
Joined: 30.12.2008
User offline. Last seen 1 year 9 weeks ago.

I am receiving an error that I am no admin. I have the purchased FASe version. The only thing that has changed is my email: mmamales@usbr.gov

Any ideas?

3/16/2009 9:02:45 AM -- Published Applications Utility Version: 4.5.1.8 Build: 604 starting.
3/16/2009 9:02:45 AM -- Connected to a Presentation Server 45 farm.
3/16/2009 9:02:45 AM -- License is valid; Date: 1-2020 Name: Michael Mamales Company: Bureau of Reclamation Farm: UCRAD Email: mmamales@uc.usbr.gov License Date: 11-12-2008 17:15:46 Product:  FASe4.5
3/16/2009 9:02:45 AM -- Busy finding a citrix environment...
3/16/2009 9:02:45 AM -- √ Farm object succesfully created
3/16/2009 9:02:45 AM -- √ Connected to UCRAD
3/16/2009 9:02:45 AM -- x You are no Citrix Administrator.
3/16/2009 9:03:00 AM --

MMamales

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

 This appears if you are not Full Citrix administrator!, can you double check you are listed with the Citrix Full administrators in the Management Console...?

mmamales
mmamales's picture
Joined: 30.12.2008
User offline. Last seen 1 year 9 weeks ago.

If your referring to the Citrix AMC, I have two accounts adm-mmamales and mmamales . They are both listed, with Full Admin rights.

MMamales

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

 

Okey,

This has to do with this: 

http://forums.citrix.com/message.jspa?messageID=652169

Can you try to run this VBS script, see if this one says you are a Citrix administrator: http://www.thomaskoetzing.de/files/mfcom/logoff.zip

The only relevant part of the script is the part where it detects if you are Citrix administrator.

I can also remember we had this before with an other user, we are gonna look that up!
 

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

Also, can you please tell when hotfix level you have?, and is it all the some on the farm?,

Can you also run a dscheck, and paste the outcome here?

mmamales
mmamales's picture
Joined: 30.12.2008
User offline. Last seen 1 year 9 weeks ago.

We are running hotfiox PSE450W2K3R03 .

What options for dscheck? By itself? What is the purpose, what are we looking for?

Options? /Clean,  /SecureApp,  [-NoRenewal] ?

All are in the same farm, same subnet, and AD domain.

MMamales

mmamales
mmamales's picture
Joined: 30.12.2008
User offline. Last seen 1 year 9 weeks ago.

Here's the information regarding the logoff.wsf:

1. Ran an app as a regular user
2. On the Citrix TS desktop (logged in as adm console) ran the command lofoff.wsf <username> (regular user account)
3: Results
a. Blank display on the Windows Host Script
b. Client Name: <client machine name>
c. App Name: <server name,  Application>
d. Logoff Done
e. Press enter to exit...
f. Invalid handle on source code(I'm sure it is just terminating)

No admin errors popped up that I could observe.

MMamales

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

 What is the command you are running

-You should try running the script under the same acount as FASe is failing under.
-You should run cscript [scriptname], so in your fase, ermm case: cscript logoff.wsf

Thanks

mmamales
mmamales's picture
Joined: 30.12.2008
User offline. Last seen 1 year 9 weeks ago.

I am logged in under an administrator account (I am a domain admin)

Results:

Again, no errors.

MMamales

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

 I see a blank box...?, what output do you get, what I trying to figure out here, is to see if the script does see you as a Citrix admin or not...

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.
try running this script:

(save as .wsf, then run, c:\cscript isadmin.wsf)

this should give back either;
'you are citrix admin' or 'you are no citrix admin' 
_______________________________________________________________________________________________

<package>
<job id="isadmin">

<reference object="MetaFrameCOM.MetaFrameFarm" />
<script language="VBScript">

' Create MetaFrameFarm object
'

Set theFarm = CreateObject("MetaFrameCOM.MetaFrameFarm")
if Err.Number <> 0 Then
WScript.Echo "Can't create MetaFrameFarm object"
WScript.Echo "(" & Err.Number & ") " & Err.Description
WScript.Echo ""
WScript.Quit Err.Number
End if

'
' Initialize the farm object.
'

theFarm.Initialize(MetaFrameWinFarmObject)
if Err.Number <> 0 Then
WScript.Echo "Can't Initialize MetaFrameFarm object"
WScript.Echo "(" & Err.Number & ") " & Err.Description
WScript.Echo ""
WScript.Quit Err.Number
End if

'
' Are you Citrix Administrator?
'

if theFarm.WinFarmObject.IsCitrixAdministrator = 0 then
WScript.Echo "You are no Citrix admin"
WScript.Echo ""
WScript.Quit 0
else
WScript.Echo "You are Citrix admin!"
WScript.Echo ""
End If

</script>
</job>
</package>

Mike Mamales
(not verified,
IP: 137.227.70.176)
Mike Mamales's picture

Sorry, gourami forum account is not working (maybe you can check into that)...

 

Here is the screen shot of your last request for the isadmin.wsf script:

 

Test for Admin Rights-isadmin

 

Hope this helps...P.S. Attempted to reset password, but was denied.

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

So using the same username, on the same machine, Published Applications Utility is reporting you are not a Citrix administrator?

Mike Mamales
(not verified,
IP: 97.51.95.110)
Mike Mamales's picture

Doesn't matter if I run them from the console or published app. I've even attempted to uninstall the app, clean out the registry, and re-install. No success.

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

Try running a 'mfreg /regserver' command. Before doing that, make sure you are not on a production system, and make a full backup!

 

 

mmamales
mmamales's picture
Joined: 30.12.2008
User offline. Last seen 1 year 9 weeks ago.

Sounds a little risky. What is the purpose? What are we looking for?

MMamales

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

This is how other solved it:

 

And the backup is to be on the safe side, if something goes wrong, you can allways go back. Not that we expect annything to go wrong, but just to be on the save side...

 

Mark,

Just now I read your posting from December 12, urging
me to check the impersonation level.

But even before I read your post, I spent some time
reading the Citrix MPSSDK Help file (mfcom.chm), and
also read the section on Configuring MFCOM Access Permission.

Therefore, on the client system (also referred to as
the local system in the help file), I checked the
Impersonation level, which was set correctly to Impersonate.

Then, although not mentioned in the Help file, I also
checked the Impersonation level on the remote system
from which I was running my application. And there
the impersonation level was set at "Identify".
I quickly changed this to Impersonation, and my problem
was solved!

Thanks very much for your help.

mmamales
mmamales's picture
Joined: 30.12.2008
User offline. Last seen 1 year 9 weeks ago.

Update:

I had a chance to test the DCOM config, and change the impersonation level with success.

 

Procedure: (for WIN2K3 server)

1- Run dcomcnfg at the start/run window.

2- Open the Component Services folder, then open the Computers folder (click on the "+" sign).

3- Right-click the "My Computer" icon, click on Properties.

4- Click on the Default Properties tab.

5- Chang the setting for Default Impersonation Level from "Identify" to" Impersonate".

6- Click OK to apply the settings.

7- Run the FASe application.

8- Run the Published Application Utility (or any other FASe app). System was verified as "You are Citrix Administrator".

 

Was able to open and run successfully all other FASe applications, including the Farm Cleaner. I'll let you know if I run into any issues.

 

Thanks for your assistance and patience!

MMamales

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

Thank you for the detailed update!, I hope other who have the same problem can benifit from your post!

 

We are glad we got it working!, We hope you save a lot of time with our software!

Copyright © Gourami 2010

Citrix Ready
Citrix Partner