tweaks-for-windows/README.md

41 lines
1.5 KiB
Markdown
Raw Normal View History

2021-11-27 13:24:11 +03:00
# Tweaks for Windows
Tools for managing Windows setting
2021-11-27 12:52:49 +03:00
2021-11-27 13:24:11 +03:00
* [`hvswitch`.cmd](https://git.hmp.today/pavel.muhortov/tweaks-for-windows#hvswitch-cmd)
2022-12-12 16:14:57 +03:00
* [`rdpusers`.cmd](https://git.hmp.today/pavel.muhortov/tweaks-for-windows#rdpusers-cmd)
2021-11-27 12:52:49 +03:00
____
2021-11-27 13:24:11 +03:00
## `hvswitch`.cmd
**Description:** Microsoft Hyper-V switch on/off
2021-11-27 12:52:49 +03:00
**Dependencies:** Windows (tested version 10.0.19043)
| POSITION | PARAMETERS | DESCRIPTION | DEFAULT |
|-----------|--------------|------------------------|---------------|
2021-11-27 13:24:11 +03:00
| 1 | **[qn]** |execution without pauses| `None` |
| 2 | **[y]** |enable Hyper-V, if it off| `None` |
| 2 | **[n]** |disable Hyper-V, if it on| `None` |
2021-11-27 12:52:49 +03:00
Example usage in terminal:
```cmd
2021-11-27 13:24:11 +03:00
.\hvswitch.cmd qn y
2021-11-27 12:52:49 +03:00
```
____
2022-12-12 16:14:57 +03:00
## `rdpusers`.cmd
**Description:** RDS Shadow Connection
2022-12-12 16:17:11 +03:00
**Dependencies:** permission on target hostname (*gpedit.msc -> Computer Configuration -> Policies -> Administrative Templates -> Windows components -> Remote Desktop Services -> Remote Session Host -> Connections -> Set rules for remote control of Remote Desktop Services user sessions: Full Control without users's permission*)
2022-12-12 16:14:57 +03:00
| POSITION | PARAMETERS | DESCRIPTION | DEFAULT |
|-----------|--------------|------------------------|---------------|
| 1 | **<host>** |hostname or address with sessions for connect| `None` |
Example usage in terminal:
```cmd
.\rdpusers.cmd ts.domain.local
```
____