Allows,Administrator,Administrators,group,use
Quick Search for:  in language:    
Allows,Administrator,Administrators,group,use
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
ASP/ VbScript Stats

 Code: 144,429 lines
 Jobs: 168 postings

 
Sponsored by:

 

You are in:

 
Login


 

 


Latest Code Ticker for ASP/ VbScript.
Click here to see a screenshot of this code!Ping in ASP
By Michele_Garneri on 10/28

(Screen Shot)

Embed Real Player Object
By Ziae Mousavi m. on 10/27


Set Country --> Combobox
By Hohl David on 10/27


Client Side Sorting of records
By Ravi Rajan on 10/26


Recordset paging with images
By Ravi Rajan on 10/26


Click here to see a screenshot of this code!Online photo catalogue VBScript 2.1
By Ivan Loire on 10/26

(Screen Shot)

GPS 1.4 WYSIWYG
By Guo Xu on 10/25


Click here to see a screenshot of this code!A Network Monitor tool from ActivXperts Software Inc.
By Freddy Hofstadt on 10/25

(Screen Shot)

Socket samples based on Winsock, TCP/IP and client/server communication
By Ronny Bright on 10/25


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

View/Start/Stop WinNT/Win2000 Services

Print
Email
 
winzip icon
Submitted on: 11/3/2000 3:59:25 AM
By: Chris Register 
Level: Intermediate
User Rating: By 6 Users
Compatibility:ASP (Active Server Pages), HTML

Users have accessed this code 11303 times.
 
(About the author)
 
     Allows Administrator or 'Administrators' group users to start and stop services from a web interface. Also allows viewing of a subset of services (options are All/Starting/Started/Stopping/Stopped).

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
11/28/2000 7:12:21 AM:Luke
excellent idea for server 
administration if you dont want to go 
or cant go always to your server.
i 
wish there would be more of such codes 
for dns or dhcp configuration
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/10/2001 5:23:13 AM:M Fernandes
I am trying to use this code on Win 
2000 and gives the Set error as said, 
do i have to install windows 2000 
resource kit as said in the help of win 
2000 for it to work
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/10/2001 6:01:39 AM:Chris Register
Win2K comes with ADSI, and should not 
require any special installs to use the 
above scripts.  I run these scripts on 
2 Win2K *Professional* machines, and it 
works fine.
I'm not sure what the 
problem can be ... please feel free to 
email me with more information at 
<address@removed> if you continue to 
have problems.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/31/2002 12:20:55 PM:chuck
I got it to semi wirk with Windows NT. 
However, I am logged on as 
administrator and I am getting the 
error where everything it stopping... 
Any ideas?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/31/2002 12:22:19 PM:Chuck
Scratch that...I was using the I_USR, 
thought I had Anon access off. Thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/24/2002 5:01:11 AM:Mike
Very cool.  Since you got a grasp on 
ADSI, then if you get some free time, 
how about seeing if you can come up 
with adding virtual directories or 
websites in IIS.  Or removing the 
Anonymous box under Directory security 
would be appreciated too.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/24/2002 9:32:46 AM:Chris Register
Okay, when I have a few minutes ... 
should be around June of 2004 
...
Seriously though, not bad 
ideas!
Regards,
Chris Register
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/26/2002 12:01:58 PM:Chris Register
I have updated the scripts so that now 
you can manage any NT computer (NT4 
server/workstation, Win2K (all), WinXP 
(all) ) using the script.  It now also 
displays all of the computers in the 
domain and allows you to choose the one 
you want to maintain.
Email me if 
you want the new version!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/24/2002 12:56:34 PM:Thass
This is what i have been looking for, 
for a long time. But i get the same 
error, as i get when i try to this with 
some other code i found. 
The error is 
:error '80070035' when i try using 
displayservices.asp.
When using 
validate.asp the AUTH_USER variable is 
emty, and validation is 
denied.
Could this be becuse my 
sever is not in a domain, but is a 
standalone webserver ?
Any help will 
be appreciated
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/29/2002 8:59:23 AM:richard davies
I can only get this code to show 
services on the actual webserver - not 
on any other machines in the 
domain...?
I'm pretty sure it's not 
the actual code, because this code also 
only works on the webserver:
<%@ 
Language=VBScript%>
<%
Set adsNS = 
GetObject(
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/18/2002 10:32:16 AM:
If anyone has the new version, can they 
please email it me at 
jpearson@bfwpub.com , the author is not 
responding to emails for it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/14/2002 10:20:54 AM:Eric Ross (*)
This is perfect!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | ASP/ VbScript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.