How to change the listening port for Remote Desktop

Start Registry Editor. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\ Right click on the one called PortNumber On the Edit menu, click Modify, and then click Decimal. Type the new port number, and then click OK. Quit Registry Editor. Restart the computer. ...
Read More

Alt Codes

Symbol Code ☺ 1 ☻ 2 ♥ 3 ♦ 4 ♣ 5 ♠ 6 • 7 ◘ 8 ○ 9 ◙ 10 ♂ 11 ♀ 12 ♪ 13 ♫ 14 ☼ 15 ► 16 ◄ 17 ↕ 18 ‼ 19 ¶ 20 § 21 ▬ 22 ↨ 23 ↑ 24 ↓ 25 → 26 ← 27 ∟ 28 ↔ 29 ▲ 30 ▼ 31 space 32 ! 33 " 34 # 35 $ 36 % 37 & 38 ' 39 ( 40 ) 41 * 42 + 43 , 44 - 45 . 46 / 47 0 48 1 49 2 50 3 51 4 52 5 53 6 54 7 55 8 56 9 57 : 58 ; 59 < 60 = 61 > 62 ? 63 @ 64 A 65 B 66 C 67 D 68 E 69 F 70 G 71 H 72 I 73 J 74 K 75 L 76 M 77 N 78 O 79 P 80 Q 81 R 82 S 83 T 84 U 85   Symbol Code V 86 W 87 X 88 Y 89 Z 90 [ 91 \ 92 ] 93 ^ 94 _ 95 ` 96 a 97 b 98 c 99 d 100 e 101 f 102 g 103 h 104 i 105 j 106 k 107 l 108 m 109 n 110 o 111 p 112 q 113 r 114 s 115 t 116 u 117 v 118 w 119 x 120 y 121 z 122 { 123 | 124 } 125 ~ 126 ⌂ 127 Ç 128 ü 129 é 130 â 131 ä 132 à 133 å 134 ç 135 ê 136 ë 137 è 138 ï 139 î 140 ì 141 Ä 142 Å 143 É 144 æ 145 Æ 146 ô 147 ö 148 ò 149 û 150 ù 151 ÿ 152 Ö 153 Ü 154 ¢ 155 £ 156 ¥ 157 ₧ 158 ƒ 159 á 160 í 161 ó 162 ú 163 ñ 164 Ñ 165 ª 166 º 167 ¿ 168 ⌐ 169 ¬ 170   Symbol Code ½ 171 ¼ 172 ¡ 173 « 174 » 175 ░ 176 ▒ 177 ▓ 178 │ 179 ┤ 180 ╡ 181 ╢ 182 ╖ 183 ╕ 184 ╣ 185 ║ 186 ╗ 187 ╝ 188 ╜ 189 ╛ 190 ┐ 191 └ 192 ┴ 193 ┬ 194 ├ 195 ─ 196 ┼ 197 ╞ 198 ╟ 199 ╚ 200 ╔ 201 ╩ 202 ╦ 203 ╠ 204 ═ 205 ╬ 206 ╧ 207 ╨ 208 ╤ 209 ╥ 210 ╙ 211 ╘ 212 ╒ 213 ╓ 214 ╫ 215 ╪ 216 ┘ 217 ┌ 218 █ 219 ▄ 220 ▌ 221 ▐ 222 ▀ 223 α 224 ß 225 Γ 226 π 227 Σ 228 σ 229 µ 230 τ 231 Φ 232 Θ 233 Ω 234 δ 235 ∞ 236 φ 237 ε 238 ∩ 239 ≡ 240 ± 241 ≥ 242 ≤ 243 ⌠ 244 ⌡ 245 ÷ 246 ≈ 247 ° 248 ∙ 249 · 250 √ 251 ⁿ 252 ² 253 ■ 254  {Space} 255 ...
Read More

Initiate Shadow Of Remote Connection From command line Server 2012 R2

Launch Command Prompt as Admin To get the session ID for users, use the "qwinsta" command To get connected use "mstsc.exe /shadow:sessionID /control /noConsentPrompt" If you do not include /noConsentPrompt the user will be prompted to click on that says "Your username is requested to connect your session remotely. Do you accept the request? Yes or No"...
Read More

How to Hide Specific Drive Letters Using GPO

