Windows tips

NFS Client

 "Programs and Features".  In the left hand column, you'll see a link for "Turn Windows features on or off".
Select that, and it will open a list box that shows all of the optional components built in to Windows 7.  Some are already activated.  Expand the entry for "Services for NFS".  There are two check boxes under that.  Check them and hit OK.  Windows will install those components and ask to reboot your system.  Once you have rebooted, Client for NFS will be installed.
To use it, go to Administrative Tools->Services for NFS to configure it.  Alternatively, you can use the command line program 'nfsadmin' to configure

Remote install

http://heapspray.blogspot.cz/2012/06/installing-microsoft-lync-2010-client.html

http://blogs.technet.com/b/mir/archive/2011/06/04/how-to-automate-lync-client-2010-deployment-in-multi-architect-environment-using-active-directory-group-policy.aspx

Dos Shell

Examples

Powershell

http://www.techrepublic.com/blog/windows-and-office/basic-windows-powershell-commands-you-should-already-know/4031/

http://technet.microsoft.com/en-us/library/dd347730.aspx

Permissions change

C:\ClusterStorage\Volume1>icacls *
machine-disk-original.vhdx NT VIRTUAL MACHINE\ABCDEF-1234-5678-9012-ABCDEFABCDEF:(R,W)
                            BUILTIN\Administrators:(F)
                            BUILTIN\Administrators:(I)(F)
                            NT AUTHORITY\SYSTEM:(I)(F)
                            BUILTIN\Users:(I)(RX)

C:\ClusterStorage\Volume1>icacls machine-disk-new.vhdx /grant "NT VIRTUAL MACHINE"\ABCDEF-1234-5678-9012-ABCDEFABCDEF:(R,W) /t
processed file: machine-disk-new.vhdx
Successfully processed 1 files; Failed processing 0 files

 

NTP force resync:

W32tm /resync
http://social.technet.microsoft.com/Forums/windowsserver/en-US/7dc5e8f4-824a-432c-a2da-ac0e3fdf76fd/configuring-ntp-server?forum=winserverNIS
 
NTP server config
w32time service keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\
NtpServer-Enabled-1
net stop w32time, net start w32time
 

Install/allow features in Win 7/8

telnet:
pkgmgr /iu:"TelnetClient"
 
dotnet:
http://msdn.microsoft.com/cs-cz/library/hh506443%28v=vs.110%29.aspx
http://www.danielclasson.com/install-net-framework-35-server-2012/
dism /online /enable-feature /featurename:NetFX3 /all /Source:d:\sources\sxs /LimitAccess
 
language packs:
z EN na CZ, zmena prostredi, dvd s lang. pack od MS, soubor je na cd:
E:\langpacks\cs-cz\lp.cab

dism /online /add-package /packagepath:E:\langpacks\cs-cz\lp.cab
bcdedit /set {current} locale cs-CZ
bcdboot %WinDir% /l cs-CZ
remove HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MUI\UILanguages\en-US
 
note:
po restartu nesel hypervisor, pomohlo nastavit:
bcdedit /set hypervisorlaunchtype Auto

Group Policy

http://technet.microsoft.com/en-us/library/bb742376.aspx