2025-06-17

Manage Non-Domain Server from domain Client

# Manage Non-Domain Server from domain Client

RSAT -  Remote Server Administration Tools

Sample Names used below:
- Non-domain fully qualified server name: `MyServerName.Local`
- Local admin user for login: `\\MyServerName.Local\Administrator`
 

1. Install or Add RSAT to the Client PC running Pro versions Windows 10 / 11. 
  - Download Link for older version and install instructions: https://www.microsoft.com/en-us/download/details.aspx?id=45520. 
  - Please pay attention to the Installation Section as no download is necessary for versions after Windows 10 October 2018 Update. 
  - List of RSAT tools available via Features on Demand:  https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-non-language-fod#remote-server-administration-tools-rsat 
  - List of RSAT dependencies: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/features-on-demand-non-language-fod#remote-server-administration-tools-rsat 
  - New versions of windows can `Add an Optional Feature`, click `+`, choose RSAT features like `Server Manager`, etc.
  - Other Management tools can be installed via `Turn Windows Features On or Off`. For example, `Hyper-V Management Tools`. 

2. Open `Server Manager` on client PC using Domain Admin Credentials (if you need to add domain servers for management).

3. Dashboard|Add Other Servers to Manage 

4. For non AD servers, use DNS Tab to add server by name or IP.

5. Once server added, it should appear in the list of All Servers. If errors are shown next to added servers, please, right-click on Server and choose `Manage As ...` and use `MyServerName.Local\Administrator` to login. !!!*Please note that in some cases username `Administrator` is not optional*!!!

6. If after right clicking and refreshing server it still shows Errors like `Kerberos authentication error` or `Online - Access denied`, open PowerShell as administrative user and add non-domain servers to Trusted Hosts via:
```powershell
Set-Item WSMan:\localhost\Client\TrustedHosts "MyServerName.Local" -Concatenate -Force
``` 

7. Check if server was added to trusted list:
```powershell
Get-Item WSMan:\localhost\Client\TrustedHosts
``` 

8. Allow Remote access on Public Zones (in case you client is on DC and the server is not). Enables firewall rules for CredSSP and WinRM:
```powershell
Enable-WSManCredSSP -Role server
``` 


_More info at:_

- Add Servers to Server Manager | Microsoft Learn
- Enable PowerShell Remoting on a standalone (workgroup) computer – 4sysops
- Remotely manage Hyper-V hosts | Microsoft Learn 



2024-12-09

Word for Windows with Merge Fields and problem during Print Preview

Word for Windows with Merge Fields and problem during Print Preview

ISSUE:

Document merges normally and shows all the fields. When CTRL-P is pressed for Print Preview, the footer fields are shown as Merge Fields (not replaced).


FIX: 

  • Edit Word Template
  • Select all footer fields
  • Press CTRL-F11 to lock them

 

This seems to be fixing the issue.

 

Word Shortcuts 



2024-04-12

Vim Useful Command List (wip)

|Command|Description|
|-|-|
|i|insert - insert new text before cursor|
|x|delete current character|
|X|backspace delete previous character|
|i|insert - insert new text before cursor|
|x|delete current character|
|X|backspace delete previous character|
|u|undo|
|Escape|change to command mode|
|o|new line below|
|O|new line above|
|dd|cut current line|
|dw|cut current word|
|p|paste before|
|P|paste after|
|/[search_string]|find [search_string]|
|n|next result|
|N|previous result|
|/(|find next opening parentesis|
|%|jump to matching parentesis|
|ci(|change all text inside brackets ()| 
|di(|delete all text inside brackets ()| 
|w|next word|
|Ctrl-D|move down a page (around 15 lines)|
|Ctrl-U|move up a page (around 15 lines)|
|:new [filename]|open a new [filename] to edit (can {tab} to see list)|
|Ctrl-w w|switch down between windows / buffers|
|Ctrl-w W|switch up between windows / buffers|
|Ctrl-w N|Convert terminal into a "normal mode" buffer|
|:ls|list opened buffers / files opened for edit|
|:wa|write all - save all opened files|
|:bd|buffer delete - to close current buffer|
|:term|opens terminal in separate window|
|yw|yank / copy word|
|yy|yank / copy line|

2024-02-02

Create Application specific password for Google

Create Application specific password for Google

Starting 2022-05-30 Google is no longer supporting less secure apps.

Please use below steps to turn on App password for your google account.

 

 

 

2024-01-20

Stop MS Edge from running in background when Edge is closed

Stop MS Edge from running in background when Edge is closed

  1. In MS Edge Navigate to: edge://settings/?search=startup
  2. Uncheck "Startup boost"
  3. Uncheck "Continue running background extensions and apps when Microsoft Edge is closed"

 

2023-07-06

Linux Command Prompt

Sample


[2023-07-06][20:14:06] [myusername@mypcname:~]
$


Code

Can be placed in .bashrc, .bash_profile, ... (depending your your shell)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
##### modify standard command prompt
# \n = new line;
# \u = current username;
# \w = current working dir (home = ~)
##### Colors
# Black       0;30     Dark Gray     1;30
# Blue        0;34     Light Blue    1;34
# Green       0;32     Light Green   1;32
# Cyan        0;36     Light Cyan    1;36
# Red         0;31     Light Red     1;31
# Purple      0;35     Light Purple  1;35
# Brown       0;33     Yellow        1;33
# Light Gray  0;37     White         1;37
 
export PS1="\[\033[0;33m\][\D{%Y-%m-%d}][\t]\[\033[0;36m\] [\u\[\033[0;37m\]@\[\033[0;36m\]\h:\[\033[0;32m\]\w]\[\033[0m\] \n$ "