Sunday, February 20, 2022

Unable to find scanpst.exe on outlook beta 2010 for Vista

Unable to find scanpst.exe on outlook beta 2010 for Vista

Hello everyone,

 

 

                           I have hard deleted the inbox files on my outlook express, I desperately need to recover my mails as I am a student.  Could you please help me in locating the scanpst.exe on my system/how to get one ? I am currently following the steps from http://articles.techrepublic.com.com/5100-10878_11-5054599.html.  But I am stuck with locating scanpst.exe

 

 

thanks in advance.

 

 

Praths


Reply:

Scanpst doesn't work with Outlook Express... assuming that is a typo, try C:\Program Files (x86)\Microsoft Office\Office14\scanpst.exe

See http://www.outlook-tips.net/beginner/scanpst.htm for help using scanpst. Your pst files may be under My Documents\Outlook files if Outlook 2010 created the pst.  



Diane Poremsky [MVP - Outlook]
Outlook Daily Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com

------------------------------------
Reply:
Thanks Diane, I found the scanpst.exe at the specified location.  But I am still not able to recover my deleted files in .PST file after following the steps mentioned in above url(in original post).  It now shows 164 files as being present in the deleted folder but when I click it, I see none of it :(.  It is really frustrating.

------------------------------------
Reply:

That's probably the same instructions i have at http://www.outlook-tips.net/howto/recover_deleted.htm - did you try resetting the view on deleted items? If that fails to work, there are tools you can use - they are listed on the page.

 



Diane Poremsky [MVP - Outlook]
Outlook Daily Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com

------------------------------------
Reply:

I eventually found the files I need here:

 

C:\Program Files\Common Files\System\MSMAPI\1033\scanpst.exe

C:\Program Files\Common Files\System\MSMAPI\1033\scanost.exe

 


------------------------------------
Reply:

If you are unable to find the scanpst.exe in your computer then you should try to locate it by performing a simple search. While searching choose the drive c as the location to look in and using advanced options you can include Search hidden files and folders . This way if the scanpst.exe is present on your system then it will be visible in the search results. apart from that if it is not working or get corrupted then you can download scanpst.exe from web.

I will suggest you to first make the backup of your pst file before running the scanpst.exe and then run Scanpst.exe on your pst file. If the deleted mails get available then its fine. Otherwise you need to go for download scanpst.exe third party application. It's not free but if it is really urgent then this one will be good for you.

 

Regards,

William P.


  • Edited by David Wolters Tuesday, January 3, 2012 8:33 PM removed 3rd party link

------------------------------------
Reply:

If you are unable to find out scanpst.exe in vista, it means that either you have not installed outlook application properly or your scanpst.exe has been corrupted. in such situation you must try a third party pst repair tool, which will be beneficial for you.

http://www.telespst.com



------------------------------------

Find Lync 2010 Versions

How to identify lync standard version or Enterprise version??


Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Thanks Chandru CT-HCL

Thanks Chandru CT. MCITP


Reply:

Hi

Have a look at this thread:

http://social.technet.microsoft.com/Forums/en-US/ocsplanningdeployment/thread/23562ae0-a770-4f1c-a645-c9812b056777/

Lync controlpanel under topology will give you the info regarding the version also.

How to identify the different plattforms I'd say the easist way is to see what back-end they are using. Local MSDE =std and SQL Enterprise on different machine = ent edition.


/Tim


  • Edited by Tim_Scholz Thursday, January 31, 2013 2:49 PM

------------------------------------

How to Sequence Nuance PDF Converter Enterprise v7.0

Hi All,

I just finished sequencing this application, which like most PDF conversion utilities uses a printer driver.  I wish I could post my App-V recipe .doc file, but it's branded with my company details, so I'll have to just write a freehand version.  It's kind of a bit awkward without the screen shots, but I'll try my best.  The reason for this posting is to aid people with the printer driver part and also to advise of an issue I ran into when testing.

As with most applications that install a printer driver, you need to sequence the application part and install the print driver locally on the machine.  I accomplished this by stripping the printer driver from the install during the App-V sequence and then creating a separate .MSI to deploy the driver locally.

Step1 - Prepare .MSI to be installed within the App-V Sequencer without the print driver.

  • Edit the vendor .MSI using Orca
  • Create a new transform
  • Browse to the InstallExecuteSequence table.
  • Set the Condition table column to 0 for the following custom actions

Zeon_AddDocuComPDFDriver.77693CC4_42DD_464F_B109_4D3F54DB9232
Zeon_AddDocuComPDFDriver.E817E470_064B_46CC_B134_6DD6D258536F

N.B. Just some additional information regarding the above custom actions:

Although there are two entries in the InstallExecuteSequence table only the Zeon_AddDocuComPDFDriver.77693CC4_42DD_464F_B109_4D3F54DB9232 action was present in the Custom Action table.  Upon further investigation it transpires one entry is used for the 64-bit version of the .MSI and the other is for the 32-bit version.  The vendor should have probably removed the erroneous entry from each of the .MSIs.

For clarification:

32-bit:

Zeon_AddDocuComPDFDriver.E817E470_064B_46CC_B134_6DD6D258536F

64-bit:

Zeon_AddDocuComPDFDriver.77693CC4_42DD_464F_B109_4D3F54DB9232

Each .MSI has both entries within the InstallExecuteSequence table, but only the 32-bit or 64-bit entry within the Custom Action table.  For completeness both actions were set to a condition of 0, although just the relevant 32-bit or 64-bit action probably would be sufficient.

  • Generate the transform file.

Step 2 - Capture the installation with the App-V Sequencer

  • Capture the application installation with the newly created transform applied.

N.B. Because the the custom action has been stripped from the .MSI it will prevent the printer driver from installing during the capture and prevent the need to strip the components out of the sequence post capture.

Step 3 - Create local .MSI install for Printer Driver.

  • Edit vendor .MSI using ORCA
  • Browse to the Custom Action table and find the aforementioned Zeon_ Custom Action.  Take note of the entry in the Source column.  In this instance it was NewBinary2.77693CC4_42DD_464F_B109_4D3F54DB9232.
  • Browse to the Binary table and find the above entry.
  • Double-Click the [Binary Data] field to right of the entry.
  • Choose a filename (i.e. PDF.dll) and location, then select the "Write binary to filename" radio button and click OK.
  • Create an admin install of the vendor .MSI (msiexec /a) to break-out the files.
  • From the admin install, take a copy of the spool\drivers\x64 (+sub directories) or the equivelant 32-bit versions.  These files are needed to install the print driver.
  • Create a new .MSI using AdminStudio / Wise Package Studio / Advanced Installer etc.
  • Add the System32\Spool\...\. files to the package maintaining the same directory structure underneath System32.
  • Create a new Custom Action (Function from .dll) and point to the previously extracted PDF.dll file.  Use AddScanSoftPDFCreate as the function to call.

Deploy the .MSI and App-V package together and all should be well.

Other Notes:

If you plan to deploy the Office Integration ensure Office is installed on the machine prior to installing.  Whilst the COM-Addin registry keys will still be installed and captured without Office on the machine, the HKLM\Software\[Wow6432Node]\Microsoft\Office key will likely be set to Override and will probably break the Office package when you DSC the two together.

When testing the application an error appeared along the lines of "Some components not installed correctly. Reinstall, etc."  After spending a long time with processmon it transpired this was caused by a side-by-side .dll problem.  The problem was caused because the test machine and a slightly older version of the 2008 Visual C++ Runtime libraries installed.

Hope this helps.

Thanks


Reply:

can you provide the screenshots for Step 3 Please. I am trying to do the same but unfortunately making some mistakes in adding the custom action. I really appreciate your help. 

Thanks,

Ontari



------------------------------------
Reply:

Hi ontari.ontari

what is exactly your errors?


------------------------------------
Reply:
That's a great post!  Thanks very much!

------------------------------------

FileSystem Monitoring Pack

Has anyone tried the FileSystem Monitoring Pack from Jaime Correia with SCOM 2012?  (from systemcentercentral.com)

I've enabled the necessary Object Discoveries and set the overrides but my File Share and Folder status view remains empty.

Are the scripts used by the MP incompatible with this version?

  • Changed type Nicholas Li Wednesday, July 4, 2012 9:04 AM

Reply:


Hi,

As this management pack is for SCOM 2007, it might not work well in SCOM 2012. Meanwhile, I would like to suggest you try creating monitors and see if it can meet your requirements:

OpsMgr: Monitoring files and folders without the File System Management Pack
http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/92744/Default.aspx

How-to monitor file size
http://contoso.se/blog/?p=1367

Monitor file and directory size
http://contoso.se/blog/?p=127

Hope this helps.

Thanks.


Nicholas Li

TechNet Community Support


------------------------------------
Reply:

Greetings!

We are using the File System Management Pack by Jaime Correia with SCOM2012.
But we have some problems with it. Sometimes our share monitor generates alert notifications, but when I try to follow the link in the notification message, I get an error message that this alert is doesn't exist.

So, does anyone know why it happens?

  • Merged by Yog Li Monday, February 4, 2013 8:48 AM

------------------------------------

aktivation office 2013

please aktivation office 2013 for me
  • Moved by Quist Zhang Friday, February 1, 2013 9:46 AM Off-topic

Reply:

Does your issue related developing apps for Office?

Contact the one who sold you the staff or call the phone number that you can find on the Office software box

or post your question on http://answers.microsoft.com/en-us/office


with regards, Yuri


------------------------------------

Software Update Services keeps on stopping

I have installed WSUS 3.0 SP2 in one of my SCCM DP. Recently I have an issue whereby the server Update Service will always stopped. Once I continue to restart the service, after a while, it stops again, which i dont know why. As a result, it returns a lot of errors in my site system node in the SCCM console for this particular DP. Need advice, should i reinstall the WSUS or is there any other possible solution?

Reply:
if you're talking about the Windows update service, then you can visit the windows update site and update windows update..you can delete the SoftwareDistribution folder in c:\ or you can re-register the service...

http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com


------------------------------------
Reply:
Ok, at last found the solution. Uninstall the WSUS and reinstall it back... :)

