Windows

How to add Ip range using command on windows servers.

Login to server.Go to start >> run >> cmdType following command.Ipconfig /allCopy the local area connection name that you get. (Adapter name)Edit and use following command for it. “FOR /L %A IN (10,1,20) DO netsh interface ipv4 add address “Local Area Connection” 192.168.1.%A 255.255.255.0”FOR /L loop to add IP’s 192.168.1.10-20 to this adapter:replace this (10,1,20) …

Windows

Bootmgr image is corrupt. The system can not boot.

Bootmgr image is corrupt. The system can not boot. Cause for this Bootmgr image is corrupt. The system can not boot issue can be following The basic input/output system (BIOS) does not detect the hard disk.The hard disk is damaged.Sector 0 of the physical hard disk drive has an incorrect master boot record (MBR).Note Some …

Windows

windows cannot find any valid language packs 2008 r2/ 2008 R2 standard edition doesn’t support language packs?

windows cannot find any valid language packs 2008 r2, if you get this error while adding a language pack on 2008 r2 standard edition then use following steps. Following language pack also applies to Server 2008 R2 Standard Edition. Please note that if your server has Service Pack 1 (SP1), then please download this version: …

CentOS

Forceful redirect from HTTP to HTTPS

Nginx Below method can be used when you wish all configured sites to definitely only use https: server {              listen 80               default_server;               server_name _;               return 301 https://$host$request_uri; } We can redirect only specific sites also. This is better if you have multiple apps/sites and not all of them should be forced to use …