Search This Blog

Monday, March 5, 2012

Password Reset Using Active Directory Users & Computers Fails with Error "The System cannot find the path specified"

Password Reset Using Active Directory Users & Computers Fails with Error "The System cannot find the path specified"

sbs 2003, a badly corrupted server

I tried a method on the net, but wont work, that post is about using adsiedit,msc to edit user's usrparamenter by clearing it. that didn't work for me.

I tried dsmod , no luck

http://support.microsoft.com/kb/2001522/en-us

eventtually tried ldifde cmd
http://oreilly.com/pub/a/windows/2004/03/30/serverhacks_passwords.html?page=last&x-maxdepth=0

ldifde -i -f ChangePwd.ldif -t 636 -s dcname

the trick is to convert the password to some based-unicode, so there is a stringconverter to convert you fav password

dn: CN=Jane Doe,OU=Boston,DC=testdomain,DC=local
changetype: modify
replace: unicodePwd
unicodePwd::IgBwAGEAcwBzAHcAbwByAGQAIgA=
-

notice the - at the end of file is required

finally I changed someone's password at the end of the day



Branchcache - FIREWALl rules

Branchcache - FIREWALl rules

http://www.trainsignal.com/blog/server-2008-branchcache-configuration

excerpt
  • Distributed cache mode – Requires the configuration of the Peer-Discovery (Uses WSD) predefined rule which opens up UDP port 3702 both inbound and outbound.

  • Hosted cache mode – Requires the configuration of the Hosted Cache Client predefined rule which opens up TCP port 443 outbound.

  • Sunday, March 4, 2012

    IKEv2

    IKEv2
    http://technet.microsoft.com/en-us/library/ff687723(v=ws.10).aspx

    IKEv2 allows multiprotocol traffic to be encrypted and then encapsulated in an IPsec header to be sent across a private IP network or a public IP network, such as the Internet. IKEv2 can be used for remote access VPN connections. IKEv2 supports automatic VPN reconnect that allows the security association to survive changes in the underlying connection. This enables a VPN connection to continue working with no user interaction when the network connection changes from wired to wireless, or if the IP address changes. When using the Internet as the public network for VPN, the IKEv2 server is an IKEv2-enabled VPN server with one interface on the Internet and a second interface on the intranet.
    Both IKEv2 and IPsec must be supported by both the VPN client and the VPN server. IKEv2 is supported by remote access clients running Windows 7, and by VPN servers running Windows Server 2008 R2.

    ummm..... w-xp not supported?

    w7 WWAN autoconfig

    This service manages mobile broadband (GSM & CDMA) data card/embedded module adapters and connections by auto-configuring the networks. It is strongly recommended that this service be kept running for best user experience of mobile broadband devices.

    Saturday, March 3, 2012

    some exchange 2010 pwershell scripts

    Set-OrganizationConfig -MailTipsExternalRecipientsTipsEnabled $true
    Set-OrganizationConfig -MailTipsLargeAudienceThreshold 6

    Restart-Service MSExchangeServiceHost
    Restart-Service MSExchangeFDS
    Set-Mailbox Peter -UseDatabaseQuotaDefaults $true $true
    Restart-Service MSExchangeMailboxAssistants
    Set-Mailbox John -MailTip "This user is restricted."
    Get-Mailbox John | FL MailTip
    Set-DistributionGroup "Contoso IT" -MailTip "The IT group will be at a conference next week."
    New-MailboxDatabase -Name ArchiveMDB01 -Server EX01-
    Mount-Database -Identity ArchiveMDB01
    Get-MailboxStatistics -Identity Holly | FL TotalItemSize
    Set-Mailbox -Identity Holly -UseDatabaseQuotaDefaults $False -ProhibitSendReceiveQuota 7850075
    Set-Mailbox -Identity Holly -UseDatabaseQuotaDefaults $False -ProhibitSendReceiveQuota 7850075
    Restart-Service MSExchangeMailboxAssistants
    Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -ExternalUrl "https://mail.contoso.com/owa" -CalendarPublishingEnabled $true

    Thursday, March 1, 2012

    outlook 2007 : Can't open any hyperlinks. (This operation has been cancelled due to restrictions in effect on this computer.)

    outlook 2007 : Can't open any hyperlinks. (This operation has been cancelled due to restrictions in effect on this computer.)

    the anwser is here

    fking googlers

    http://answers.microsoft.com/en-us/office/forum/office_2007-outlook/cant-open-any-hyperlinks-this-operation-has-been/8815ad6c-0f44-477a-9ffa-beb98109b5a6

    and I quote
    REG ADD HKEY_CURRENT_USER\Software\Classes\.htm /ve /d htmlfile /f
    REG ADD HKEY_CURRENT_USER\Software\Classes\.html /ve /d htmlfile /f
    REG ADD HKEY_CURRENT_USER\Software\Classes\.shtml /ve /d htmlfile /f
    REG ADD HKEY_CURRENT_USER\Software\Classes\.xht /ve /d htmlfile /f
    REG ADD HKEY_CURRENT_USER\Software\Classes\.xhtml /ve /d htmlfile /f

    After this just make your Internet Explorer the Default browser.