Hide application from Taskmanager


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 12 of 12

Thread: Hide application from Taskmanager

  1. #1
    Join Date
    Jun 2007
    Posts
    11

    Hide application from Taskmanager

    I'm creating a program for our teachers laptops. This past year, I bet over half of the laptops never made it to school each week. I've got the program where it works and does what I want, gives them a message every five minutes nagging them to return the laptop to the school and login, but now I'd like to make it where they cannot close the program. All the searching I've done, everyone seems to shy away from this question, because it can also be used for trojans, virii, etc. I'll be glad to send you my source and even give you the name of my school district for some help. As long as it doesn't show up under applications, I think I'll be ok. Also, where can I go to change the name that shows up under processes?

  2. #2
    Join Date
    Dec 2003
    Location
    San Diego
    Posts
    202
    It seems the easier and more trustworthy route would be to disable access to the the Task Mgr through group policy.

    1. Go to Start > Run... and type in gpedit.msc
    2. Navigate to User Configuration > Administrative Templates > System > Ctrl+Alt+Delete Options > Remove Task Manager
    3. Double-click the Remove Task Mgr option
    4. Set the policy to Enabled


    Good luck,
    Last edited by msanchez; 06-29-2007 at 10:43 AM.
    Michael Sanchez
    Managing Technical Editor
    Forum Moderator
    FreeVBCode.com

  3. #3
    Join Date
    Mar 2005
    Location
    Los Angeles, Calif. AKA: Gangsta Yoda™
    Posts
    455
    You can not change the name of a running process. Also, there are more proper ways to work around that. The suggested GPO is the best way to do this.

    Other things like creating a log file showing the starting and ending date/time of the app runs or write out to the log when the app is closed by the terminate processes button in the task manager etc. can help determine if they are getting around your app and closing it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer code questions via PMs.
    Microsoft MVP 2006-2009
    Office Development FAQ (VBA, VB6, VB.NET, C#)
    Software Engineer MCP (VB6 & .NET)
    Reps & Rating PostsVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address List

  4. #4
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,262
    Found these links on pscode.com
    Advanced Hide-From-Task-Manager Includes Hiding From Process List
    http://www.pscode.com/vb/scripts/Sho...56383&lngWId=1

    A - Hide and Show your application from Task Manager in Windows 98, Me, 2000, XP (CTRL+ALT+DELETE)
    http://www.pscode.com/vb/scripts/Sho...44293&lngWId=1

  5. #5
    Join Date
    Oct 2005
    Location
    Staffordshire, England
    Posts
    101
    Just compile your exe to Services.exe, you can't End Task that.
    I've been programming with VB for 15 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

    Martin2k

  6. #6
    Join Date
    Jun 2007
    Posts
    11
    I should have mentioned I'm using VB Express Edition 2005. I tried the two posts, both seem to be for VB6 and before. Thanks for all your help guys.

  7. #7
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,262
    That's because this forum is for vb6 and older. You want the .Net forum.

  8. #8
    Join Date
    Mar 2005
    Location
    Los Angeles, Calif. AKA: Gangsta Yoda™
    Posts
    455
    Thread Moved

    Im not all that comfortable with the topic for this thread as it can easily be used for malicious intent.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer code questions via PMs.
    Microsoft MVP 2006-2009
    Office Development FAQ (VBA, VB6, VB.NET, C#)
    Software Engineer MCP (VB6 & .NET)
    Reps & Rating PostsVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address List

  9. #9
    Join Date
    Jun 2007
    Posts
    11
    If anyone would be more comfortable emailing me the details, email me at

    "myusernamehere"@gmail.com

  10. #10
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,262
    You should never post your e-mail address To a public forum. Everyone in the world can now spam you! Private messages are used for this kind of info! I suggest that you edit/remove this post asap!

  11. #11
    Join Date
    Jun 2007
    Posts
    11
    that's why I used "myusernamehere" instead of the actual user. Just checked and that is an actual user name, or at least it's not available.

  12. #12
    Join Date
    Mar 2005
    Location
    Los Angeles, Calif. AKA: Gangsta Yoda™
    Posts
    455
    If you have it enabled, members can contact you via your profile's email feature. No spam at all.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer code questions via PMs.
    Microsoft MVP 2006-2009
    Office Development FAQ (VBA, VB6, VB.NET, C#)
    Software Engineer MCP (VB6 & .NET)
    Reps & Rating PostsVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address List

Similar Threads

  1. Wrap or 'host' an application within another?
    By diddydustin in forum .NET
    Replies: 0
    Last Post: 11-08-2006, 10:37 AM
  2. How to Execute VB Application ?
    By Ravi in forum VB Classic
    Replies: 8
    Last Post: 05-11-2001, 04:26 AM
  3. Capturing mouse clicks outside VB Application
    By Sunil in forum VB Classic
    Replies: 0
    Last Post: 07-28-2000, 08:43 PM
  4. Capturing mouse clicks outside VB Application
    By Sunil in forum VB Classic
    Replies: 0
    Last Post: 07-28-2000, 08:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center