Link to home
Start Free TrialLog in
Avatar of elizateh
elizateh

asked on

Setting up Remote WSH

Dear all,

         I am interested in setting up remote Window Script Host. I tried it out by following the Windows Script V5.6 documentation but could not work. The OS i am currently using is win2k professional and i would like to run my script on a remote machine which is Winnt Server 4.0 Enterprise Edition. Can this be done? Please give me guidelines as to how to do it. One of the guidelines in the documentation states that to enable Remote WSH, you have to use the System Policy Editor (Poledit.exe) on the server. How to use this editor and for what?
           
      Another guideline from another documentation states that:

"An administrator who wants to enable Remote WSH must either acquire the Windows 2000 resource kit, or use http://msdn.microsoft.com/scripting to acquire the necessary windowsscript.adm file that contains the WSH settings. The windowsscript.adm file must be copied to the server that sets the gapplicabel group's policies. Although it is not necessary to copy the file to the server's \WINNT\INF directory, this is nonetheless where the default adm files are located."

     I do not quite understand the above guidelines. Where to get the windowsscript.adm file? And what is gapplicabel group's policies?

     Please advise. Thank you.

Regards
Avatar of edemmon
edemmon

Have you set the value for the following registry dword value to 1?
local machine\software\microsoft\windows script host\settings\remote

This should allow you to use scripts remotely.
Avatar of elizateh

ASKER

yes, i have set it and meantime now i can run the script from the nt server machine and accessing the remote machine which has the os of 2k pro. What about if i want to do it the other way round, which is from a 2k pro machine, i want to run my script on a remote nt server machine? Is it possible to do that? Plz advise.
It should work fine either way, as long as you are using an account that has the proper permissions.
I get the error permission denied though i found nothing wrong with the permission. What about the windowsscript.adm file?
Dear all, i m still facing problem with the permissions. It gave this error:

Error: Permission denied
Code : 800A0046
Source: Microsoft VBScript runtime error
ASKER CERTIFIED SOLUTION
Avatar of tipsypiglet
tipsypiglet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial