بحث هذه المدونة الإلكترونية

الاثنين، ٨ أكتوبر ٢٠١٢

Change Windows Hostname Using CLI


بسم الله والحمد لله والصلاة والسلام علي رسول الله وآله وصحبه وإخوانه وسلم

Change Windows Hostname Using CLI

1- Open the CMD and enter the follwoing:
 
wmic computersystem where name="Old_Name" call rename name="New_name"

2- Reboot:

shutdown /r

3- Verify:

hostname 

ولا تنسوني والمسلمين من صالح الدعاء

وصلي الله وسلم وبارك علي النبي وآله وصحبه وإخوانه وسلم

How To Enable Remote Desktop Connection To Windows 2008 Core Installation


بسم الله والحمد لله والصلاة والسلام علي رسول الله وآله وصحبه وإخوانه وسلم

 How To Enable Remote Desktop Connection To Windows 2008 Core Installation

1- Enable the Remote Desktop for Administration mode to accept connections:

cscript C:\Windows\System32\Scregedit.wsf /ar 0

in order to view your current settings you can type:

cscript C:\Windows\System32\Scregedit.wsf /ar /v
 
If you see "1" in the script output, that means that RDP connections are denied.
If you see a "0", they will be allowed.
for example:
 
2-  If you are running the Terminal Services client on a previous 
version of Windows, you must turn off the higher security level that is 
set by default in Windows Server 2008. To do this, type the following 
command at the command prompt: 
cscript C:\Windows\System32\Scregedit.wsf /cs 0 

3- Allow the RDP to pass through the firewall:
netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes
 
 Also this is a short video showing the whole process:
  
 
ولا تنسوني والمسلمين من صالح الدعاء
 
وصلي الله وسلم وبارك علي النبي وآله وصحبه وإخوانه  وسلم