Archived from groups: microsoft.public.windowsxp.general (More info?)
I need to stop a service from a user account. I do not want to switch to an
admin account. I know my admin account name and password. What command can
I issue to stop a service from a user account?
In news:14CdnR1ZBZcUH0ffRVn-2A@comcast.com,
Chas <noemail@noemail.com> hunted and pecked:
> I need to stop a service from a user account. I do not want to switch to
> an admin account. I know my admin account name and password. What
> command can I issue to stop a service from a user account?
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Chas" wrote:
|I need to stop a service from a user account. I do not want to switch to
an
| admin account. I know my admin account name and password. What command
can
| I issue to stop a service from a user account?
|
|
Archived from groups: microsoft.public.windowsxp.general (More info?)
Chas wrote:
> I need to stop a service from a user account. I do not want
> to switch to an admin account. I know my admin account name
> and password. What command can I issue to stop a service
> from a user account?
Hi,
Archived from groups: microsoft.public.windowsxp.general (More info?)
The user cannot stop the service. I do not want to give the user account
access to stopping the service. I need a script that will stop the service,
having admin privilege while logged as a user.
"Wesley Vogel" <123WVogel955@comcast.net> wrote in message
newsnuPe%23uiFHA.3692@TK2MSFTNGP09.phx.gbl...
> Open Services.
> Start | Run | Type: services.msc | Click OK |
> Double click the service | Click the Stop button
>
> net stop
> http://www.microsoft.com/resources [...] _stop.mspx >
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:14CdnR1ZBZcUH0ffRVn-2A@comcast.com,
> Chas <noemail@noemail.com> hunted and pecked:
>> I need to stop a service from a user account. I do not want to switch to
>> an admin account. I know my admin account name and password. What
>> command can I issue to stop a service from a user account?
>
Archived from groups: microsoft.public.windowsxp.general (More info?)
The user cannot stop the service. I do not want to grant the user account
access to stopping the service. I need a script that will stop the service,
having admin privilege while logged as a user.
Somehow, can't a command window be opened, issue an admin "command",
stop/start a service, then return as the user? All in a script.
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
newsFTtKFviFHA.1480@TK2MSFTNGP10.phx.gbl...
> Chas wrote:
>
>> I need to stop a service from a user account. I do not want
>> to switch to an admin account. I know my admin account name
>> and password. What command can I issue to stop a service
>> from a user account?
> Hi,
>
> Relevant for Windows XP/Win2k3 Server also:
>
> HOW TO: Grant Users Rights to Manage Services in Windows 2000
> http://support.microsoft.com/?kbid=288129 >
>
> For method 3 in the article above:
>
> A new, bug-fixed version of SubInACL.exe is available for download here
> (Win2k/WinXP/Win2k3):
>
> http://www.microsoft.com/downloads [...] 6985e3927b >
> SETACL (freeware) at http://setacl.sourceforge.net/ can also set
> permissions
> on local or remote Win32 services.
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/s [...] fault.mspx
Archived from groups: microsoft.public.windowsxp.general (More info?)
The user cannot stop the service. I do not want to grant the user account
access to stopping the service. I need a script that will stop the service,
having admin privilege while logged as a user.
Somehow, can't a command window be opened, issue an admin "command",
stop/start a service, then return as the user? All in a script. This would
be portable or accessed from a secured area. I don't have a problem placing
the password in the script, because the script would be secured.
"Dave Patrick" <mail@Nospam.DSPatrick.com> wrote in message
news48gk$uiFHA.320@TK2MSFTNGP09.phx.gbl...
> These may help.
>
> http://support.microsoft.com/defau [...] -us;288129 > http://www.microsoft.com/downloads [...] laylang=en >
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect >
> "Chas" wrote:
> |I need to stop a service from a user account. I do not want to switch to
> an
> | admin account. I know my admin account name and password. What command
> can
> | I issue to stop a service from a user account?
> |
> |
>
>
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Charlie" wrote:
| The user cannot stop the service. I do not want to grant the user account
| access to stopping the service. I need a script that will stop the
service,
| having admin privilege while logged as a user.
|
| Somehow, can't a command window be opened, issue an admin "command",
| stop/start a service, then return as the user? All in a script. This
would
| be portable or accessed from a secured area. I don't have a problem
placing
| the password in the script, because the script would be secured.
Archived from groups: microsoft.public.windowsxp.general (More info?)
Charlie wrote:
> The user cannot stop the service. I do not want to grant the user account
> access to stopping the service. I need a script that will stop the service,
> having admin privilege while logged as a user.
>
> Somehow, can't a command window be opened, issue an admin "command",
> stop/start a service, then return as the user? All in a script.
>
Hi,
Different RunAs products listed here, some free and some not, some
with encryption option for the password as well:
You may also want to check out PolicyMaker Application Security
(previously NeoExec), the main difference is that it does not require
the use of a second account, as most other RunAs derivatives requires.
Archived from groups: microsoft.public.windowsxp.general (More info?)
This looks like what I need. I can put the runas command with a net stop in
a command file. How can I include a password without it prompting?
"Dave Patrick" <mail@Nospam.DSPatrick.com> wrote in message
news:ufukylviFHA.2852@TK2MSFTNGP15.phx.gbl...
> http://www.microsoft.com/resources [...] runas.mspx >
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect >
> "Charlie" wrote:
> | The user cannot stop the service. I do not want to grant the user
> account
> | access to stopping the service. I need a script that will stop the
> service,
> | having admin privilege while logged as a user.
> |
> | Somehow, can't a command window be opened, issue an admin "command",
> | stop/start a service, then return as the user? All in a script. This
> would
> | be portable or accessed from a secured area. I don't have a problem
> placing
> | the password in the script, because the script would be secured.
>
>
Archived from groups: microsoft.public.windowsxp.general (More info?)
thanks
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:e5OHHxviFHA.3216@TK2MSFTNGP10.phx.gbl...
> Charlie wrote:
>
>> The user cannot stop the service. I do not want to grant the user
>> account access to stopping the service. I need a script that will stop
>> the service, having admin privilege while logged as a user.
>>
>> Somehow, can't a command window be opened, issue an admin "command",
>> stop/start a service, then return as the user? All in a script.
>>
> Hi,
>
> Different RunAs products listed here, some free and some not, some
> with encryption option for the password as well:
>
> http://groups.google.co.uk/groups? [...] 0hydro.com >
> Other ones not mentioned in the link above:
>
> SUperior SU (free, has a command line iterface)
> http://www.stefan-kuhr.de/supsu/main.php3 >
> LSrunas/LSrunasE (the latter with password encryption)
> http://www.linkselection.com/lsrunas.asp >
> You may also want to check out PolicyMaker Application Security
> (previously NeoExec), the main difference is that it does not require
> the use of a second account, as most other RunAs derivatives requires.
>
> PolicyMaker Application Security
> http://www.desktopstandard.com/Pol [...] urity.aspx >
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/s [...] fault.mspx
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Charlie" wrote:
| This looks like what I need. I can put the runas command with a net stop
in
| a command file. How can I include a password without it prompting?
Archived from groups: microsoft.public.windowsxp.general (More info?)
thanks
"Dave Patrick" <mail@Nospam.DSPatrick.com> wrote in message
news:uAoCe9viFHA.2484@TK2MSFTNGP15.phx.gbl...
> Some ideas here.
>
> http://blogs.msdn.com/oldnewthing/ [...] 71551.aspx >
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect >
> "Charlie" wrote:
> | This looks like what I need. I can put the runas command with a net
> stop
> in
> | a command file. How can I include a password without it prompting?
>
>
Archived from groups: microsoft.public.windowsxp.general (More info?)
You're welcome.
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Chas" <noemail@noemail.com> wrote in message
news:14CdnR1ZBZcUH0ffRVn-2A@comcast.com...
>I need to stop a service from a user account. I do not want to switch to
>an admin account. I know my admin account name and password. What command
>can I issue to stop a service from a user account?
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.