Re: HELP: Migrating .WSCs to another machine

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 20:51:47 +0100

Matthew Speed wrote:

> I have inherited an NT 4.0 Webserver running a database driven web
> application. I thought that I'd move this application to a Windows
> 2003 server but when I went into the code I found a bunch of lines
> that look like
>
> Set objSearch = Server.CreateObject("AnimalSearch.WSC")
>
> Although I've figured out what these are, I've never worked with
> anything like this but have got to get this app moved. Rewriting to
> use straight database connections is out of the question at this
> point.
>
> Can someone please help me understand where I can learn about these
> things so that I can get this moved quickly?
Hi

To locate where the "active" AnimalSearch.WSC file is located:

Start regedit.exe

Go to the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AnimalSearch.WSC\CLSID\

Default value there will have a GUID sting, something similar
to this: {C8E9C3F5-043B-4AA3-97B9-781681910643}

Now go to the registry key (easiest way is to search for <GUID you found>):

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\<GUID you found>\ScriptletURL\

Default value there will tell you where the file s located.

Now copy this file over to the new computer, and then (on the new
computer) right click on the file and select "Register" in the menu.

That's it.

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx


Relevant Pages

  • Re: script to see whether nt4.0 server
    ... registry key to look at. ... Thks ... If you need to know if it is a server or a workstation, ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.server.scripting)
  • Re: ISusInternal::BeginFindUpdates failed, hr=8024002E
    ... > I have System Restore turned off for the sake of HD space; ... Under the registry key ... delete the value "DisableWindowsUpdateAccess" if it exist. ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsupdate)
  • Re: Urgent???
    ... > people on my server with instant messenger enabled THRU ALL THE PEOPLE WHO ... > the list I populate). ... > the system registry key that I wrote. ... copy itself (with an scripting) in all registry key of all my ...
    (microsoft.public.windows.server.scripting)
  • Re: need script/reg key to set dial up proxy settings
    ... stand alone home pc's. ... the easiest way seems to just give them a script or registry key on the floppy/cd and have them click on it at home. ... How to Configure Client Proxy Server Settings by Using ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx. ...
    (microsoft.public.windowsxp.general)
  • Re: Access denied error installing XP SP2 RTM
    ... It looks like you have a permission problem on the registry key ... > approved method of installing INF files. ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windowsxp.setup_deployment)