Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. grittyminder

    Can't switch default scripting host to cscript

    Hi all, I need help with a problem that doesn't make any sense. I can't seem to switch the default scripting host to cscript. The way this is normally done is via the following command: wscript //H:cscript When I run this command I see something similar to "the default script host was set to...
  2. grittyminder

    Cannot install Microsoft Network File and Print Sharing

    Hi there, I'm trying to write a script that automatically installs/enables Microsoft Network File and Print Sharing using snetcfg. I was able to get the uninstall component to work (i.e. snetcfg.exe -v -u MS_Server). NOTE: in order to able to enable File/Print Sharing apparently you first...
  3. grittyminder

    Turn off DNS root queries Server 2003

    Greetings! I have a silly question. Right now the local firewall is set only allow DNS queries from the internal network to the ISP's DNS servers (external DNS queries are being forwarded only, no DNS zone information is being sent as there is no need). I'm seeing dropped packets (UDP port 53)...
  4. grittyminder

    All Partitions Lost on Samba File Server

    Hi there! I don't really have a problem to "solve" per se, I just want to understand what exactly happened here and prevent the same from happening in the future... Here's what I did. I have a home server running VMware Server on top of Linux. I have a virtual machine that I set up as a Samba...
  5. grittyminder

    Trying to fix NTFS corruption in external disk (no OS)

    A while back I was trying to copy a large set of files from an NTFS formatted external disk drive to a personal server. The server froze and in doing so messed up the external disk NTFS partition (I know that there is nothing wrong with the physical disk itself because I ran a diagnostic on it)...
  6. grittyminder

    2 Questions About Juniper Secure Access 4000 SSL VPN...

    Greetings! I am looking into purchasing a SSL VPN (in particular, the Juniper SA 4000, but am open to other suggestions), as opposed to a more expensive IPSec VPN solution, to connect 200 or so remote, fixed clients (by fixed I mean "fixed IP"--the client isn't going anywhere). The main reason...
  7. grittyminder

    Returning an array from an associative array

    I'm assigning an array as a value to an associative array (they key is a string). When I try to get the array value using the key... well, it seems I can get it but I can't assign it. Here's what I wrote: foreach $key (keys %nameTable){ my $outputStr = ""; my @valueArray =...
  8. grittyminder

    Listing ports

    How can I list all ports w/ additional information associated with each port?
  9. grittyminder

    Registry key for local users?

    Does anybody know what the registry key is for local user settings? My goal is to export that information into the registry of another server.
  10. grittyminder

    Adding local user object

    Hi there, I want to add a new local user. The slightly strange part is that the user to add is an object. So the following code, of course, won't work for this. Set objUser = objComputer.Create("user", userName) objUser.SetPassword password objUser.SetInfo Is it possible to add the entire user...
  11. grittyminder

    Adding local user object

    Hi there, I want to add a new local user. The slightly strange part is that the user to add is an object. So the following code, of course, won't work for this. Set objUser = objComputer.Create("user", userName) objUser.SetPassword password objUser.SetInfo Is it possible to add the entire user...
  12. grittyminder

    Can't create new user; no error message just a hex number?

    I'm trying to create a new user w/ the code below. The problem is that the user is not being created and instead of an error a strange hex number is being displayed. The strange thing is that I'm able to create new groups just fine (by replacing "user" with "group." Does anybody know what the...
  13. grittyminder

    Something similar to "instanceof" in Java?

    Is there something in vbscript similar to "instanceof" in Java? For example if x has object type "Noodle", y has object type "Soup", and z has object type "Noodle", "x instanceof y" will return false whereas "x instanceof z" will return true. What I mean to ask is if there is some sort of object...
  14. grittyminder

    Moving stuff from old server to upgraded server?

    I don't know if this is the appropriate forum for this but here it goes: I'm more of a programmer kind of guy, but somehow I've been slated with the task of moving stuff (documents, services, apps) from an old server to an upgraded server. Is there some useful documentation somewhere on the web...
  15. grittyminder

    Advice on reading/copying very, very large files

    I have a script that is atempting to read all the data from a very, very large file on a remote server. For whatever reason, the script fails, randomly, typically with either of the following two errors: "The semaphore timeout period has expired" or "The specified network name is no longer...
  16. grittyminder

    Script freezes during file copy

    I can't figure out what's going on here. I'm using the FSO to copyFile a file from a remote server to a local machine. The destination file exists (there is error checking to ensure that this is true) as does the destination directory. The weird part is that the CopyFile function hangs freezing...

Part and Inventory Search

Back
Top