------------------------------------

SharePoint designer 2010 bug - where do we report ?

In SharePoint 2010 designer while working on XLST webpart, if you have User Filter webpart filtering logged in user....

if you say under sorting/grouping - expand group by default.. the filter behaves normally (filters only the current user), but if you select "Collapse group by default", the user filter does not work and returns all records irrespective of user logged in. 

in the current situation, i  could circumvent the bug by other ways, but is this something we can report to MS for a fix? or SP 2013 takes precedence now and 2010 bugs are not being fixed?

Thanks.

Windows 8 mail app does not respect reply-to field

This definitely looks like a bug.  Many emails contain a separate field for the email address to reply to, which may be different than the address that sends the mail.  Unfortunately, the mail app doesn't honor this field and will always send replies to the sender's address.
  • Changed type Arthur Xie Friday, February 1, 2013 6:06 AM

Reply:
After clicking Reply, double-click in the "To" field (on the left) and you can edit the email address.

Carey Frisch


------------------------------------
Reply:
I know the address can be edited. the point is 1) the mail app does not respect the "reply-to" header that is sent in the email and 2) there is no way to even know what that reply-to address is (since the app does not expose viewing details that are in the email header).

------------------------------------

CAS Server in one site and 3 primary in 3 site, 4th needs to be prepared with secondary site. how do we do that

