Thanks for the suggestion. I am also looking at regini.exe and creating a batch file.
I guess what I am confused about is actually executing the ini file and have it affect all NTWS and W2K boxes in the domain. Please elaborate. Thanks again. Ron -----Original Message----- From: James R. Gregg [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 3:50 PM To: MSWinNT Discussions Subject: Re: Legal Notice I recently did this using regini.exe, reg.ini, and a batch. The batch copies the .ini and the .exe to a local directory and then updates the registry according to the reg.ini. here is an example of the reg.ini file: \Registry\Machine Software Microsoft Windows NT CurrentVersion Winlogon LegalNoticeText = REG_SZ Unauthorized access is prohibited. All usage is monitored. Violators will be prosecuted. I would suggest scheduling the job via a scheduled task or using AT. Mr. McDonald's script shows you how to apply this to all of the machines in your domain, which is cool because I never thought to use a net view command to get the list of machines in the domain. The only problem with this would be if there were some machines which did not show up in the net view list. > Rem Next line wrapped: > FOR /F "eol= skip=3 tokens=1,3 delims=\ " %%k IN ('net view DomainName') DO IF NOT "%%k"=="The" Call MyScript %%k Another way is to have a list of the servers you want updated and include it in a separate .txt file - servers.txt FOR /F "eol= skip=3 tokens=1,3 delims=\ " %%k IN (servers.txt) DO IF NOT "%%k"=="The" Call MyScript %%k ----- Original Message ----- From: "Network Issues" <[EMAIL PROTECTED]> To: "MSWinNT Discussions" <[EMAIL PROTECTED]> Sent: Monday, December 31, 2001 4:13 PM Subject: RE: Legal Notice > Thanks for the heads-up. > > I've been looking at the reg.exe utility and it looks promising. However, I > don't see how I can implement the registry changes to all machines. There > is no parameter to set either computer name nor domain name. > > Ron > > -----Original Message----- > From: MacDonald, Bruce (VAN_Exchange) > [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 31, 2001 2:15 PM > To: MSWinNT Discussions > Subject: RE: Legal Notice > > to deploy a registry change on all machines when you don't have policies > implemented, use > Reg.exe from the NT/Win2K resource kit. > > Put the command you want in a script that takes the machine name w/o the > double backslashes as the lone parameter then you can apply it to all > running machines in a domain with: > > Rem Next line wrapped: > FOR /F "eol= skip=3 tokens=1,3 delims=\ " %%k IN ('net view DomainName') DO > IF NOT "%%k"=="The" Call MyScript %%k > > Bruce MacDonald > Manager, Information Technology > Pacific Newspaper Group (Kennedy Heights) > (604) 605-7269 ph > (604) 605-7239 fax > [EMAIL PROTECTED] > > > > -----Original Message----- > From: Network Issues [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 31, 2001 10:46 > To: MSWinNT Discussions > Subject: Legal Notice > > > Goodmorning All, > > First, I want to wish everyone on this list a Happy and Prosperous 2002! > > I have this issue where my boss wants me to implement a legal notice that > will appear each time users logon. Now here is my issue: I already know > where the registry keys are that I need to change, however, how do I deploy > this change transparently-without the users intervention? > > I had hoped to used KIX, but I know that the users do not have the > appropriate permissions to make and apply changes to HKEY_LOCAL_MACHINE. > > Any ideas? > > TIA > > Ron > > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to [EMAIL PROTECTED] > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to [EMAIL PROTECTED] > ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED] ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
