Forum / Remote Desktop Manager - Macro/Script/Tools

script to show group policy applied to computer

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

Clock6 yrs

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

David Hervieux

signaturesignature

Clock6 yrs

Sorry for wasting your time. Thank you.

Clock6 yrs

Have you been able to do it?

David Hervieux

signaturesignature

Clock6 yrs

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.
<em>edited by jasonallenthomas on 4/25/2012</em>

Clock6 yrs

What problem do you have exactyl?

David Hervieux

signaturesignature

Clock6 yrs

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

Clock6 yrs

Have you tried to use a PSExec session instead?

David Hervieux

signaturesignature

Clock6 yrs

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

gpresult image.png
Clock6 yrs

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 ?

Clock6 yrs

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

David Hervieux

signaturesignature

Clock6 yrs

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...

Clock6 yrs

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

David Hervieux

signaturesignature

Clock6 yrs

yes

Clock6 yrs

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

signaturesignature

Clock6 yrs

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

Clock6 yrs