?
Solved

Setting up Remote WSH

Posted on 2002-07-22
8
Medium Priority
?
711 Views
Last Modified: 2013-12-03
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
0
Comment
Question by:elizateh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 

Expert Comment

by:edemmon
ID: 7172659
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.
0
 

Author Comment

by:elizateh
ID: 7173272
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.
0
 

Expert Comment

by:edemmon
ID: 7177349
It should work fine either way, as long as you are using an account that has the proper permissions.
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

Author Comment

by:elizateh
ID: 7179144
I get the error permission denied though i found nothing wrong with the permission. What about the windowsscript.adm file?
0
 

Author Comment

by:elizateh
ID: 7218779
Dear all, i m still facing problem with the permissions. It gave this error:

Error: Permission denied
Code : 800A0046
Source: Microsoft VBScript runtime error
0
 

Accepted Solution

by:
tipsypiglet earned 600 total points
ID: 8389336
Have you found a solution yet?  I'm having the same issue (more or less).  

I was originally getting the permission denied error until I added the computer making the remote connection as an administrator on the remote computer's box.

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question