Travel

Categories

Install MPlayer Multimedia codecs and Hardware HD decode under Ubuntu

http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-on-ubuntu-11-04-natty.html#more-1176

http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-on-ubuntu-12-04-precise.html

Video Playback with hardware acceleration with libvdpau1 and nvidia binary video driver

http://www.webupd8.org/2010/10/use-mplayer-with-vaapi-support-hardware.html

Run Windows PowerShell script

1. Name the script as .ps1

2. Under Powershell, remember to set Set-ExecutionPolicy RemoteSigned or Set-ExecutionPolicy Unrestricted

3. To run the powershell script outside powershell :

powershell.exe -noexit c:\scripts\test.ps1 powershell.exe -noexit get-childitem c:\scripts

Call from vbscript Set objShell = CreateObject(“Wscript.Shell”) objShell.Run(“powershell.exe -noexit c:\scripts\test.ps1”)

print pdf in command line under Windows

Assume you have installed Adobe Reader

Under Powershell :

Dir D:\test\S10010025.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }

Or for batch printing

Dir D:\test\*.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }

Or

AcroRd32.exe /s /o /h /t “FULL_PATH_TO_PDF” “PRINTER NAME” “PRINTER DRIVER NAME” “PORT”

AcroRd32.exe /s /o /h /p “FULL_PATH_TO_PDF” for […]

Locate obsolete computer records in AD

http://dmitrysotnikov.wordpress.com/2007/09/07/locate-obsolete-computer-records-in-ad/

Exchange Server 2010 Technet

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

Setting exchange message size limit

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

Change Active Directory Strong Password Policies

open gpmc.msc, change the account password policy of the default domain policy and default domain controller policy

open rsop.msc, to change the result set of policy

Enable fully qualified domain names in DFS

To enable fully qualified domain names in DFS: 1.. If the DFS server hosts a DFS root or replica, remove it from the server. (If you accidentally activated the DfsDnsConfig parameter without removing configuration information, you can clear it by typing dfsutil /clean: computername. 2.. Start Registry Editor and open the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dfs 3.. […]

Windows 7 and mandatory profile

http://support.microsoft.com/kb/973289

http://theitbros.com/sysprep-a-windows-7-machine-%E2%80%93-start-to-finish

http://benosullivan.co.uk/windows/how-to-image-and-deploy-windows-7-a-complete-guide/

My unattend.xml for copying the default user profile generated using the Windows System Image Manager tool for a x64 Win7 enterprise seed

<?xml version=”1.0″ encoding=”utf-8″?> <unattend xmlns=”urn:schemas-microsoft-com:unattend”> <settings pass=”specialize”> <component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”> <CopyProfile>true</CopyProfile> </component> </settings> <cpi:offlineImage cpi:source=”catalog:c:/users/administrator/desktop/install_windows 7 enterprise.clg” xmlns:cpi=”urn:schemas-microsoft-com:cpi” /> </unattend>

Batch print pdf files with Acrobat

Batch Printing PDFs (and other files) using Acrobat 9

Setting Up the IIS 6 Password Change Site – IISADMPWD

http://blogs.msdn.com/b/friis/archive/2009/03/24/setting-up-the-iis-6-password-change-site-iisadmpwd.aspx