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: *

  • Users: hgate73
  • Content: Threads
  • Order by date
  1. hgate73

    Server 2008 R2 domain name missing suffix (e.g. DOMAIN instead of DOMAIN.COM)

    We recently set up a new Server 2008 R2 domain, and are having a weird issue. When joining the domain, I can't join a machine by typing "domain.com" for the domain. It only "finds" the domain if I type "domain" and join that way. When logging in as well, the logon screen shows "domain\username"...
  2. hgate73

    Bizarre DNS issue

    I'm having a strange DNS issue on a lot of our client Windows 7 workstations that I've narrowed down to the following: When the DNSCache (DNS Client) service is running: - Clients cannot resolve four particular hostnames - Clearing the DNS cache (ipconfig /flushdns) and then pinging the hosts...
  3. hgate73

    Solutions to common sysprep failures with COPYPROFILE

    I've been tearing my hair out trying to figure out why my virtually unchanged image was failing on deployment. It kept tossing error code 0x80070070 along with a message about failing to copy the administrator profile to the default profile. In our case it turned out to be a relatively simple...
  4. hgate73

    Request: Review my DHCP Watchdog and Failover script and comment

    Since Windows 2008 lacks the ability to do proper failover between a primary and backup DHCP server (I don't consider split-scope a "real" solution), I hacked together this watchdog script to run on a backup DHCP server. It checks the primary DHCP server every so often (user-specifiable), and...
  5. hgate73

    Used "deny unknown-clients", but DHCPD still passing out IP's??

    Hi there, I'm having an odd issue with my dhcpd.conf file on a Fedora Core 13 system. The server is at a remote site and my desire is for it to only give IP addresses to reserved clients (by MAC address). The problem is that it is still passing IP's out to unknown clients. I'm sure it's a...
  6. hgate73

    Different subnet per interface - static routes required?

    I have an ASA 5510 with a WAN connection to the outside world. Currently it looks like this: [Internet] | [ASA] | 192.168.x subnet | [NAT device] | 172.16.x subnet My plan is to move both subnets to their own interface on the ASA and remove the second NAT device. The...
  7. hgate73

    Tips on improving this batch file?

    I threw together a batch file this morning that goes out and backs up a users files to my hard drive (or wherever) before I wipe out the computer. But it's really ugly...was wondering if a scripting master could look at this and suggest any way to clean it up? :: Purpose: Backs up a...
  8. hgate73

    Batch file FOR loop to rotate and rename log files?

    Hi there, I'm trying to archive and rotate some log files from a profile deletion script. The batch file creates a file "OCPN2_master.log" from the script. This is what I currently have but it's kind of ugly: :: Log file rotation section. Archives up to 6 backups, ("backup" through...
  9. hgate73

    Tripwire equivalent for Windows? (script or program)

    I've been searching for a while for a program or script for windows that's equivalent to Tripwire on *nix. Basically something to monitor files in a directory and notify me on either a) modification of files (checksum change) or b) new files in the directory. I.e. "watch c:\secretfiles\*.exe...
  10. hgate73

    Problem with a batch file "goto" statement

    I've been using this batch file for a while to remotely update Java on some computers. However, for some reason it just started breaking, and I'm not sure why. Whenever I make the menu selection and then hit 'enter' to confirm and start the patch process, I get the error "goto was unexpected at...
  11. hgate73

    How do I remove a user from "deny logon through terminal services"?

    I'm trying to remove users and groups from the "Deny Logon Through Terminal Services" setting in group policy (secpol.msc) via the command-line. How do I do that? I was previously posting under "GeneralDzur" but hgate73 is my new username.
  12. hgate73

    Remote desktop won't connect, users added, RDP enabled

    I'm having an issue with our Vista boxes. Windows Vista Enterprise. - Remote desktop is enabled - The appropriate users are added to the "remote desktop users" group - Windows firewall is disabled - I can ping the machine But when I try connecting, it fails. Any ideas? I'm stumped! I...
  13. hgate73

    Script: Temp File cleaner

    This is a basic temp file cleaner script. It also cleans Flash cookies - something most people overlook. It deletes random stuff sitting in C:\ too - so if you store files in C:\ (the root of the drive) then remove this section. :: Purpose: Temp file cleanup :: Requirements: Admin access...
  14. hgate73

    Script: Windows Services lockdown

    Admittedly, turning off Windows services is a touchy topic. Some people think it's worthless, other people swear by it. I'm one of the people that swears by it :-P. Not to save CPU cycles, but a) to reduce RAM usage, and b) to reduce attack surface. Good security practice involves eliminating...
  15. hgate73

    Script: Fix and activate Windows Time service

    Windows Time service isn't registered w/ Windows by default (XP only), randomly. This batch file fixes that so you can have network-updated time. :: Windows time service isn't registered with Windows by default...who knows why..??? w32tm /register sc config W32Time start= auto net start...
  16. hgate73

    Script: Mass System Restore space reducer

    I noticed one day that Windows XP was set by default (out of the box) to use a whopping 12% (!) of the hard drive for system restore points. That's HUGE. We don't need all those on our systems, so this script crawls through the network (or, if you like, only your computer) and flips a registry...
  17. hgate73

    Script: Mass emergency shutdown of computers

    Our power goes out every week for generator maintenance, and usually we're not given any advanced notice. Users lose important work, and invariably at least one Windows box blows up because of the power loss in the middle of a data write or something. I wrote this scrip this morning to let me...
  18. hgate73

    Script: Old cached profile cleanup

    If you are in a highly transient environment like I am, you have hundreds of users logging into workstations they'll probably never use again. This script uses delprof.exe from Microsoft to crawl through the network and delete old cached profiles from the computers, potentially freeing up GIGS...
  19. hgate73

    Script: Mass Defragger

    I'm posting a few scripts I use as a system administrator in Kuwait. These are to perform mundane tasks on a /lot/ of computers at once. Every one of my scripts reads through a "names.txt" file with a FOR loop and executes that command for each PC. Without further ado! :: Purpose...
  20. hgate73

    Using PSEXEC.exe to install patches remotely

    I'm using PSEXEC (sysinternals) to script the installation of a bunch of routine patches on our systems. I have a FOR loop read the list of computer names and execute the command one-by-one on the computers. I want to copy a patch to the remote computer, run it, and disconnect. The only part...

Part and Inventory Search

Back
Top