# Quick Commands

These quick commands are executed directly on the Proxmox hosts. It is advisable to connect via SSH here, as sometimes the processes for the Web GUI are switched off.

### Reset MFA for local User

This command can be used to delete the MFA method of a local user. The correct user name must be specified for this. Here in the example it is "root@pam".

```bash
pveum user tfa delete root@pam
```

### Remove Node from Cluster

ATTENTION: This removes the host from a cluster (or deletes the cluster) and also deletes all configurations and links of the other nodes. This is necessary so that the hosts do not want to connect any legacy nodes afterwards

```
systemctl stop pve-cluster corosync
```

```
pmxcfs -l
```

```
rm -rf /etc/corosync/*
```

```
rm /etc/pve/corosync.conf
```

```
killall pmxcfs
```

```
systemctl start pve-cluster
```

```bash
rm -rf /etc/pve/nodes/
```

### Manage Virtual Machines

```bash
qm unlock <vmid>
```

```
qm start <vmid>
```