Kamis, 09 Oktober 2014

Using PsExec to run command remotely

"PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software."

PsExec dapat di unduh melalui link berikut: Klik

Berikut ini contoh melakukan ipconfig /flushdns pada remote computer:

C:\utils\Sysinternals>psexec \\computername -u username -p password -n 5 -e -d ipconfig /flushdns

.



Jumat, 03 Oktober 2014

.Net Framework 3.5 Installation on Windows 8.1

Ada dua cara untuk meng-install .Net Framework pada Windows 8/8.1:
  • Online Install
  • Offline Install
Online install adalah dengan cara menambah feature pada Windows:
Contol Panel>Program and Feature>Turn Windows on or off

Offline install dilakukan dengan cara berikut:
  1. Masukkan CD/DVD Windows 8/8.1
  2. Buka Command Prompt as Administrator dan ketik perintah berikut
Dism /online /enable-feature /featurename:NetFx3 /All /Source:F:\sources\sxs /LimitAccess

PROBLEM:
Saya menemukan masalah dalam installasi .Net Framework yang menyebabkan error berikut:
Error: 0x800F081F
The source files could not be found.
OR
Error: 0x800F0906
The source files could not be downloaded.
OR
Windows couldn't connect to the Internet to download necessary files. Make sure that you're connected to the Internet and click "Retry" to try again.
Ini disebabkan oleh Security Update berikut:
  • KB2966826
  • KB2966827
  • KB2966828
Bila anda menemukan masalah seperti di atas, uninstall ketiga update di atas dan restart. Setelah itu installasi .Net Framework aka bekerja.

Rabu, 01 Oktober 2014

Groups in Active Directory

universal group is a security or distribution group that contains users, groups, and computers from any domain in its forest as members. You can give universal security groups rights and permissions on resources in any domain in the forest.

global group is a group that can be used in its own domain, in member servers and in workstations of the domain, and in trusting domains. In all those locations, you can give a global group rights and permissions and the global group can become a member of local groups. However, a global group can contain user accounts that are only from its own domain.

domain local group is a security or distribution group that can contain universal groups, global groups, other domain local groups from its own domain, and accounts from any domain in the forest. You can give domain local security groups rights and permissions on resources that reside only in the same domain where the domain local group is located.

http://support2.microsoft.com/kb/231273

Selasa, 09 September 2014

Senin, 08 September 2014

Remote Control RDP session in Windows 2012 R2

Sejak Windows 2012 Microsoft memutuskan untuk tidak memiliki "Remote Control feature" untuk RDP session. Feature in i diperlakukan kembali pada Windows2012 R2 tetapi harus dilakukan melalui command prompt:

  1. Buka command prompt dan ketik command berikut:
  2. qwinsta. Command ini akan memberitahukan sesi RDP pada server 
  3. Kita dapat lihat ada 2 sesi RDP pada server yaitu ID 2 dan sesi kita sendiri pada ID 3 
  4. Untuk melakukan Shadow sesi pada RDP sesi 2 lakukan command berikut:
    mstsc /shadow:2
  5. Untuk melakukan Remote Control pada sesi tersebut lakukan command beikut:
    mstsc /shadow:2 /control

Selasa, 26 Agustus 2014

VMware KB: Networking Error: IP address already assigned to another adapter

  • An error message indicates that the IP already exists in the network, but no other virtual machine in the network is sharing the IP.
  • On a Windows virtual machine, you see this error:

    The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter
VMware KB: Networking Error: IP address already assigned to another adapter


Senin, 04 Agustus 2014

Standard sysprep command

Berikut ini ada command yang saya gunakan biasanya untuk sysprep dengan menngunakan unattande answer file:

sysprep /oobe /generalize /shutdown /unattend:unattend.xml