script to show group policy applied to computer

script to show group policy applied to computer

avatar

Could you add a script to show gpresult?
Keep up the great work! I'm a HUGE fan of RDM.

All Comments (15)

avatar

Hi,
Have you tried to use the session script tools?

David Hervieux

avatar

Sorry for wasting your time. Thank you.

avatar

Have you been able to do it?

David Hervieux

avatar

Could someone help me with the script to run gpresult on a remote computer.
I tried the following:
cmd /k gpresult /s $HOST$
Thanks for your help.
edited by jasonallenthomas on 4/25/2012

avatar

What problem do you have exactyl?

David Hervieux

avatar

When i run the script it runs it locally and not on the remote computer.

avatar

Have you tried to use a PSExec session instead?

David Hervieux

avatar

Yes. It appears to be using my creditals on the remote computer.

gpresult image.png

avatar

I tested on another PC (Windows XP), with RDMgr 8.2.0, 8.2.5 beta, and finally 8.1.0 (the first version I installed at the beginning, and with this version I configured all my sessions).

Same result : I can work with local data source, but as soon as i configure and want to access my Mssql datasource, it crashes, for all the version tested !

And finally, when i create a new Db on the same MSSQL server, and acces it with same credential, it doesn't crash.

This i why i asked is it is possible to clean the problematic DB, for ex. by some tool, delete the lasts modifications. These last modifications seems to be the source of my problem ?

avatar

Hi,
You could try a backup restore in a new database. I'm sure that SQL Server will do a clean up.

David Hervieux

avatar

I was affraid of that final response :-)

... The backup maintenance plan was in error, that DB was not backuped.

-> i will recreate the DB and all my configuration...

avatar

Are you able to access the database with SQL Management Studio?

David Hervieux

avatar

yes

avatar

Just backup the corrupted database and restore it on a newly created database with SQL Management Studio that you can access with RDM. This will clear the transaction logs.

David Hervieux

avatar

Done, but doesn't change the behavior, crash.