Script to unregister and register dll for group of systems


R

RANG

Hi,
Am very new to script.

I want to perform unregister and register a dll for a group of
systems.

I know the command regsvr32 /u /s for doing it from command prompt.
But i dont know to automate this to all the systems.

Anyone pls help using a csv or notepad file which contains all the
system names & perform this task

Thanks
RANG
 
Ad

Advertisements

A

Ayush

Replied to [RANG]s message :
Hi,
Am very new to script.

I want to perform unregister and register a dll for a group of
systems.

I know the command regsvr32 /u /s for doing it from command prompt.
But i dont know to automate this to all the systems.

Anyone pls help using a csv or notepad file which contains all the
system names & perform this task

Thanks
RANG


Bat file :
1)Create a new text file in notepad.
2)Enter one command per line, e.g. :

regsvr32.exe /u /s somedll.dll
regsvr32.exe /s "C:\Path\Dll.dll"
regsvr32.exe /u /s c:\xxx.dll


3)Click File > Save > In the File Name dialog box, enter :
"name.bat"
where name is the name you want for file and bat is the extension (note:dont remove
the quotes.)

Good Luck, Ayush.
 
R

RANG

Replied to [RANG]s message :
Hi,
Am very new to script.
I want to perform unregister and register a dll for a group of
systems.
I know the command regsvr32 /u /s for doing it from command prompt.
But i dont know to automate this to all the systems.
Anyone pls help using a csv or notepad file which contains all the
system names & perform this task
Thanks
RANG

Bat file :
1)Create a new text file in notepad.
2)Enter one command per line, e.g. :

regsvr32.exe /u /s somedll.dll
regsvr32.exe /s "C:\Path\Dll.dll"
regsvr32.exe /u /s c:\xxx.dll

3)Click File > Save > In the File Name dialog box, enter :
"name.bat"
where name is the name you want for file and bat is the extension (note:dont remove
the quotes.)

Good Luck, Ayush.

Thanks ayush
But i had list of systems (more than 100). the system names i saved in
notepad file. I wanted this batch fetch system name from that list one
by one and perform the task.

for that pls. help me
Thanks
 
R

Ramesh, MS-MVP

Hi RANG,

How about a logon script?
If not, try PSExec.
PsExec v1.80:
http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx

"PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software"

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Replied to [RANG]s message :
Hi,
Am very new to script.
I want to perform unregister and register a dll for a group of
systems.
I know the command regsvr32 /u /s for doing it from command prompt.
But i dont know to automate this to all the systems.
Anyone pls help using a csv or notepad file which contains all the
system names & perform this task
Thanks
RANG

Bat file :
1)Create a new text file in notepad.
2)Enter one command per line, e.g. :

regsvr32.exe /u /s somedll.dll
regsvr32.exe /s "C:\Path\Dll.dll"
regsvr32.exe /u /s c:\xxx.dll

3)Click File > Save > In the File Name dialog box, enter :
"name.bat"
where name is the name you want for file and bat is the extension (note:dont remove
the quotes.)

Good Luck, Ayush.

Thanks ayush
But i had list of systems (more than 100). the system names i saved in
notepad file. I wanted this batch fetch system name from that list one
by one and perform the task.

for that pls. help me
Thanks
 
Ad

Advertisements

R

RANG

Thanks ramesh,

I will try with that tool.

RANG

Hi RANG,

How about a logon script?
If not, try PSExec.
PsExec v1.80:http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx

"PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software"

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshootinghttp://www.winhelponline.com


Replied to [RANG]s message :
Hi,
Am very new to script.
I want to perform unregister and register a dll for a group of
systems.
I know the command regsvr32 /u /s for doing it from command prompt.
But i dont know to automate this to all the systems.
Anyone pls help using a csv or notepad file which contains all the
system names & perform this task
Thanks
RANG
Bat file :
1)Create a new text file in notepad.
2)Enter one command per line, e.g. :
regsvr32.exe /u /s somedll.dll
regsvr32.exe /s "C:\Path\Dll.dll"
regsvr32.exe /u /s c:\xxx.dll
3)Click File > Save > In the File Name dialog box, enter :
"name.bat"
where name is the name you want for file and bat is the extension (note:dont remove
the quotes.)
Good Luck, Ayush.

Thanks ayush
But i had list of systems (more than 100). the system names i saved in
notepad file. I wanted this batch fetch system name from that list one
by one and perform the task.

for that pls. help me
Thanks- Hide quoted text -

- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top