c1038a21 PR_PF_PROXY exchange 2003 public folders error

Posted on July 22nd, 2009 in Active Directory, Excahnge 2003, Server 2003 by Gil Kreslavsky

Error c1038a21 appears when you try to view properties of public folder system folder – Schedule + free busy or offline address book folder

image

Microsoft have a article on how to fix it , but in there guide they recommend usage of Information Store Viewer (MDBVu32).

I prefer to use PFDAVAdmin that can be downloaded from here it is much easier .

  1. Run PFDAVAdmin
  2. Press on file>connect
  3. Fill your DC settings like on screenshot bellow (don’t forget to select public folders)
    image
  4. Navigate to problematic folder – schedule free busy for example
    image
  5. Right click on it and chose “property editor”
    image
  6. Select PRF_PF_PROXY from property dropdown
    mark clear and press execute.
    image

That’s it, that should fix the problem.

Find Windows , SQL or Office Product Key

Posted on May 20th, 2009 in Microsoft, Office 2007, Server 2003, Server 2008, Vista, Windows 7, Windows XP by Gil Kreslavsky

 

If you’re planning reinstall of your Windows Vista\XP\Server 2000\2003\2008  you’ll need to locate your copy of your product installation key.

An easy way is to use Product Key Viewer utility to find forgotten Windows Office or SQL Product Keys.

image

Moving a Group to Another Domain – Using ADMT

Posted on April 1st, 2009 in Active Directory, Microsoft, Server 2003, Server 2008 by Gil Kreslavsky

To move windows group to other domain download ADMT Tool

  1. Install Active Directory Migration Tool
  2. Open the ADMT MMC snap-in it is located in Administrative Tools.
  3. Chose source and destination domains and click Next.
  4. On the Group Selection screen, chose the group that you want to migrate and click Next.
  5. On the next screen, select Browse and locate the desired OU.
  6. On the Group Options screen, select one or more of the following and click Next:
    Update user rights: Copies any user rights that are assigned in the source domain to the target domain.

    Copy group members:Specifies whether the user objects that belong to the group should be migrated along with the group.

    Adds the security identifiers (SIDs) of the migrated group accounts in the source domain to the SID history of the new group in the target domain.

  • On the Naming Conflicts screen, select whether you want to migrate group objects that conflict with objects in the target domain and click Next.
  • Follow the remainder of the wizard to complete the migration.

Delete Windows User Profile in Registry

Posted on March 30th, 2009 in Microsoft, Server 2003, Server 2008, Vista, Windows 7, Windows XP by Gil Kreslavsky

To clear user local profile via registry :

  1. Press on Start > Run >Regedit
  2. Navigate to the following registry key :“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”
  3. Under ProfileList navigate to  binary key’s like this :S-1-5-21-3656904587-1668747452-4095529-500
  4. On the right side under  ProfileImagePath you’’ll see the username and profile path.
  5. Chose the one with the desired user and delete the long reg key like :“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”

image

Note:The following method works on all of these operation systems:Windows 2000/XP/2003/2008 and Windows 7.

Folder Redirection to NTFS share Permissions

Posted on March 30th, 2009 in Active Directory, Microsoft, Security, Server 2003, Server 2008 by Gil Kreslavsky

If you want to redirect domain user folders to NTFS or Storage share, you need to set the permissions like in the list bellow:

Creator Owner => Full Control on “Subfolders and Files Only

Security group of users needing to put data on share => List Folder/Read Data, Create Folders/Append Data  on “This Folder Only

System =>  Full Control, on “This Folder, Subfolders and Files

In addition you can add Domain Admins security group to have permissions on user folders:

  • Open Group Policy Management
  • Navigate to Computer Configuration>Administrative Templates>System>User Profiles
  • Set “Add the Administrator security group to the roaming user profile share” to enabled

Desktop Icon Disappeared? Learn how to restore.

Posted on March 26th, 2009 in Microsoft, Server 2003, Server 2008, Vista, Windows 7, Windows XP by Gil Kreslavsky

If you Windows Desktop icon is disappeared , there is a quick way to restore it.
Follow the steps bellow:

  • Open Notepad
  • Paste the text bellow
  • [Shell]
    Command=2
    IconFile=explorer.exe,3
    [Taskbar]
    Command=ToggleDesktop
  • Save the file as Desktop.scf and drag it to your Quick Launch bar

Note: If you can’t place it you Quick Launch bar may be locked.
To unlock it :Right click on it , and remove selection from “Lock The Task Bar”

Download .VHD Images for Hyper-V

Posted on March 24th, 2009 in Excahnge 2007, Server 2003, Server 2008, Virtualization, Vista by Gil Kreslavsky

Microsoft has released Windows Server 2008 evaluation VHD (Virtual Hard Drive) images for Hyper-V which as of now is available for download from Microsoft  Download Center.
The images are perfect for creating testing environment and trying new versions

For more resent list of available preconfigured VHD’s visit http://www.microsoft.com/vhd

Manage services from command prompt in Windows XP,Vista,2003,2008

