Can machines be "shutdown guest OS" without having VMware Tools installed using Powershell? [closed] - virtual-machine

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
Improve this question
I need to shut down "Guest OS" of machines in powershell.
I dont have VMware Tools installed on the guest to use Shutdown-VMGuest.
My question is can this be done without installing VMWare tools on the guest. Is this even a possible ?
If NOT: Are there any other commands (like soft power operation, but i dont really understand this) OR any other ways to do this ?
If NOT: Is there any equivalent of "Shutdown guest OS" that can be done in powershell ?
It does look like i am posting 3 questions, but i want to just be able to shutdown guest os of vms bypassing installing VMWare tools using powershell.
PS: I am new to this, please be kind if this seems like a stupid question :)

The shutdown guest OS is a vmware tools option, and the benefit is that it is OS independent, as long as the vmware tools are installed it works.
PowerShell has the stop-computer command: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/stop-computer?view=powershell-7
You could use the -computername option for a remote machine.
-ComputerName
Specifies the computers to stop. The default is the local computer.
Type the NETBIOS name, IP address, or fully qualified domain name of one or more computers in a comma-separated list. To specify the local computer, type the computer name or localhost.
This parameter doesn't rely on PowerShell remoting. You can use the ComputerName parameter even if your computer isn't configured to run remote commands.
PS. I'm assuming a WIndows Based OS here, correct?

VMware player may have the option for shutdown/restart guest OS even no VMTools is installed in the guest? (to be confirmed though)

Related

Why does virtualbox interface need admin permission so many times? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have been using VirtualBox for 4 years now. I run it as a non-admin user and it worked fine. No admin permissions were required to run or boot up any VM.
Recently I installed the GenyMotion Android emulator on my host machine. It uses Virtualbox to create and run VMs. This genymotion needs admin permissions when I run the genymotion device manager. They say it is because it needs to create and/or access the VirtualBox interfaces (network interfaces). So every time I have to start genymotion, the admin permission (on Windows) pops up, and I have to enter the admin password. This keeps happening like 10-15 times (sometimes even more). What it does is that it creates multiple VirtualBox host-only ethernet adapters with these permissions (one for each adapter). It is really annoying to enter the password so many times. So instead, what I do is that I run Genymotion as administrator. So the admin permissions that were required for VirtualBox Interface are automatically granted.
The problem is that, now whenever I want to run a VM from VirtualBox manager, the same permissions pop up asking for admin privileges for the VirtualBox interface.
How can I get rid of these multiple admin permission pop-ups? I don't run VirtualBox as an admin and I don't want to.
This should not happen: permissions should only be asked the first time Genymotion is run, not always. And yes, it is required, mostly beacause MS have reinforced security with Win10. Basically, all that Genymotion does is calling vboxmanage command line tool from VirtualBox to perform several tasks at startup:
ask the list of installed devices
verify that there is at least one existing host-only interface and it is available (and create one if necessary)
Unfortunately, each time vboxmanage is called, it requires admin rights from Windows and you get an UAC. If this happens all the time, it probably means that your Windows security settings are too tight: with default settings, the UAC only pops-up the first time you run Genymotion.
One final word: VirtualBox + Win10 = real pain in the a**. I use Ubuntu whenever I want to use VirtualBox or Genymotion and it works "out of the box"; no hassle, no annoying UACs nor mysterious VirtualBox errors :-)

What password should I enter for SSH? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying to learn how to use SSH and it's kinda hard for me. I installed PuTTY (windows 7 32-bit). It asked for my IP so I searched 'What is my ip' and pasted it in. Then in the 'command prompt style box' I entered my username 'dell'. Now it's asking for password. I'm really confused because my laptop has no password and there's no password I know of. Can you guys help?
Entering nothing doesn't work:
Putty is just a command line interface, that will allow you to run commands like ssh.
However, if you want to SSH into your machine you have to install an SSH server on your machine.
There are multiple solution on the web:
https://www.howtogeek.com/howto/41560/how-to-get-ssh-command-line-access-to-windows-7-using-cygwin/
122.162.179.255 is likely the IP address of your network router / ADSL modem / etc and not your Windows PC (which won't have an SSH server installed by default).
There really is very little to learn about SSH itself, at least for basic day to day use.
If you want to learn how to use a UNIX-style command prompt then consider installing WSL or setting up a Linux installation on a separate computer (maybe a Raspberry Pi).

Accessing Samba share through Raspberry Pi SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a raspberry Pi at home that I can access over the internet using SSH (using only key authentication), which is behind a TP-Link router. This router has a hard drive attached to it, which I can access as a samba share locally using the router's IP address.
I would like to access this hard drive when I'm away from home, but I don't want to expose my samba share to the internet (needless to say why). Is there a way I can access it securely through my Raspberry Pi's SSH server ?
I am not 100% sure, if this is what you want. But what you can do:
Mount your router drive via samba to your RPi's mount point.
Access your PRi via sshfs.
http://en.wikipedia.org/wiki/SSHFS
Works for me like a charm. I found that using sshfs is much easier than nfs or samba under Linux. This solution definitely works when you access your RPi under Linux. Windows -> RPi, or Mac -> RPi.... perhaps, I don't know. I think there are sshfs solutions, but I don't know how stable or usable they are.

Time Machine over Samba [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Currently running osx 10.8.2
Have an external network drive attached to my rt-n66u router running tomato
I'm trying to use tmutil to connect my external network drive, and am having a lot of trouble.
I mount the drives in Finder
Run sudo tmutil setdestination /Volumes/external, and get Incompatible file system type: smbfs (error 45)
Any ideas? :(
I can't answer your question specifically aside from telling you that timemachine backups on samba shares are not supported officially. As a consequence, even if you will be able to backup your data on a samba share (as far as I know lots of people have issues to do so), you will run into trouble during a restore procedure. If you would try to restore your data by booting an OS X livecd you couldn't because it doesn't have a samba client installed in order to connect to a samba share. The next step would be to try to connect the backup drive directly to your Mac to access your data. Chances are this would also fail because the harddrive was formatted with a linux filesystem which is not supported by OS X.
So the best thing you could do is to install netatalk (afpd) on that router box if it is possible at all.

How can I find a locked MAC address? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have 40 computers in my lab and I have locked each computer with MAC address so people won't be able to unplug the network cable and connect it to their laptops.
I was wondering, if a laptop is connected via one of those cables, can he do some actions and discover the locked MAC.
I know I can find the locked MAC by running ipconfig /all on the computer in the lab. but if it's locked by a password I can't.
I am searching for the commands that I can run on the laptop (while pluged via the network cable) that will give me the MAC address of the computer's lab (The locked address).
(BTW, I'm running windows 7)
Thank you very much!
Amihay
If the laptop is running Linux:
sudo tshark -n arp
should net a few valid MAC addresses.
Not sure if it'll help because its windows,
From a windows Shell
net view
nbtstat -a COMPUTER-NAME