Hello

My org has got an existing setup for SCCM 2012 at 3 sites and they want it to be extended to the 4th site. Please advise if this is possible ?

And if yes how ?. Thanks.

The existing infra is

Site A : CAS Server , Primary site, and DP

Site B: Primary Site and DP

Site C: Primary and DP

Site D: The requirement for Site D that they have given are.

a) Primary Site + 2 DP's in the produciton domain.

b) Secondary Site  + 1 DP in DMZ.

Now i am responsible to setup the 4th site.

I know setting up the primary +2 DP's is easy . However, how should i go about the secondary site in DMZ .

Thanks and Regards

Andy


Reply:
You have to provide much more information. What about different forests/domain? All sites have to be placed within domains/forests that got a trust. Otherwise it won't work.
Are you managing a lot of clients (more than 100.000)? A CAS is usually not needed if the number of managed clients are lower. A standalone primary site plus multiple DPs and/or secondaries will work in most scenarios.

Torsten Meringer | http://www.mssccmfaq.de


------------------------------------

Problem with file download in IE 9 and IE 10 using vbMHWB.dll

We have been using vbMHWB.dll (1.2.1.6) in our vb6 code to download files from website.
But in 'windows 7 – Internet explorer 9' and 'windows 8 – Internet explorer 10' we have encountered some problem in file download(working fine in XP, windows7 IE8) through code. No problem comes if we download the file in Internet Explorer manually using browser.
In our code, '.zip' file was not downloaded properly after event 'myWeb_PopUp_FileDownloadEx'
( 0 Kb file will be created and it cannot be deleted unless vb6 exe is closed, and after closing VB6 exe, full .zip file is created) 

But file will be downloaded to temporary internet files. Also if i restart the PC then download becomes successful only for first time.If i again try the same problem persists. I have tested the same code to download pdf files and it worked fine.Only for zip files i got the error.

Then i tried to troubleshoot which thread causes the download to get locked.The thread was ntdll.dll!kifastsystemcallret . So does it may be any problem with ntdll.dll? On closing this thread manually download become successful.

We have also noticed that 'myWeb_PopUp_OnFileDLEndDownload' event is also not fired in this case.The problem with this download will come most of the time i tried it, but only few time the file gets downloaded properly.

Is there any problem or extra settings in IE9, IE10?

  • Changed type Nicholas Li Monday, February 4, 2013 9:43 AM

Reply:

------------------------------------
Reply:

Hi.. Rob

In this thread i have added some other details than my previous thread. 

Also i have found that while downloading the zip file using vbMHWB.dll a new tab is opened in internet explorer and dialog box is displayed asking actions (save ,run and cancel) for the file. But for other files such as pdf no new tab is opened and only download dialog is displayed.So anyone has idea of what the error i am facing? Please help.


------------------------------------
Reply:

Hi,

