Page 1 of 2 12>
Topic Options
#154693 - 2006-01-07 02:54 AM How to breakable keybord or disable Tasks Management?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
When logon, I don't expect users terminate application by using Tasks Management. How can I do it?

Thanks in advance.

Top
#154694 - 2006-01-07 02:58 AM Re: How to breakable keybord or disable Tasks Management?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
remove "break on" from your script

then if they do break it, they logoff
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#154695 - 2006-01-07 03:05 AM Re: How to breakable keybord or disable Tasks Management?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
IMHO, one should never use break on.
_________________________
!

download KiXnet

Top
#154696 - 2006-01-07 04:20 AM Re: How to breakable keybord or disable Tasks Management?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
I see.But my script will invoke a external executive application, and it will take severial minutes, so users can use TM to terminate the application process, but I expect they wait until the program exit normally. How to?
Top
#154697 - 2006-01-07 04:37 AM Re: How to breakable keybord or disable Tasks Management?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the application should run hidden, and if it's a proper application, it will not hold logon but runs asynchronous.
thus does not harm users but lets them get working.
_________________________
!

download KiXnet

Top
#154698 - 2006-01-07 06:32 AM Re: How to breakable keybord or disable Tasks Management?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
Actually,we want to make a schedule to run the application on every NT client, but the 'at' command needs the administrator right, it troubles me, and for my short-knowledge, I don't know how to make it run hiddenly.Could you show me some link to study?
Any feedback is appreciated!

Top
#154699 - 2006-01-07 06:50 AM Re: How to breakable keybord or disable Tasks Management?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
every app is different.

If you want specific answers, provide specific details
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#154700 - 2006-01-07 06:55 AM Re: How to breakable keybord or disable Tasks Management?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yep.
_________________________
!

download KiXnet

Top
#154701 - 2006-01-07 08:10 AM Re: How to breakable keybord or disable Tasks Management?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Well disable their rights to run Task Manager.


Use a policy
http://www.microsoft.com/resources/docum...entry/93504.asp
 

Top
#154702 - 2006-01-07 08:33 AM Re: How to breakable keybord or disable Tasks Management?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
Thanks!

But make a schedule for common user, what can I do?

Top
#154703 - 2006-01-07 08:56 AM Re: How to breakable keybord or disable Tasks Management?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
but answering a simple question what program you are trying to execute, could you do?
_________________________
!

download KiXnet

Top
#154704 - 2006-01-07 09:32 AM Re: How to breakable keybord or disable Tasks Management?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
You can remotely deploy a task right from your own workstation if you have Admin rights on the remote system.

A group policy though does not require that.

Do you need help running a remote script?

Basically you can create a task on your workstation and copy it to the remote system. You can also use JT.EXE from Microsoft to schedule tasks.



You could also use the Task Scheduler Administrator from Glenn Barnas (required KiXforms to run)

http://www.innotechcg.com/

http://gw.innotechcg.com:2080/images/tsadm.zip

KiXforms can be downloaded here:
http://www.kixforms.com
 

Top
#154705 - 2006-01-07 02:01 PM Re: How to breakable keybord or disable Tasks Management?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
AT tasks can easily be scheduled remotely. AT tasks run under the LocalSystem account and would run hidden (not interact with the desktop) so the only way the user would know it was running was to look in Task Manager.

Task Scheduler has additional features over AT but has a steeper learning curve. The following example will create AT tasks on the remote computers.
Code:

Break on
Dim $Comp, $Comps
$Comps = 'comp1','comp2','comp3'
For Each $Comp in $Comps
Shell 'AT \\'+$Comp+' 22:45:00 /every:M,T,W,Th,F,S,Su shutdown /l /f /r'
Next

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#154706 - 2006-01-11 04:18 AM Re: How to breakable keybord or disable Tasks Management?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
Thanks all above!

And could I ask another question? How to run notepad.exe hiddenly, I means, users can not seen the process by Tasks managemer.

Top
#154707 - 2006-01-11 06:07 AM Re: How to breakable keybord or disable Tasks Management?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
You can run it with COM but no so sure it would not be seen in TaskManager or not.
Top
#154708 - 2006-01-11 07:18 AM Re: How to breakable keybord or disable Tasks Management?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
one can't hide processes from taskman.
_________________________
!

download KiXnet

Top
#154709 - 2006-01-11 08:39 AM Re: How to breakable keybord or disable Tasks Management?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Oh bet me... How do you think rootkits work


But, more to the point what I meant was that you might be able to run the COM call and it may not show the application that it's running. Have not tested though.
 

Top
#154710 - 2006-01-11 09:30 AM Re: How to breakable keybord or disable Tasks Management?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
afaik, all the processes that are ran are always shown.
think one could somehow plug a exe to dll so it would seem that some services.exe is actually running it...
but have no idea what measures need to be taken to hide a program execution like that.
and in that case, it wouldn't no longer be that process being executed, per se.
_________________________
!

download KiXnet

Top
#154711 - 2006-01-17 02:06 AM Re: How to breakable keybord or disable Tasks Management?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
OK!
If server distributes a schedule task for remote clients, the users can not kill the task process. Now my question is that, if I want to collect all clients in my network for scheduling a task, could you tell me what I can do?

Top
#154712 - 2006-01-17 02:07 AM Re: How to breakable keybord or disable Tasks Management?
kingfisher Offline
Fresh Scripter

Registered: 2005-12-28
Posts: 28
OK!
If server distributes a schedule task for remote clients, the users can not kill the task process. Now my question is that, if I want to collect all clients in my network for scheduling a task, could you tell me how to do this?

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1283 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.074 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org