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..?)
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.
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
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.
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.
I was woundering if there is anyway via VB.net to have only two option on vista's shutdown menu. I only need "Logoff" and "Hibernate". just woundering if there was anyway possible to have these two options.
I have an application that starts from Sub Main and I need to run a sub when the system is about to shut down, restart or logoff so it can save it's settings. I found some code on google:
Imports Microsoft.Win32 Public Sub Main AddHandler SystemEvents.SessionEnding, AddressOf OnShuttingdown
[Code]....
But it doesn't seem to work, Windows shuts down yes but when I re-start the vm and run the app it opens with the old settings, not the ones that I changed before I shut down the vm. Anyone know of a way to do this or to fix the code above, I don't think my OnShuttingdown event is being handled.
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?
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?
I set up some application settings for checkboxes on an app and then decided to remove them. When I set the Application Settings to (none) in the designer and restarted the app, the checkbox constantly checks and unchecks itself. I completely remade the app and removed the file that is used to store my.settings in the Local folder of the user's appdata profile. I also made sure to uncheck the "save my.settings" on shutdown.
Myself Sandeep Francis I am working with a project tat can monitor the remote pc without knowing the user who uses that pc, the project module goes as below
the below code starts the correct process but the windows form never displays on the remote machine. How do I get the application to actually load.
Private Sub RunRemoteProcess() Dim sCmd As String = "C:Program FilesInternet ExplorerIEXPLORE.EXE " & txtData.Text.Trim ' add a reference to System.Management in Solution Explorer
Does someone know what api funtion to use for getting remote host name right now i use System.Net.Dns.GetHostName and the nbtstat -a function, but still have some computers that i dont get their host name but i do get their mac with send arp...so how cna i get their host names with an API call..
This is my code for dns.hostname ..
vb.net Dim myIPs3 As System.Net.IPHostEntry = Dns.GetHostEntry(hello) Dim newhost3 As String = myIPs3.HostName
I've been messing around with my Sql Server all day and i still cant get a remote computer to connect to it. I've looked at various resources but really, i don't know where to properly look.
I've configured my Sql Server Express 2005 from the Sql Server Configuration Manger: - Started Server Browser - Enabled TCP/IP - Changed my Sql Server Properties to Network Service
Then for my connection string in Visual Studio using VB.NET is:
I'm working on a project. I've gotten all the kinks out of my Client/Server tcp chat. But I need to find a way around this problem.
In my chat room, you can have other users view your desktop remotely. But I'm having a problem with this.Does anyone know how I would get a screenshot or possibly video of the desktop and write it to my stream? I can convert it to a string already. and my old method used screenshots written to the disk. I would like to avoid touching the hard drive if possible, so that means extracting the screenshot/video from memory.
I have an application which I would like to access from another computer.So I thought of making a client which my application(server) would send commands to and then the client runs the command.
I am wanting to make or have someone help me make a remote support system. I would like it to have a ticket system interegated into it, but if it would be easier to just have the remote support, then I'll just stick with that. I am wanting for my client's to download the client version and then connect to it. Then they give me their IP or some code that I type in and connect and control their computer. I give technical support.
How can I use visual studio to login to a remote website?I've been trying using the WebBrowser control but I can't figure out how to actually change the values of form fields.
I have a vb.net app that is installed on server 2008 and registered as a remote app with approximately 70 users accessing it. There is an issue that when I put a new version of the app on the server, every user must remote desktop in and run setup.exe before the app will update to the newest version. If they try to run it without doing this step first, the app just runs the previously installed version under their login.
Sub download() Try GetPass() GetUser() GetPath() [CODE]...
Bolded line makes an exception: The remote name could not be resolved: 'unkn' I guess it has to do something with threading, and path doesnt generate correctly username, password, and pth are generated from objects in another form, so i did it like this: Dim newfrm As Form1
And then acces the objects that hold user, pass... like: newfrm.textbox1.text
So, why do i get this exception then if im doing it the right way, and how do i get this to work?