As the issue is related to development, it is recommended that you visit MSDN forum for help:

Microsoft Developer Network Forums Home
http://social.msdn.microsoft.com/Forums/en-US/categories

Thanks.


Nicholas Li
TechNet Community Support


------------------------------------

A server that contains information about your user account and mailbox can't be found.

Dear all

Recentely we have upgraded to exchange 2010 SP2. Initially there was Kaspersky for exchange servers (8.0)installed which conflicted with exchange and removed according to the recommendation from Kaspersky

http://support.kaspersky.com/8350

Since we installed the new version of antispam, the mail server loses connectivity to local as well as to the internet. FYI, i can not access the internet but still access the computer remotely. If we restart the kaspersky services, all things will get healthy for 8 hrs and then the problem pops up again.

A server that contains information about your user account and mailbox can't be found.

Request
Url: https://mail.mycompany.org:443/owa/auth.owa
User host address: 10.0.0.1
OWA version: 14.2.328.9

Exception
Exception type: Microsoft.Exchange.Data.Directory.ADTransientException
Exception message: Could not find any available Global Catalog in forest mycompany.org

Call stack

Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, ADObjectId domain, String serverName, Int32 port, NetworkCredential credential)
Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType)
Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
Microsoft.Exchange.Data.Directory.ADGenericReader.GetNextResultCollection(Type controlType, DirectoryControl& responseControl)
Microsoft.Exchange.Data.Directory.ADPagedReader`1.GetNextResultCollection()
Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.GetNextPage()
Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.d__4.MoveNext()
Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.FindMiniRecipientBySid[TResult](SecurityIdentifier sId, IEnumerable`1 properties)
Microsoft.Exchange.Clients.Owa.Core.OwaIdentity.CreateOWAMiniRecipientBySid()
Microsoft.Exchange.Clients.Owa.Core.OwaWindowsIdentity.InternalCreateExchangePrincipal()
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.GetExchangePrincipalFromWindowsIdentity(WindowsIdentity windowsIdentity, String smtpAddress)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.HandleIfLegacyRedirect(WindowsIdentity identity, String explicitLogonUser, Configuration owaConfiguration, HttpApplication httpApplication)
Microsoft.Exchange.Clients.Owa.Core.FBASingleSignOnFilterChain.FilterRequest(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.RequestFilterChain.ExecuteRequestFilterChain(Object source, EventArgs e, RequestEventType eventType)
Microsoft.Exchange.Clients.Owa.Core.OwaRequestEventInspector.OnPostAuthorizeRequest(Object sender, EventArgs e)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Dereje


  • Edited by Ferrarid Saturday, January 5, 2013 3:09 PM remove unwated
  • Changed type Ferrarid Saturday, January 5, 2013 3:14 PM delet the responses
  • Changed type Ferrarid Saturday, January 5, 2013 3:16 PM i want to post it to directory services

Reply:

Exception
Exception type: Microsoft.Exchange.Data.Directory.ADTransientException
Exception message: Could not find any available Global Catalog in forest sosethiopia.org.et.

This is one of the interesting thing here. Have you checked the eventlog for any disconnection for this? You may be able to fix the issue once the GC is available

Regards from ExchangeOnline Windows Administrator's Area


------------------------------------
Reply:

I checked and it says that all the domain controllers are not responding. If I remove the anti-spam, everything is fine, no issues at all.


Dereje


------------------------------------
Reply:

According to your description, it seems is a Kaspersky related issue, not a Exchange issue. recommend you contact Kaspersky directly to troubleshoot such problem.


------------------------------------

Manual request of approval for email before delivery

Is there a possbile way to manually request approval for an email from manager for example before delivering it?

This would be benefecial in situations when a manager is asking a subordinate or assistant to prepare an email and review it with him before finally sending it.

Any ideas?


Reply:
http://blogs.technet.com/b/exchange/archive/2009/06/10/3407662.aspx

To some extent using moderation -


Sukh


------------------------------------
Reply:

thanks a lot for the link, but what am looking for is optional moderation, I want a user to have the option to request moderation a specific email before delivering it to the intended recipients.

so that a manager can approve the mail and have it delivered, or reject it with comments that are sent back to the requester.

exchange 2016 maybe :)


------------------------------------
Reply:

Hi,

please see the following link as well:

http://www.msexchange.org/articles_tutorials/exchange-server-2010/management-administration/using-transport-rules-to-moderate-messages-using-exchange-server-2010.html

ecsword


------------------------------------
Reply:

thanks a lot for the link, but what am looking for is optional moderation, I want a user to have the option to request moderation a specific email before delivering it to the intended recipients.

so that a manager can approve the mail and have it delivered, or reject it with comments that are sent back to the requester.

exchange 2016 maybe :)


I see what you mean, for now, they will just have to draft the email and send to the "moderator" and ask for a response with comments back.  Then the user can send to intended recipient.  Basically you can't do this a message basis rather than a recpient.

