5 replies
by syscokid
Here's some useful info:
http://www.networkcommand.com/NTSEC/scripts.html
(Be careful copying and pasting URLs. Sometimes a space or a %20 gets inserted when you paste it into your browser. Delete any such spaces or characters, or the page won't load).
by kareem
by bernd
Hi, you shuold look at Kix32 which is a script language and comes with the NT Resource Kit. It offers all of the features you need. Mapping drives, reading and writing the Registry etc.
Here are some Examples:
color y+/n
settime "\\SERVER1"
;----------- Windows NT --------------------
if @inwin = "1"
$OS = "WINDOWS NT"
endif
;------------ Windows 95 -------------------
if @inwin = "2"
$OS = "WINDOWS 95"
$key = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network"
$variable = "DisablePwdCaching"
$value = "1"
if existkey ($key) <> 0
$result = addkey ($key)
if @error = 0
$result = writevalue($key,$variable,$value,"REG_DWORD")
shell "command.com /c del c:\windows\*.pwl"
;--- Main Group Membership --------
if ingroup ("Domain Users")
use i: "\\Server1\Sharing"
endif
;--- Main Group Membership -------
if ingroup ("Your Group")
use f: "\\Server1\HiddenSharing$$"
endif
by kareem
by kareem
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending