password etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
password etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

4 Nisan 2012 Çarşamba

Change password on first login prompt

If you keep seeing "You should change your password on your first login etc",
In order to resolve this issue you can change the security layer of the server.

To do that Run
tsconfig.msc (Terminal Server Config)
Open RDP - TCp config page
In General Tab, lower the Secrutiy layer to RDP Security Layer
Save settings.


Now you can see the change password screen on logon.


Source:
http://www.sanderstechnology.com/2012/changing-the-remote-desktop-security-layer/10998/#.T308sUJnGQc
http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/5872fd0c-9602-41bb-8b29-3d449bb29e46/

28 Şubat 2012 Salı

Getting Managed Account Password via Power Shell


I ve found this command in msdn, I could not find the link, though.

If you set changing the account password via sharepoint (automatically), you can get the managed account password by using below commands.

Get Managed Account Passwords vıa Power Shell:
function Bindings()
{
    return [System.Reflection.BindingFlags]::CreateInstance -bor
    [System.Reflection.BindingFlags]::GetField -bor
    [System.Reflection.BindingFlags]::Instance -bor
    [System.Reflection.BindingFlags]::NonPublic
}
function GetFieldValue([object]$o, [string]$fieldName)
{
    $bindings = Bindings
    return $o.GetType().GetField($fieldName, $bindings).GetValue($o);
}
function ConvertTo-UnsecureString([System.Security.SecureString]$string) 
{ 
    $intptr = [System.IntPtr]::Zero
    $unmanagedString = [System.Runtime.InteropServices.Marshal]::SecureStringToGlobalAllocUnicode($string)
    $unsecureString = [System.Runtime.InteropServices.Marshal]::PtrToStringUni($unmanagedString)
    [System.Runtime.InteropServices.Marshal]::ZeroFreeGlobalAllocUnicode($unmanagedString)
    return $unsecureString
}

Get-SPManagedAccount | select UserName, @{Name="Password"; Expression={ConvertTo-UnsecureString (GetFieldValue $_ "m_Password").SecureStringValue}}

6 Şubat 2012 Pazartesi

Sharepoint 2010 - Constantly prompting Username Password in local server.

This problem was also bugging me in Dynamics CRM.

İf you would have a server and try to access it inside, it constantly prompts you username and password.

In order to be able to solve this issue you need to add a new registry key

Run - regedit

Go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa


Create a DWORD (32bit) key in the folder, named as:
DisableLoopbackCheck


Set the value as:
1


Close the regisrty window. By default (and best case) it does not need any restart of iis, explorer or server.


Source:
http://www.jeremytaylor.net/2010/05/24/sharepoint-disable-loopback-check-disableloopbackcheck-dword-in-registry/