[windows2000] Re: Disable service via batch file

  • From: "Puetz, Christoph" <Christoph.Puetz@xxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Wed, 10 Sep 2003 14:41:04 -0600

Thanks (Ray & Glenn). 

I am actually using Scriptlogic to do this. I can run that stuff as admin. I
am trying to avoid their registry key option as I do not like the way it
works and for administrative purpose.

Christoph

-----Original Message-----
From: Costanzo, Ray [mailto:rcostanzo@xxxxxxxxxxx]
Sent: Wednesday, September 10, 2003 12:56 PM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: Disable service via batch file


Sorry, I should have been more descriptive about the s.  What you'd do
is have a line like this in your .bat file


regedit /s \\domaincontroller\netlogon\automaticUpdates.reg

You execute regedit.exe with the /s switch like that.

Your users apparenltly have admin rights, eh?  Hmm.  :]

Ray at work

> -----Original Message-----
> From: Puetz, Christoph [mailto:Christoph.Puetz@xxxxxxx] 

> 
> I used a batch file and it works good - except the user still 
> gets prompted
> to "Ok" the registry key entered into the registry. I used 
> the /s. Anyway
> around user interaction or is that my only choice? Do you know?
> 
> net stop wuauserv
> \\domaincontroller\netlogon\automaticUpdates.reg /s
> 
> Christoph


****************************************************************************
******************************
The information contained in this e-mail message is intended only for the
personal and confidential use
of the recipient(s) named above.  Distribution, publication, or
retransmission of this message is strictly 
prohibited.  This message may be a bank to client communication and as such
is priviliged and confidential.  
If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the 
intended recipient, you are hereby notified that you have received this
document in error and that any 
review, dissemination, distribution, or copying of this message is strictly
prohibited.  If you have received 
this communication in error, please notify us immediately by e-mail, and
delete the original message.

The sender of this e-mail specifically "opts-out" of the Electronic
Signatures and Global and National 
Commerce Act (E-Sign) and any and all similar state and federal acts.
Accordingly, but without limitation, 
any and all documents, contracts, and ageements must contain a handwritten
signature of the sender to
be legal, valid, and enforceable.
****************************************************************************
******************************


**********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or 
previous e-mail messages attached to it may contain information that is 
confidential or legally privileged. If you are not the intended recipient, or a 
person responsible for delivering it to the intended recipient, you are hereby 
notified that you must not read this transmission and that any disclosure, 
copying, printing, distribution or use of any of the information contained in 
or attached to this transmission is STRICTLY PROHIBITED. If you have received 
this transmission in error, please immediately notify the sender by telephone 
or return e-mail and delete the original transmission and its attachments 
without reading or saving in any manner. Thank you

**********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: