Jump to content

itguy101

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

5 Neutral

About itguy101

Personal Information

  • Interests
    C#, Java, VB, E-Learning
  • Location
    West Midlands
  1. im not too certain if you need the pause in there though
  2. IF EXIST C:\WSUS.txt goto SkipWSUS net stop wuauserv REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f net start wuauserv wuauclt /resetauthorization /detectnow echo done > C:\WSUS.txt :SkipWSUS This skips the middle section if the file already exists. If it doesnt, it will run your code then create the file.
  3. Hi I would move away from TCP for something like this and use UDP instead (less overhead), you could then also look at using broadcasting rather than requiring the IP address to be hardcoded or configued in the transmitting side of the application. The use of broadcast messages would depend on your network infrastructure though,
×
×
  • Create New...