Script Challenge

M

Mark V

In said:
I challenge the gurus to come up with an automated way of
applying the steps found in:

http://www.jsiinc.com/SUBN/tip6900/rh6988.htm

I can see it in my head, but I'm a lamer and can't code my
way out of a Big Mac box.

What portion seems so bad? My only question is if those files can in
fact be copied or are "in use". I can't imagine Jerold not making a
note of it in that case.

napkin scrawlings:
Ask user for ServerName (or store a known one)
confirm logged account has sufficient local and remote access
echo a bunch of stuff into a (reg) file
merge the file
delete the REG file
copy the files
? confirm the files ?
register the rasuser pkg. *1

*1 I'd have to look up how to not prompt in regsvr32

Which part(s) would you like to see the wizards code? :)

PS I'm not one of them really. But this seems quite doable to me.

(W2K)
 
J

Jerold Schulman

I challenge the gurus to come up with an automated way of
applying the steps found in:

http://www.jsiinc.com/SUBN/tip6900/rh6988.htm

I can see it in my head, but I'm a lamer and can't code my
way out of a Big Mac box.


If all your domain controllers are Windows Server 2003, run Challenge.bat.
Place it and the dialin.reg file in the netlogon share of all the DCs.
Challenge.bat contains:

@echo off
regedit /s %logonserver%\NETLOGN\dialin.reg.
CD /D %SystemRoot%\System32
copy %logonserver%\Admin$\System32\mprsnap.dll *.*
copy %logonserver%\Admin$\System32\rasuser.dll *.*
copy %logonserver%\Admin$\System32\rtrfiltr.dll *.*
regsvr32 /s rasuser.dll

You owe me<G>


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
J

joel

Thank you for the headstart ... you guys rock ... now
gimme a full vbs script that works, lol ... :)

I'll send you a krispy kreme donut for the hard work ...
 

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