There is the a built-in policy for this called Hide these specified drives in my computer, however they can only do the following: Restrict A and B drives only Restrict C drive only Restrict D drive only Restrict A, B and C drives only Restrict A, B, C and D drives only Restrict all drives Do not restrict drives As you may use different letters such as S drive you can create a .ADM file to hide the drive. How this works, Each letter is assigned a number base on binary location, to be able to block multiple drives you need to add the values of those drives together Drive Letter Value A 1 B 2 C 4 D 8 E 16 F 32 G 64 H 128 I 256 J 512 K 1024 L 2048 M 4096 N 8192 O 16384 P 32768 Q 65536 R 131072 S 262144 T 524288 U 1048576 V 2097152 W 4194304 X 8388608 Y 16777216 Z 33554432 ALL 67108863 Example: Block A & D = 9 To Create the administrative template open notepad and paste the following (this is the with the example mentioned above), then save the files as HideDriveBlockAD.adm or you can change it to match. CLASS USER CATEGORY !!HideDrives KEYNAME Software\Microsoft\Windows\CurrentVersion\Policies\Explorer POLICY !!HideDrives PART !!HideDrivesDropdown DROPDOWNLIST NOSORT REQUIRED VALUENAME "NoDrives" ITEMLIST NAME !!ABOnly VALUE NUMERIC 3 NAME !!COnly VALUE NUMERIC 4 NAME...
Read More

Changing the Status of Windows Firewall via Powershell or Command Prompt

Turning Off Firewall Using PowerShell Run PowerShell as admin, execute the following command. This will turn off your firewall. Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False Turning On Firewall Using PowerShell Run PowerShell as admin, execute the following command. This will turn off your firewall. Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True Turning Off Firewall Using Windows Command Prompt Run command prompt as admin, and execute the following command: netsh advfirewall set allprofiles state off Turning On Firewall Using Windows Command Prompt Run command prompt as admin, and execute the following command: netsh advfirewall set allprofiles state on...
Read More

Allow remote managment

Enable-NetFirewallRule -DisplayGroup “Remote Volume Management” Enable-NetFirewallRule -DisplayGroup “Windows Firewall Remote Management” Enable-NetFirewallRule -DisplayGroup “Remote Scheduled Tasks Management” Enable-NetFirewallRule -DisplayGroup “Remote Service Management” Enable-NetFirewallRule -DisplayGroup “Remote Event Log Management” Enable-NetFirewallRule -DisplayGroup “Windows Remote Management” ...
Read More

Set Google Drive to sync without being logged in

Log into the server or desktop with the account that you want to run the service as and setup Google Drive as normally. In the config , set it so that it does not run at startup (On advanced tab) and exit the application. Download srvany.exe from the Microsoft Windows 2003 Resource Kit (http://www.microsoft.com/en-au/download/details.aspx?id=17657) After installing the Resource Kit (default in C:\Program Files (x86)\Windows Resource Kits\Tools), copy srvany.exe into the folder where Google Drive is installed. Run CMD as admin, before entering the below edit to use the correct login details and if you want to change the name of the service sc create GoogleDriveSync displayName= "Google Drive Service" start= auto obj= "<domain>\<username>" password= "<password>" binPath= "C:\Program Files (x86)\Google\Drive\srvany.exe" It will then give a message [SC] CreateService SUCCESS Open Regedit and go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GoogleDriveSync"  GoogleDriveSync is the name of the service that was created Create a key under this service by right clicking on the service and doing new > key and call it Parameters within Parameters...
Read More

No menu when right clicking on start menu

If you right click on the START button but do not see a context menu. This is due to a corrupted or missing folder: c:\User\<user>\AppData\Local\Microsoft\Windows\WinX The solution is just to copy this folder (and its three subfolders) from a working machine or working user account on the same machine. c:\User\<user>\AppData\Local\Microsoft\Windows\WinX\Group1 c:\User\<user>\AppData\Local\Microsoft\Windows\WinX\Group2 c:\User\<user>\AppData\Local\Microsoft\Windows\WinX\Group3...
Read More

Recover deleted bookmarks on Chrome

Chrome’s bookmark manager doesn’t have an Undo option. If your finger slips, you could delete an entire folder full of bookmarks with no obvious way to recover them. If you’ve made a backup with the export option, you could import the backup – but the backup may already be out of date. First thing’s first: Don’t close and reopen Chrome. If Chrome is already closed, leave it closed. Chrome saves a single backup of your bookmarks file, and it overwrites the backup each time you launch Chrome. Launch Windows Explorer and plug the following location into its address bar, replacing “NAME” with the name of your Windows user account: C:\Users\NAME\AppData\Local\Google\Chrome\User Data\Default The folder contains two bookmark files – Bookmarks and Bookmarks.bak. Bookmarks.bak is the most recent backup, taken when you last opened your browser. If you don’t see the .bak file extension and just see two files named Bookmarks, click the Organize menu and select “Folder and search options.” In the Folder Options window, click over...
Read More