Sukh


------------------------------------
Reply:

 I see what you mean, for now, they will just have to draft the email and send to the "moderator" and ask for a response with comments back.  Then the user can send to intended recipient.  Basically you can't do this a message basis rather than a recpient.


Sukh


then I guess we should start demanding this feature in a future version, any ideas where the comments and requests box is?

------------------------------------
Reply:

 I see what you mean, for now, they will just have to draft the email and send to the "moderator" and ask for a response with comments back.  Then the user can send to intended recipient.  Basically you can't do this a message basis rather than a recpient.


Sukh


then I guess we should start demanding this feature in a future version, any ideas where the comments and requests box is?

I don't believe they have one on the internet, but I know you can log a call with MSFT and ask for them to file a "DCR" - Design Change Request.  Which will go through the process and be assesed.

A Moderator may be able to contact someone in MSFT and ask them to file on your behalf.


Sukh


------------------------------------
Reply:

 I see what you mean, for now, they will just have to draft the email and send to the "moderator" and ask for a response with comments back.  Then the user can send to intended recipient.  Basically you can't do this a message basis rather than a recpient.


Sukh


then I guess we should start demanding this feature in a future version, any ideas where the comments and requests box is?

I don't believe they have one on the internet, but I know you can log a call with MSFT and ask for them to file a "DCR" - Design Change Request.  Which will go through the process and be assesed.

A Moderator may be able to contact someone in MSFT and ask them to file on your behalf.


Sukh

Yes, please call Microsoft customer service and make DCR to them. Microsoft product feedback team will collect and evaluate it.


------------------------------------

FBI Moneypak Ransomware again

Interesting how systems with active protection software still let the FBI Moneypak infect systems.

Had to remove it today from a system, running "Managed Antivirus" on a corporate network

I ran the new MS Defender Offline from a boot USB, it scanned the system and reported nothing. Anyone getting MS Defender Offline to catch spyware/ransomware?

Had to do it manually from PE.


Reply:
I would never use MS Defender Offline for that. Microsoft's AV database is the most important one for checking if parasite is "detected" or not by their makers. So, if it is new or repacked version and infection is fresh, you can safely assume it will not be detected by Microsoft products. I plan on using Hitman Pro kickstarter more for this task to evaluate how it works. 

------------------------------------
Reply:

Windows Defender detects and removes known spyware only. It is not designed to protect against the full breadth of malicious software, and specifically does not prevent viruses, worms, Trojans, and other malicious software from infecting your machine. The new no-cost solution will be a comprehensive anti-malware solution.

You can try Microsoft Security Essentials and refer to this post.

http://answers.microsoft.com/en-us/protect/forum/mse-protect_start/windows-defender-and-microsoft-security-essentials/5309cb8d-02e1-40e8-974f-0dcedb9ab9fd

Niki Han
TechNet Community Support


------------------------------------

Adding a Custom Dropdown to Edit User RCDC

After asking how to do so at the following post,

  

http://social.technet.microsoft.com/Forums/en-US/ilm2/thread/21595894-b915-4fab-b74b-90a7543086db/#7d4523c8-0371-416e-900c-ed54f9c36de4

  

I have decided to document how I added a custom dropdown to FIM 2010 as I cannot find documentation on how to do this anywhere else. I hope that it finds useful to others.

 

For starters, this was to me not an easy task to figure out. I really would like to know why it is so cumbersome to do something that seems like a lot of people would need to do, but that’s for another day J

 

The dropdown I wanted to add was for ‘Account Status’ which would display if the account is ‘Enabled’ or ‘Disabled’ in the data source Active Directory. This option would also allow helpdesk users or admins to administer the userAccountControl attribute in AD from the FIM Portal interface.

 

The first thing I had to do was create the attribute itself. This is done by going to Administration à Schema Management from the FIM 2010 portal. Once here, you click on All Attributes. What is listed here are all attributes and their associated Resource Types in FIM. To create the ‘AccountStatus’ attribute, click on New. As shown below, enter ‘AccountStatus’ with no spaces for the System Name and ‘Account Status’ for the Display Name. The Data Type is going to be ‘Indexed String’. Click Next.

Photobucket

 

 Leave everything on the Localization tab default and click Next.

 

On the Validation tab as shown below, we will enter the regex expression ^(Enabled|Disabled)?$ with our two desired string values ‘Enabled’ and ‘Disabled’. Click on Finish and then and Submit to complete adding the attribute.

 

 The next step involves associating the attribute with a resource type. This is called ‘Binding’ the attribute. From the Schema Management page, click on All Bindings. From the page that comes up, click on New. As shown below, enter ‘User’ for the Resource Type and ‘Account Status’ for the Attribute Type. This is essentially binding the Account Status attribute to the ‘User’ Resource Type. Click Next.

  

