Search This Blog
Sunday, December 9, 2012
How to enable remote desktop via command line
How to enable remote desktop via command line
http://vishnuvalentino.com/tips-and-trick/how-to-enable-remote-desktop-using-command-prompt/
Monday, October 22, 2012
iTunes crashes when playing video podcast
iTunes crashes when playing video podcast
https://discussions.apple.com/message/19565632#19565632
1) Quicktime in Control Panel
2) Under "Advanced" tab, disable "Enable Direct3D video acceleration"
Wednesday, June 20, 2012
Cannot open .TIF or .TIFF files in Internet Explorer
A website uses a JSP script that opens a .TIF or .TIFF file in Internet Explorer, but the image will not show, it will only show a placeholder icon on the top left hand corner and a blank image. And you have QuickTime installed.
Solution: Browse to HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/tiff
and delete "CLSID"="{4063BE15-3B08-470D-A0D5-B37161CFFD69}"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/tiff]
"AutoplayContentTypeHandler"="PicturesContentHandler"
"Extension"=".tiff"
"CLSID"="{4063BE15-3B08-470D-A0D5-B37161CFFD69}"
REF: http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/problem-setting-default-program-to-open-files-with/cfd7890e-07d8-483c-8114-fafcccad5330
Tuesday, February 28, 2012
Cannot install Symantec Endpoint Protection
AppData path might be wrong.
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData is listed as "%APPDATA%"
I changed it to %USERPROFILE%\AppData\Roaming
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData is listed as "%APPDATA%"
I changed it to %USERPROFILE%\AppData\Roaming
.NET Framework Removal
Cannot install/repair .NET Framework
.NET Framework Cleanup Tool
http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx
.NET Framework Cleanup Tool
http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx
Saturday, February 18, 2012
SAS Enhanced Editor Error 0x80040154
Issue in Windows Vista,
Run in command prompt:
C:\Windows\Microsoft.NET\Framework\v2.0.50727>RegAsm.exe "C:\Program Files\SAS\Shared Files\EnhancedEditor\SAS.EnhancedEditor.dll" /codebase
Run in command prompt:
C:\Windows\Microsoft.NET\Framework\v2.0.50727>RegAsm.exe "C:\Program Files\SAS\Shared Files\EnhancedEditor\SAS.EnhancedEditor.dll" /codebase
Sunday, February 5, 2012
Thursday, January 12, 2012
List Users in a Group Active Directory
Dim arrNames()
intSize = 0
Set objGroup = GetObject("LDAP://CN=Accountants,OU=Finance,DC=fabrikam,DC=com")
For Each strUser in objGroup.Member
Set objUser = GetObject("LDAP://" & strUser)
ReDim Preserve arrNames(intSize)
arrNames(intSize) = objUser.CN
intSize = intSize + 1
Next
For i = (UBound(arrNames) - 1) to 0 Step -1
For j= 0 to i
If UCase(arrNames(j)) > UCase(arrNames(j+1)) Then
strHolder = arrNames(j+1)
arrNames(j+1) = arrNames(j)
arrNames(j) = strHolder
End If
Next
Next
For Each strName in arrNames
Wscript.Echo strName
Next
intSize = 0
Set objGroup = GetObject("LDAP://CN=Accountants,OU=Finance,DC=fabrikam,DC=com")
For Each strUser in objGroup.Member
Set objUser = GetObject("LDAP://" & strUser)
ReDim Preserve arrNames(intSize)
arrNames(intSize) = objUser.CN
intSize = intSize + 1
Next
For i = (UBound(arrNames) - 1) to 0 Step -1
For j= 0 to i
If UCase(arrNames(j)) > UCase(arrNames(j+1)) Then
strHolder = arrNames(j+1)
arrNames(j+1) = arrNames(j)
arrNames(j) = strHolder
End If
Next
Next
For Each strName in arrNames
Wscript.Echo strName
Next
Tuesday, January 10, 2012
Print List of Groups in OU
Ref: http://blogs.technet.com/b/heyscriptingguy/archive/2005/09/21/how-can-i-list-all-the-groups-in-an-ou.aspx
Ref: http://www.devguru.com/technologies/vbscript/quickref/filesystemobject_createtextfile.html
Set objOU = GetObject("LDAP://OU=Users,OU=Groups,OU=City,OU=Work,OU=Dept,DC=xx,DC=yy,DC=zz")
objOU.Filter = Array("Group")
Set fso = CreateObject("Scripting.FileSystemObject")
Set fsoFile = fso.CreateTextFile("C:\Windows\Temp\listgroupsinou.txt")
For Each objGroup in objOU
fsoFile.WriteLine(objGroup.Name)
' Wscript.Echo objGroup.Name
Next
fsoFile.Close
Ref: http://www.devguru.com/technologies/vbscript/quickref/filesystemobject_createtextfile.html
Set objOU = GetObject("LDAP://OU=Users,OU=Groups,OU=City,OU=Work,OU=Dept,DC=xx,DC=yy,DC=zz")
objOU.Filter = Array("Group")
Set fso = CreateObject("Scripting.FileSystemObject")
Set fsoFile = fso.CreateTextFile("C:\Windows\Temp\listgroupsinou.txt")
For Each objGroup in objOU
fsoFile.WriteLine(objGroup.Name)
' Wscript.Echo objGroup.Name
Next
fsoFile.Close
Subscribe to:
Posts (Atom)