Remote Shutdown/Restart/Lock Administration?
Jul 25, 2008
I work for a school system and I have teachers that run computer labs. I am trying to get an application that will allow them to do the following remotely:ShutdownRebootLockLog OffLog InI am not a good coder and I know what I have is not efficient and probably not what I need. I have found the following code that will Shutdown, Reboot, and Lock a remote
View 3 Replies
ADVERTISEMENT
Jun 11, 2010
I am making a program that takes a time input from the user or a countdown amount and when that time comes it will shutdown or restart or log off the computer. I know how to make the timing code and everything else but i don't know how to shutdown or restart or log off.
View 1 Replies
Dec 24, 2009
I'm trying to create a way for the User of my application to Log Off, Shutdown, or Restart the PC.
The idea is that User can more quickly access these options from my application and if they choose, force these actions instead of waiting for the OS to respond.
Here's how I'm trying to do it:
CODE:
Log Off works just fine. It's shutdown and restart that doesn't work. From the research that I've done, the Consts seem fine and the function obviously works correctly because Log Off works. I am running the application as an administrator, so that should affect it.
View 5 Replies
Oct 13, 2009
How can i do this for pocketpc? I have tried this but didn't work since its made for windows not for windows mobile. Can anyone help me? Please.Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags as Long, ByVal wReserved as Long) as Long
Private Const EWX_FORCE = 4 'Force any applications to quit instead of prompting the user to close them.Private Const EWX_POWEROFF = 8 'Shut down the system and, if possible, turn the computer off.Private Const EWX_LOGOFF = 0 'Log off the networkPrivate Const EWX_REBOOT = 2 'Perform a full reboot of the systemPrivate Const EWX_SHUTDOWN = 1 'Shut down the system
[code]....
View 1 Replies
Feb 4, 2011
In my client-server app, I wish to add a facility to control the client systems from the server.I mean, I would like to know how to add a facility to shutdown or restart particular client machines using my app., which will be all in a LAN connection.
View 5 Replies
Jun 9, 2010
I want to detect when employees in our company are shutting down or restarting their computers. Is there a Windows API Call that will do that which I can hook onto? I found WindowsExitEX but it actually restarts the computer!
View 2 Replies
Dec 25, 2007
What i wish to find is a message or the like that I can use to detect between specific 'shutdown' like events, ie: I wish to be able to find the difference between a shutdown, restart, logoff and sleep initiation.
The problem i have found (as displayed below) is using oClosingEvent.CloseReason the return types provide no further information other then the WindowsShutDown constant (the others are obviously irrelevant in this case).
Private Sub frmMain_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Dim oClosingEvent As System.Windows.Forms.FormClosingEventArgs
[Code]....
View 9 Replies
Jan 16, 2009
i am looking for a command to shutdown/restart my computer when i press a button. can anyone tell me the code?
View 25 Replies
May 10, 2011
This is what i have so far, but i just wanted to how to execute this on a remote pc.[code]
View 5 Replies
Oct 14, 2010
How to remote shutdown a PC in a network using vb .net?
View 5 Replies
Mar 2, 2010
I ve to shut down the remote system of a network.. so i need the full vb.net source code to make it possible ..
View 2 Replies
May 8, 2009
Is there any way to turn off a remote pc that's not by using shutdown /s /m \computer name etc...I just want to turn off the server computer at night from my laptop. Is it possible to make the program check for pings and then shutdown? Or is there an easier way? (Maybe if I'm not on the local network send over a "signal"(?) to the pc so that it'll shut down..?)
View 6 Replies
May 27, 2008
I was just wondering if there was a way to shutdown different computers that were on your network through writing a custom vb application.If so, what do I need to look into, such as certain objects and such.
View 26 Replies
May 21, 2010
I am making a remote shutdown program. Here is the code for the local program that will be checking to see if there is a shutdown:
Imports System.Net
Public Class Form1
Public WithEvents Downlad_Message As WebClient[code]....
View 8 Replies
Aug 3, 2010
The following steps give a Guest shutdown policy.
1- Click run, and type the gpedit.msc, to start "Local Group Policy Editor".
2 -Expand "Computer Configuration" -> "Windows Settings" -> "Security Settings" -> "Local Policies" -> Then click "User Rights Assignment".
3- In the Policy window, Select "Force shutdown from a remote system", double click it, it will pop a properties window.
4- Click "Add user or group button", add a user and name it Guest.
I need to know if it's possible to manipulate and add the user or group programmatically. I'm using Visual Basic 2008.
View 1 Replies
Mar 8, 2010
can anybody told me how to lock remote computer using Vb.Net2005
View 3 Replies
Dec 7, 2010
Update to my Question the best way to achieve acceptable security is to use ASP.NET Web Site Administration Tool the following is only a demo to use session but it is NOT RECOMMENDED for professional use. follow the advice of PhillFox to achieve better results
[Code]...
View 2 Replies
May 18, 2010
I build some dlls to be used in a big application, and have a team working in the dlls heart of the application and another team working in the GUI, but I am having a problems in the deployment of the dll's when a change is done, because the GUI team needs or copy the new dll to the project folder, or delete the old reference and add the new one. I am using Visual Studio 2008 and developing in VB and C#
View 1 Replies
Jun 2, 2009
i have created a project in asp.net.now i want to implement asp.net administration tool in my project for user management.The tool works fine in a website ,but in a project it does not work.
[Code]...
View 1 Replies
May 17, 2012
Administrator Console I am Making a Noob-Proof GUI Administration Control Panel,and I Have,Log Off User Shutdown (With User Selected Amount Of Time)Quick Shutdown (Shell ("shutdown -s -t 00") )Reboot Computer and I Need the following:
-Disable TaskManager
-Disable Command Prompt
-Disable internet
-Disable My Computer
-Disable Regedit
View 2 Replies
Jan 20, 2010
Rather than use an Entry name of an existing VPN connection, is it possible to connect to a remote network by creating a temporary connection on the fly by using the remote IP/Host name, username and password?
View 6 Replies
Aug 5, 2010
I want to do a small application that made the broadcast of images from a PC. The idea is to make an application of remote management but without the management part, only with the viewing of images. Anyone know any code already done or any API that helps in the project?
View 8 Replies
Mar 27, 2010
How can i restart the a frm?
View 4 Replies
Aug 1, 2009
How to block shutdown using vb.net?
View 1 Replies
Sep 13, 2010
Shutting down a pc in vb.net is easy:Process.Start("shutdown", "-s -t 00")less the user has locked the pc in which case the above fails.How do I get around this in vb.net? How do I shutdown a locked PC?
View 5 Replies
Jun 11, 2011
I'm currently writing a small system tray app that needs to shutdown my PC at a certain time. That bit's easy:Process.Start("shutdown", "-s -t 00")But how do I do this when my PC is locked? The above doesn't work and I don't want to leave my PC unlocked and unattended
View 1 Replies
Jun 8, 2009
If I had a command button and I wanted it to shutdown or restart there computer when they want to.can I just use a simple shell command?
View 2 Replies
Mar 12, 2009
I'm new to VB.NET and trying to write a program that prompts the user for a server name and then restarts the IIS on that machine. [code]
View 1 Replies
Feb 14, 2011
My applicaiton has several forms with textboxes. I need to make Save settings button and Load settings button. I have module that stores a lot of variables. Saving these variables was easy. Now i want to load these settings. In each form_load event is written code, which fill textboxes with variables from module file, also some forms create databases which are defined in module file..
View 2 Replies
Feb 11, 2012
Is there any code I can put in my VB.NET application that restarts someone computer when it runs? No external EXEs or DLLs.
View 3 Replies