On the ‘Attribute Override’ tab, type in ‘Account Status’ for the Display Name field. Click Next.

 

On the ‘Localization’ tab, click Next.

 

On the ‘Validation’ tab, enter the regex expression ^(Enabled|Disabled)?$ we entered previously for the attribute. Click Finish and then Submit to complete.

 

Now that the Attribute and the Binding are complete, you have to give users permission to see the attribute on the User Edit page. Go to Administration à Management Policy Rules. Look for the rule named Administration: Administrators can read and update Users and click on it. Once it opens, click on the ‘Target Resources’ tab and look at the section named Resource Attributes. Type in at the end the ‘Account Status’ attribute and check it with the validator. Once done click on OK to save the changes.

 

 Lastly, we need to add the actual dropdown control to the RCDC (Resource Control Display Configuration) for User Editing. Go to Administration à Resource Control Display Configuration. From here navigate until you find the RCDC named Configuration for User Editing RCDC and click on it. The following is what you will see:

 

First step is to export the Configuration Data file. Click on the Export configuration link and save the file to your desktop of other folder.

 

Find the file you just exported and open the file in your XML editor of choice. I use notepad but anything will work. Since we are adding a dropdown control, first find another control in the existing file that is already a dropdown in FIM. I used EmployeeType as my example. Copy the control from the beginning tag named <my:Control… to the ending tag </my:Control>. Now take what you copied and paste it in whatever location you desire within the form between two other controls. I chose to place the ‘Account Status’ field after the ‘Account Name’ field. After you paste the control you will need to modify so it looks like this:

<my:Control my:Name="AccountStatus" my:TypeName="UocDropDownList" my:Caption="{Binding Source=schema, Path=AccountStatus.DisplayName}" my:Description="{Binding Source=schema, Path=AccountStatus.Description}" my:RightsLevel="{Binding Source=rights, Path=AccountStatus}">     <my:Properties>     <my:Property my:Name="ValuePath" my:Value="Value"/>     <my:Property my:Name="CaptionPath" my:Value="Caption"/>     <my:Property my:Name="HintPath" my:Value="Hint"/>     <my:Property my:Name="ItemSource" my:Value="{Binding Source=schema, Path=AccountStatus.LocalizedAllowedValues}"/>     <my:Property my:Name="SelectedValue" my:Value="{Binding Source=object, Path=AccountStatus, Mode=TwoWay}"/>     </my:Properties>     </my:Control>        

 

Notice where you specify what attribute you are dealing with where it has AccountStatus in the XML. Once you are complete with modifying this, save the file and make sure it is a .xml file.

 

Now go back to the Configuration for User Editing screen and look at the section named ‘Configuration Data’. Click the ‘Browse’ button and find the XML file you just modified and choose it. Click OK on the bottom of the window and you are done!

 

Now when you click on a user’s name in the FIM Portal, you should see the newly added dropdown box as below:

  

Later I will post more about this drop down, specifically on how to automate actually ‘Disabling’ the account in the data source through the FIM Workflows and MAs.

 

Daniel Lackey

 

  • Changed type dlackey Thursday, March 25, 2010 7:40 PM

Reply:

Thank you for posting this.  We too are struggling with figuring out RCDCs. I hope to apply your post here to the work we are doing.


------------------------------------
Reply:

I was successful in accomplishing this using your example, but we have about 100's fields we want to add to the custom dropdowns, how do you go about accomplishing this? Forexample having the office location field populated with 350 sites with a dropdown.


abu hussien

------------------------------------
Reply:

Thanks for the detailled tutorial, just what I needed.

It eventually worked, but I had to wait a very long time (>10 mn) for the 'refresh' of the web GUI with the new field on the 'user edit' page (I thought it hadn't worked at first), strange... But anyway, it works.


------------------------------------
Reply:

Guy,

Just to rejuvinate this thread, like butheman i need to add department as a drop down but the choices will be about 300, as weel as location about 76. How can this be done?

Thanks.

Andy.


------------------------------------
Reply:

Hi Andy, 

You could look at using a reference attribute rather than a drop down - so it could work in a similar way to the Manager attribute (except it would search against department objects rather than people).

Having said that using reference objects can get rather nasty and for instance you would have to maintain an object for each of the 300 departments (unless you can load them in from an HR system) - but depending on the exact requirements of your scenario and how you want to use the data may be a more usable approach.

Andrew.


------------------------------------
Reply:
Great tutorial! helped me alot.

------------------------------------
Reply:

Since people are still finding/replying to this article, it may be worthwhile pointing out that I've compiled a list of all possible ways to populate an RCDC

Basically there's 4 methods - populate it directly, use an XML source, use the 'allowed values' solution provided above or link to a reference object (as per Andrew's suggestion above).



