Sunday, 29 September 2019

Start Menu for Windows 10, Server 2012,2016,2019



Right Click on Taskbar
Toolbars
New Toolbar...

Locate below Folder path 

C:\ProgramData\Microsoft\Windows\Start Menu\Programs

OK


Enable | Disable Administrative Shares

  • Start > Run > type “regedit” (without the quotes) > press Enter
  • Browse to HKLM > System > CurrentControlSet > Services > lanmanserver > parameters
To enable administrative shares :
  • Change the value of AutoShareServer to 1
  • Change the value of AutoShareWks to 1
To disable administrative shares :
  • Change the value of AutoShareServer to 0
  • Change the value of AutoShareWks to 0

AutoRun Disable for Windows

Method 1
  1. Click Start, type Gpedit.msc in the Start Search box, and then press ENTER.

     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
  3. In the Details pane, double-click Turn off Autoplay.
  4. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  5. Restart the computer.
Method 2
  1. Click Start, type Gpedit.msc in the Start Search box, and then press ENTER.

     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
  3. In the Details pane, double-click Default Behavior for AutoRun.
  4. Click Enabled, and then select Do not execute any autorun commands in the Default Autorun behavior box to disable Autorun on all drives.
  5. Restart the computer.


Saturday, 28 September 2019

Changing E1000 into VMXNET3 without changing a MAC address


Method 1 :
--------------
Note down MAK address and IP Configuration of existing E1000 NIC
Remove Adapter
add VMXNET3 adapter
add the old MAC




Method 2 : PowerCLI
-------------------
Power OFF VM

PowerCLI
Connect-VIServer -Server XXX.XXX.XXX.XXX -User YYYYYYY -Password ZZZZZZZZ

List VM: SRV1, NIC type:

PowerCLI C:\> Get-VM SRV1 | get-networkadapter

Change VM: SRV1, NIC type to VMXNET3:

PowerCLI C:\> get-vm SRV1 | Get-NetworkAdapter | set-networkadapter -type vmxnet3 -confirm:$false

This procedure preserves the original MAC address, but NIC adapter changes.

Wednesday, 18 September 2019

SHORTCUTS - Some important Shortcuts


Computer name change :
C:\Windows\system32\SystemPropertiesComputerName.exe














Password Change of local administrator :

C:\Windows\System32\compmgmt.msc




Creating Network Connections Shortcut in Windows 7

Right Click on Desktop

New --> Shortcut

Paste below in location

explorer.exe ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}

Next

Provide Name 'Network'
OK






Tuesday, 17 September 2019

ESXi Build Upgrade (from 6.0.0, 3620759 to 6.0.0, 10719132)


Download specific/latest version of ESXi from my.vmware.com site.
(ESXi600-201811001.zip)

use WINSCP and create folder UPDATE on ESXi host's local datastore.


Copy file ESXi600-201811001.zip from system to ESXi datastore


connect ESXi host using Putty and login with root


run this command to start upgrade


esxcli software vib install -d /vmfs/volumes/5190d9c4-043db9f0-ba8b-00215a9b0038/UPDATE/ESXi600-201811001.zip

once done type command reboot to reboot ESXi host.


Sunday, 15 September 2019

Enabling Remote Desktop on Remote Computer using Registry



1. Start Registry editor. regedit.exe
2. Connect to remote computer's registry. ( File--> Connect Network registry...)
3. Select remote computer registry on tree
4. Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
     
Double-click fDenyTSConnections.

Change value to 0 for Enable
Change value to 1 for Disable






Thursday, 12 September 2019

Changing IP Address using Batch File


Created a Batch file (ChangeIP.bat)and write command as below.

netsh interface ip set address "Local Area Connection" static 10.70.8.11 255.255.255.0 10.70.8.1



Run this command to Elevate Command Prompt

runas /noprofile /user:systemname\administrator ChangeIP.bat


-

Wednesday, 11 September 2019

Deleting Old Copies of Windows Internal Server Backup ( Keeping last 10 copies)


Restart the QNAP and run the command

wbadmin get disks

then

wbadmin delete backup -KeepVersions:10 

There is no need to add the name of volume.


Activating Windows 10 Pro - Replacing Old Key Value


1. click windows button , then type cmd , and then open command prompt as administrator
   (right click command prompt). 

2. type this following steps (only type the bold texts) :
   slmgr.vbs /upk   

(this command will delete your old activation key), and then
   slmgr.vbs /ipk (your new working activation key)

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
after these steps, check windows setting activation again 


Connecting Windows Internal Database using SQL Management Studio


Connecting Windows Internal Database using SQL Management Studio

s

For server name enter \\.\pipe\MICROSOFT##WID\tsql\query in case if we are connecting to Windows Server 2012 internal database. (Working for 2019 also)
o If we are connecting to windows 2003 and 2008 windows internal DB then we ne use  \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query

s1

Windows 10's God Mode

God Mode  in Windows 10 gives you quick access to a ton of handy settings in one place.  Right-click on the desktop and go to New > ...