Posted on March 23rd, 2009 in Microsoft, Server 2003, Server 2008, Vista, Windows 7, Windows XP by Gil Kreslavsky

list of available commands for service management in Windows

  • Net pause : Pauses service
    Usage : net pause servicename
  • Net continue : Continues a service that has been suspended by net pause
    Usage : net continue servername
  • Net stop : Stops running service
    Usage : net stop service name
  • Net start : Start stopped service
    Usage : net start servicename
  • Sc:A command line program used for communicating with the
    Service Control Manager and services. Usually used in scripting
    Usage : type sc in command prompt to see command reference
  • Tasklist : Displays list of running tasks
    Usage:type tasklist in command prompt
Note: You can find the service name in Control Panel, Services.
Or by running services.msc command
To Open Command Prompt : type in run cmd

Create Group Using PowerShell ADUC, dsadd or admod

Posted on March 23rd, 2009 in Active Directory, Microsoft, Scripts, Server 2003, Server 2008 by Gil Kreslavsky

Creating a Group Using a graphical user interface

  1. Open the Active Directory Users and Computers .
  2. In the left pane, browse to the parent container of the new group, right-click on it, and select New Group.
  3. Enter the name of the group and select the group type (global, domain local, or universal) and group type (security or distribution).
  4. Click OK.

Using dsadd in command-line interface

dsadd group “<GroupDN>” -scope <GroupScope> -secgrp yes|no -desc “<GroupDesc>

Where <GroupDN> replace with DN of the group ,

Where <GroupScope> use one of the above

  • l – for domain local
  • g – for global
  • u – for universal

Where –secgroup

  • yes if the group is a security group
  • no for any other

Where desc fill group description

Using dsadd in command-line interface

> admod -b “<GroupDN>” objectClass::group groupType::
<GroupType>” sAMAccountName::”<Pre-Windows2000Name>” -add

Example: We will create global security group called “Accounting” in Accounting OU in testdomain.com

> dsadd group "cn=Accounting,ou=Accounting,dc=testdomain,dc=com"-scope global-
secgrp yes
> admod-b "cn=Accounting,ou=Accounting,dc=testdomain,dc=com" groupType::-2147483646
sAMAccountName::"Finance Users" -add

When using AdMod, you need specify the numeric value for group type, These values are predefined in Active Directory

Universal Distribution Group Value – “8”

Universal Security Group Value – “–2147483640”

Domain Local Distribution Group Value – “4”

Domain Local Security Group Value – “–2147483644”

Global Distribution Group Value – “2”

Global Security Group Value – “–2147483646”

Create Group Using VBScript

Example bellow shows how to create a global security group.
' ------  CONFIGURATION ------
strGroupParentDN = "<GroupParentDN>" ' e.g. ou=Groups,dc=testdomain,dc=com
strGroupName     = "<GroupName>"     ' e.g. Accounting
strGroupDescr    = "<GroupDesc>"     ' e.g. Accounting group
' ------ END CONFIGURATION ---------
' Constants taken from ADS_GROUP_TYPE_ENUM
Const ADS_GROUP_TYPE_GLOBAL_GROUP       = 2
Const ADS_GROUP_TYPE_DOMAIN_LOCAL_GROUP = 4
Const ADS_GROUP_TYPE_SECURITY_ENABLED   = -2147483648
Const ADS_GROUP_TYPE_UNIVERSAL_GROUP    = 8
set objOU = GetObject("LDAP://" & strGroupParentDN)
set objGroup = objOU.Create("group","cn=" & strGroupName)
objGroup.Put "groupType", ADS_GROUP_TYPE_GLOBAL_GROUP _
                         Or ADS_GROUP_TYPE_SECURITY_ENABLED
objGroup.Put "sAMAccountName", strGroupName
objGroup.Put "description", strGroupDescr
objGroup.SetInfo

Create Group Using PowerShell

To create a group using the Quest cmdlets, use the following syntax:

new-QADGroup -ParentContainer ‘<Parent OU DN>‘ -name ‘<GroupName>‘ -samaccountname ‘<GroupName> -grouptype ‘Distribution’ -groupscope ‘Universal’
Where <Parent OU DN> – Fill OU DN
Where <GroupName> – Fill Group Name
After –grouptype – set group type (Distribution or Security)
After –groupscope – set if (Universal, Domain Local)

Create or Delete Service in Windows Xp-Vista-2003-2008

Posted on March 20th, 2009 in Microsoft, Server 2003, Server 2008, Vista, Windows 7, Windows XP by Gil Kreslavsky

In order to create service in windows

  • Go to Start>Run type cmd and hit Enter
  • In command prompt type sc create servicename
  • Reboot your OS

create service

In order to delete service in windows

  • Go to Start>Run type cmd and hit Enter
  • In command prompt type sc delete servicename
  • Reboot your OS

delete service

There is another way: You can use registry to delete services

  • Go to Start>Run type regedit and hit Enter
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
  • Find the service you want to delete
  • Right click on service name and select Delete.
  • Reboot you OS

delete service registry

Next Page »