FIMSpecialist.com | MCTS: FIM 2010


------------------------------------

INFORMATIONAL: Update Stats command - With Rowcount and With Pagecount

Hi Everyone,

I just wanted to put this out there because I think that this feature is so awesome!

The undocumented options of the Update Stats command, WITH ROWCOUNT and WITH PAGECOUNT. Used to trick the optimizer into thinking that tables have more records than they actually do. It is so useful for testing in development environments etc.

Note: only available from 2005 on...

Awesome... Now back to my projects.

Frank


Frank Garcia


  • Edited by Frank J Garcia Wednesday, January 30, 2013 6:44 PM
  • Changed type Dan GuzmanMVP Thursday, January 31, 2013 2:30 AM change type to general discussion

Reply:

Thanks for mentioning this feature as it is indeed useful in development environments.  It is partially documented in the Books Online but unsupported because future compatibility is not guaranteed.


Dan Guzman, SQL Server MVP, http://www.dbdelta.com


------------------------------------

Count the number of tables in databases server wide| Dynamic SQL and USE Statement

Hi folks,

I needed to know the count of all tables in databases server wide and I have written the following code for that.

Hope it helps the others.

Thanks to  Reza Rad to help me complete the code.

DECLARE @COUNTER INT    DECLARE @DBNAME NVARCHAR(MAX)    DECLARE @SQL NVARCHAR(MAX)    DECLARE @TBLCOUNT INT    DECLARE @RESULT TABLE(    ID INT,    DBNAME VARCHAR(MAX),    [NUMBER OF TABLES] VARCHAR(MAX)    )    INSERT INTO @RESULT(ID, DBNAME)    SELECT ROW_NUMBER() OVER (ORDER BY DB.NAME), DB.NAME FROM SYS.DATABASES DB    SET @COUNTER=(SELECT COUNT(*) FROM @RESULT)    WHILE @COUNTER >=1    BEGIN    SET @DBNAME=(SELECT DBNAME FROM @RESULT WHERE ID =@COUNTER)    SET @SQL= N'USE ['+@DBNAME+']; SELECT @TBLCOUNTOUT=COUNT(*) FROM SYS.TABLES'    DECLARE @PARAM NVARCHAR(MAX)    SET @PARAM=N'@TBLCOUNTOUT INT OUTPUT'    EXECUTE SP_EXECUTESQL @SQL,@PARAM,@TBLCOUNTOUT=@TBLCOUNT OUTPUT;    UPDATE @RESULT SET [NUMBER OF TABLES]=@TBLCOUNT WHERE ID=@COUNTER    SET @COUNTER=@COUNTER-1    END    SELECT * FROM @RESULT
Cheers.

Please Mark as Answer or Vote As Helpful if a post solves your problem. MCP, MCTS, MCITP





  • Changed type Tom Phillips Thursday, January 31, 2013 7:12 PM
  • Changed type SoheilBakhshi Thursday, January 31, 2013 10:06 PM It is not a question.
  • Edited by SoheilBakhshi Friday, February 1, 2013 12:46 AM

Reply:

If you are looking for all the user created tables in a server, then I guess we can use the below

Select Count(*)  From sys.objects
Where Type='U'


-Pp


------------------------------------
Reply:

HERE IS ANOTHER QUERY WITH THE SAME STRUCTURE.

BUT, THERE IS NO "USE @DBNAME" IN THIS QUERY:

DECLARE @COUNTER INT    DECLARE @DBNAME NVARCHAR(MAX)    DECLARE @SQL NVARCHAR(MAX)    DECLARE @TBLCOUNT INT    DECLARE @RESULT TABLE(    ID INT,    DBNAME VARCHAR(MAX),    [NUMBER OF TABLES] VARCHAR(MAX)    )    INSERT INTO @RESULT(ID, DBNAME)    SELECT ROW_NUMBER() OVER (ORDER BY DB.NAME), DB.NAME FROM SYS.DATABASES DB    SET @COUNTER=(SELECT COUNT(*) FROM @RESULT)    WHILE @COUNTER >=1    BEGIN    SET @DBNAME=(SELECT DBNAME FROM @RESULT WHERE ID =@COUNTER)    SET @SQL= 'SELECT @TBLCOUNTOUT=COUNT(*) FROM ['+@DBNAME+'].SYS.TABLES'    DECLARE @PARAM NVARCHAR(MAX)    SET @PARAM=N'@TBLCOUNTOUT INT OUTPUT'    EXECUTE SP_EXECUTESQL @SQL,@PARAM,@TBLCOUNTOUT=@TBLCOUNT OUTPUT;    UPDATE @RESULT SET [NUMBER OF TABLES]=@TBLCOUNT WHERE ID=@COUNTER    SET @COUNTER=@COUNTER-1    END    SELECT * FROM @RESULT


CHEERS.


Please Mark as Answer or Vote As Helpful if a post solves your problem. MCP, MCTS, MCITP




------------------------------------

Enhance SSRS 2008 R2 report performance

Hi, We are using SQL Server 2008 R2. I am looking at different options that would enhance performance of the report when run in BIDS environment or ReportServer. I usually call a stored procedure andmost of the time these stored procedures take less than 10 secs to retrieve results in SSMS but take over 5 mins from the ReportServer. What areas should we look at?

SQL Server Version: Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64)  Enterprise Edition (64-bit) (Service Pack 1) (Hypervisor)

Thanks in advance..............


Reply:

Hi Ione721,

I will recommend two thing to read to overcome on your problem because it will resolve through hit and trial:

http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/6ef426ee-2111-49db-8d88-ba2b809ef2e1/

http://sqlcat.com/sqlcat/b/technicalnotes/archive/2009/01/14/reporting-services-performance-optimizations.aspx

i hope this helps you.

Thanks,

Zaim Raza.


------------------------------------

Windows 7 Ultimate Automated Backup

I'm trying to automate the backup of my home PC. I have a 1.5TB boot drive with 1.2TB of data for which I am backing up a system image to another dedicated 1.5TB drive. I know how to schedule the system image backup using Windows Backup and Restore but I would like to have operation automatically overwrite the previous backed up image. I don't see an obvious way to do this so I have to remember to delete the old image before the new backup operation is scheduled to run. Otherwise the operation fails due to lack of space. Is there a setting I am missing or is it not possible to do this under Backup and Restore.

Regards

Warc1


Reply:

Hello Warc1,

Despite the title of this link I use it and it does exactly what you are talking about, it has been a life saver.

http://gallery.technet.microsoft.com/No-disks-are-available-for-da6bf495

I hope this helps you, if so please rate it!

You probably want to change \\[Sharded_Computer\dir\] to D: (or letter drive you are using)

wbadmin start backup -backupTarget:\\[Shared_Computer\dir\]\[Share name] -include:C: -vssFull -AllCritical -quiet


"solutions are not the answer" - Richard M. Nixon


  • Edited by ChadChadChad Wednesday, January 30, 2013 10:38 PM added more info

------------------------------------

sharepoint 2007 search crawl

Dear All,

My Problem is: I have sharepoint 2007 web application and windows server 2008 OS.

I was doing search in sharepoint 2007 and it was working fine.

Recently, I've added a new website page but it didn't appear in the search result.

I also looked up for it in the crawl log but  I didn't find the page url.

When I switch the sharepoint authentication to windows , the problem is solved.

so how can I solve the problem in the form authentication?

My Question again is: how can I make the new page appear in the search result with form based authentication?

Thanks



  • Edited by Ahmad Awad Thursday, January 31, 2013 10:05 PM

Toshiba Portege M400 Battery Life

I have had a Toshiba Portege M400 for a while now, about 8 months. I recently replaced the original battery and got the extended battery as well, this allows me to be away from an outlet for just under 7 hours. My issue is when the extended battery goes to 23%, windows suddenly reports it to be at 3% and should plug it in, so i remove the extended battery, then the primary battery will do the same thing.

The extended battery is 10.8 volt @ 4800 mAh with 6.75% wear

The primary battery is 11.1 volt @ 5600 mAh with 1.09% wear

so both batteries are in great shape, and have been recently calibrated to according to manufacturer specs. My question is, why is windows 7 doing this? I know the issue isn't the batteries, because when it does it, the battery is dead, i have also had the batteries tested professionally, both come back fully functional, with the above wear levels. So i think it may have to do with how 7 communicates with the batteries and charging subsystems.

What is causing 7 to report incorrectly and how do i fix it?

  • Changed type tracycai Friday, February 1, 2013 8:02 AM

Reply:

You can change the timing of when the the Display is turned off and when the computer is put to sleep. With a laptop you do not want over long times, especially if run the laptop using only the battery because you will flatten the battery charge. It is less of a problem if you always run the laptop connected to the mains supply.

To change settings click on the Start Button and select Control Panel, Power Options. In the window that you will see Preferred Plans with two options beneath. One is Balanced ( Recommended ) and the other is Power Saver. The one with the box before checked is your current selection. To the right of each is Change plan settings. Click there and it opens a further window where the options are "Turn off the display" and "Put the computer to sleep" Use the scroll to the right of the current selection to make your changes and click on the Save changes. On a laptop you not select Never.


Hope this helps, Gerry


------------------------------------
Reply:

The problem isn't with the power settings themselves, but with HOW windows 7 is reporting the time remaining.  I clearly state this in my original post. I know the deal with LI-Ion batteries and the whole never running them down past 30% unless you calibrate them. I just want to get 7 to report the proper time remaining.


------------------------------------

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...