Tuesday, January 25, 2022

How to read w32time.log file?

How to read w32time.log file?

We are facing issue with time sync and it is getting changed frequently hence we generated debug log called W32time.log

Please help me how to interpret it.

Regards,

Shashi



Shashi


Reply:
Hi. There are plenty of 3rd party tools out there, but there is this free one - https://gallery.technet.microsoft.com/office/Log-Parser-Studio-cd458765. Hope that helps you.

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

SID And User name

1-How to Get the SID and User Name of the current logon user from system context (system account) ?

In System Context by default it will take the System as a User. Please let me know.

Thanks in Advance .

  • Changed type Bill_Stewart Friday, April 28, 2017 7:39 PM
  • Moved by Bill_Stewart Friday, April 28, 2017 7:40 PM Unanswerable drive-by question

Reply:

The current logged on user is here:

$username = Get-WmiObject Win32_ComputerSystem | select -expand username  $username = $username -replace '\\','\\'  Get-WmiObject win32_UserAccount -Filter "Caption='$username'"


\_(ツ)_/


------------------------------------
Reply:
What's provoking the question?

-- Bill Stewart [Bill_Stewart]


------------------------------------
Reply:
thanks  JRV

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

anavil kongtsn

1234

Can't Play DVD Movies in Windows 7

Since doing a clean install of Windows 7 on my second internal hard drive (dual booting into either Vista or Windows 7), I am not able to view a DVD movie.  Inserting the DVD into one of my two DVD drives opens Windows Media Player to a black screen and nothing else happens.  Opening the chapter list on the right side shows me the chapters, but clicking on any of them does nothing.  Opening the drop-down DVD menu shows the Root Menu grayed out as are the next three items; the bottom four items are active.  The DVD plays as it should on both DVD drives when I boot the system into Vista Ultimate.  I'd appreciate suggestions on what to try next.

Reply:

I believe there may be some issues playing protected dvd's - where your drive has been set as region free?  Is this the case for you?

Niall

 


Niall Ginsbourg - MVP Windows Media Center - Australia

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

Playing DVD's in either Media Center or Media Player seems to be broken.

You can install the software that came with your DVD drive, and that software will play the DVD's just fine. But trying to use MP or MC just results in a black screen.

In fact, they both simply stop reading the drive (check your drive light as you try and play the DVD - it stops seeking). It seems the codecs that are compatible with WinXP or Vista are not compatible with W7.

Or there is an issue with DRM, because the DVD will sometimes play through the first screens - like the FBI warnings - then stop.

It's a beta, and has some problems.


------------------------------------
Reply:
I wondered about that.  When I opened Windows Explorer to check my two CD/DVD drives they were not shown.  When I put a CD in each drive, suddenly there they are with drive letters as they should be, but if the CD is removed, the listing goes away.  So far I've had no problem installing software from a CD; just the DVDs that are a problem.  Now I'll have to remember where I put the software discs that came with the drives :-( .

------------------------------------
Reply:
mobilewares said:

I believe there may be some issues playing protected dvd's - where your drive has been set as region free?  Is this the case for you?

Niall

 


Niall Ginsbourg - MVP Windows Media Center - Australia



No, that is not the case for me; but thanks for the response.

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

I've been successfully watching Pal (Region 4)  DVD's on Windows 7 Media Center (both from the Media and off HD) - which also works fine in WMP. There's the odd glitch (sometimes the movie will freeze and restart after an hour or so - and the dvd menu options sometimes don't register) - but is definitely usable/working.

ps - I've also heard of reports that installing some 3rd party products (which alter the 'default' codecs used) can potentially cause some playback issues. (if you have done this - try to uninstall these products and see if it's the cause).

Niall

 

 


Niall Ginsbourg - MVP Windows Media Center - Australia

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

Mediaplayer and Media Centre play DVD's fine for region 2 in Windows 7, the only 3rd party player I have installed is VLC.

This is on a clean install that dual boots with OpenSolaris.


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

I had a simliar issue with my external hard drive.  It wouldn't play any films via WMC saying that it was the wrong region.  Basically with messing about in the network settings and adding the folder where my films are kept everything was fine.

This was frustrating as the Video Library showed all my films on both the external and internal drives.  All films on the internal drive played fine, all those on the external came up with the region error, but as mentioned changing something in the network settings sorted this out.

Not sure if you guys use external HD's but something to bear in mind.


------------------------------------
Reply:
TOActor said:

Since doing a clean install of Windows 7 on my second internal hard drive (dual booting into either Vista or Windows 7), I am not able to view a DVD movie.  Inserting the DVD into one of my two DVD drives opens Windows Media Player to a black screen and nothing else happens.  Opening the chapter list on the right side shows me the chapters, but clicking on any of them does nothing.  Opening the drop-down DVD menu shows the Root Menu grayed out as are the next three items; the bottom four items are active.  The DVD plays as it should on both DVD drives when I boot the system into Vista Ultimate.  I'd appreciate suggestions on what to try next.


I have this exact same error, I do have k-lite codec pack installed but i have k-lite installed on another pc running win7 and i don't have any issues running dvds.

 

*EDIT* just uninstalled k-lite and had no effect, still can't play dvds. dvd registers, opens wmp but blank screen and nothing else happens



------------------------------------
Reply:
Another addition to my progress on this problem, Have tried a new dvd drive in my computer (this one is sATA connected instead of the IDE i was originally using). Unfortunatly this had no effect and I still couldn't view dvds.

 

*EDIT* I got my DVD's to work! I just downloaded VLC player after reading a similar issue people had been having in vista. I can now watch DVD's on my computer but it has to be through VLC, still can't watch them in wmp or media center. This does suggest a codec issue but i don't know how i can make it work in wmp now. I don't want to have to rely on VLC for watching DVD's when the new wmp looks so good.


------------------------------------
Reply:
Have the same problem with dvd's the odd thing is that Vlc play's them with no problem along with other programs. very odd

------------------------------------
Reply:
Here's the bottom line.  It seems windows 7 comes with no codecs on a clean install.  Are your versions of windows 7 clean installs or upgrades.  Vista home premium comes with pre installed sonic codecs.  When I upgraded vista to windows 7 the DVD play flawlessly.  In the control panel I see the codecs under the list of installed programs.  The clean install does not play dvd's and there are no installed codecs in the control panel.  Not many codecs work.  I've tried several and the only one that works is Anydvd by Slysoft which is trialware (http://www.slysoft.com/en/download.html).  I haven't tried installing Roxio Creator 2009 but I bet this has the codecs in it as well.
IC

------------------------------------
Reply:
Apparently Roxio is the answer.  I'm now able to play the DVD's in Windows 7 since installing Roxio Creator 7.  There have also been a few Windows 7 updates since I first wrote my problem, so I'm not sure if it was one of those that fixed the problem, or the Roxio install.  I'm guessing it's the latter. 

Thanks to everyone for the helpful suggestions.

------------------------------------
Reply:
Interesting.  WMC works on my clean install of Windows 7 just fine.  How are the DVD's ripped to your hard drives?  As an ISO or .VOB files?  Mine are ripped to folders as .VOB and they all show up normally.  My HD-DVD/BLU-RAY drive also seems to be visible via VMC as it is showing the WALL-E disc currently in the drive.  The only third-party software I have installed has been Cyberlink's OEM suite of apps that came with the LG BD drive.  

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

Thank you for the tip about VLC.  I was having the exact same problems from some of my BBC dvds (which are region 2 and 4).  SOOOO frustrating!

VLC played them perfectly!  No more Media Player for me!


------------------------------------
Reply:
Here's the bottom line.  It seems windows 7 comes with no codecs on a clean install.  Are your versions of windows 7 clean installs or upgrades.  Vista home premium comes with pre installed sonic codecs.  When I upgraded vista to windows 7 the DVD play flawlessly.  In the control panel I see the codecs under the list of installed programs.  The clean install does not play dvd's and there are no installed codecs in the control panel.  Not many codecs work.  I've tried several and the only one that works is Anydvd by Slysoft which is trialware (http://www.slysoft.com/en/download.html).  I haven't tried installing Roxio Creator 2009 but I bet this has the codecs in it as well.
IC

Shame you're not correct in this statement.  If win7 came with no codecs, then you'd have NO AUDIO, NO VIDEO, even from wav files, mp3s, avi files..... every single media file type has its own codec, and the player NEEDS that codec to deCODE the data.  Think about the name.

 

As it is win7 comes with all the standard codecs, including the ability to play DVD's, even copy protected ones.

I've never seen this issue until my brother, with a clean install media centre pc is having the region issue on dvds.  I know his machine is fine, as it was his xmas pressie off me, and my last 3 media centres have all been basic installs.  Infact even since XP days you've been able to play DVD's.


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

Bikky73: Windows 7 Home Basic and Starter don't come with a DVD decoder included, and neither did previous versions of Windows:

http://windows.microsoft.com/en-US/windows/help/windows-media-player/dvd-codecs


Tim De Baets
http://www.bm-productions.tk

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

will this work with a windows 7 computer in America?

i want to watch something from a region 4 on an american laptop. would it let me?


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

sydney2345: see the instructions at

http://grok.lsu.edu/article.aspx?articleid=2334

(the instructions are for Vista but should apply to Windows 7 as well)


Tim De Baets
http://www.bm-productions.tk

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

VLC worked for me too.  Thanks.

Just make sure you go to the right site for the download.  http://www.videolan.org/vlc/index.html


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

I've only played two or three DVDs on this bloody machine. I just popped a NEW Roy Orbison Black & White Night DVD into this machine and it won't play it. I've played CDs and even have some stored on it.

YES It's up to date. Are these machines getting crappier or what?


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

Oh, I believe it is an issue with Windows 7 inability to recognize discs. Any disc. A movie, store bought music CD, blank CD.

Windows 7 doesn't work with CD players. Only USB drives. That is apparently the only input output it understands now.


Jim Stiene


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

The drive I got shipped with a Toshiba, so god knows where the software is to reinstall it. It may be a media center and media player conflict. But I've gotten external drives, popped in movies or music, Windows 7 thinks they are blank or no CD. The internal drive, same thing. Replaced the internal, nothing.

I would imagine some update they did on windows made Windows 7 unable to work with any media but MP3s. So they try to sell you on upgrading to 10. Which I hear is just as half assed in that regard.


Jim Stiene


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

Yes, why would anyone want to play a protected movie or CD in their CD player? Obviously the only reason for them are home movies.

You are basically saying Windows 7 can't play anything since everything is protected.


Jim Stiene


  • Edited by Jstiene Wednesday, June 15, 2016 5:12 AM

------------------------------------
Reply:
I am having they same trouble it won't let me watch and kind of dvd I have try pretty much every kind that I was able too and I have had no lucky !!

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

Import Virtual Machine

Hello

When i was importing virtual machine. there was three options:

1- Register the virtual machine in place (use the existing UID)

2- Restore the virtual machine (use the existing UID)

3- Copy the virtaul machine (create a new UID) 

please define me these options with short examples and what is mean by in-place in first option?


Reply:
Hi, Hassan,

Register
If you have a virtual machine were you have already put all of the virtual machine files exactly where you want them, and you just need Hyper-V to start using the virtual machine where it is – this is the option you want to choose.

Restore
If your virtual machine files are stored on a file share / removable drive / etc… and you want Hyper-V to move the files to the appropriate location for you, and then register the virtual machine – this is the option for you.

Copy
If you have a set of virtual machine files that you want to import multiple times (e.g. you are using them as a template for new virtual machines) this is what you want to choose. This will copy the files to an appropriate location, give the virtual machine a new unique ID, and then register the virtual machine.

Regards,
-Tomi

Tomi Pietilä

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Blog
Twitter
LinkedIn



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

HOW CAN CHANGE SERVER NAME IN OUT LOOK 2007

HOW CAN EXCHANGE SERVER NAME IN OUT LOOK 2007 

I AM USING WIFI CONNECTION BUT OUT LOOK SHOWS ME OFFLINE

I CAN USE INTERNET BY BROWSERS

MY MAIL ID IS vineshraj38@gmail.com 


  • Edited by VINESH RAJ Friday, March 10, 2017 8:29 PM

Reply:

This is an Exchange Server forum but it looks like you're trying to connect to GMail. I recommend that you post this in the Outlook Forum:  http://social.technet.microsoft.com/Forums/en-US/outlook/threads  And change your thread type to a question since you're asking one.  Also, your Caps Lock key is stuck.


Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Celebrating 20 years of providing Exchange peer support!



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

[REQUEST FOR FEEDBACK] We need your help - listing Wiki performance issues

Hello all,

we need your help.
We're investigating the Wiki performance issues and need to provide some empirical data / information on the issues that you experience, so the platform owners can link this to platform monitoring/events.

So here is the question...

When you experience an issue with TNWiki, reply to this post and provide the following data:

  1. Link to article you updated/posted
  2. Date & Time (+ Time Zone), this allows us to track back the issues to server or system logs
  3. Issue description: There are a few typical issues. The issue description can be like: time out, error (with error details), save not working, article reverted to previous edit, ...
  4. Your city/region (where are you connected to internet at the time of working on the article). As the TNWiki is hosted on multiple data centers, it's important to know from which region you were connecting to internet/TNWiki.
  5. Browser version

If you want to report the issue to the platform support team immediately: here is the contact page: https://lab.msdn.microsoft.com/mailform/contactus.aspx?refurl=http://technet.microsoft.com/wiki/default.aspx

More info: http://social.technet.microsoft.com/wiki/contents/articles/2368.wiki-known-issues.aspx

If you can provide a screenshot, that would  be great!


Peter Geelen (Wiki Administrator)

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post.
By marking a post as Answered or Helpful, you help others find the answer faster. ]







Reply:

1. Link to article Article updated/posted
http://social.technet.microsoft.com/wiki/contents/articles/34717.technet-guru-competitions-july-2016.aspx

2. Data & Time (+ Time Zone)
    03:15 Israel time

3. Issue description
    Attempt to add comment - failed 3 times, the page reloaded each time and the comment still in the textbox.

4. Your city/region
All Israel is like one small city in US, all can considered as one region :-)


signature   Ronen Ariely
 [Personal Site]    [Blog]    [Facebook]    [Linkedin]


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

Article: http://social.technet.microsoft.com/wiki/contents/articles/34717.technet-guru-competitions-july-2016.aspx

Date: 31/jul/2016, 13h49 CEST

Issues: need to click 4 times to save article (save button is greyed, and reappears in Edit mode, instead of saving the article in published mode)

Region: Brussels, Belgium, West Europe

Browser : IE11


Peter Geelen (Quest For Security) (blog)

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post.
By marking a post as Answered or Helpful, you help others find the answer faster. ]



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

Symptom: Video at: https://1drv.ms/v/s!ApFgP9Ixz_nwcV87w1oHKecv9iY

[view:https://1drv.ms/v/s!ApFgP9Ixz_nwcV87w1oHKecv9iY]


Peter Geelen (Quest For Security) (blog)

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post.
By marking a post as Answered or Helpful, you help others find the answer faster. ]



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

Article: http://social.technet.microsoft.com/wiki/contents/articles/35025.sharepoint-2016-visio-graphic-service-common-issue.aspx

Issues 1: need to click 3 times to save article!

Issue 2: The Table of Contents was created wrong. I needed to edit the HTML code manually and remove extra <h2> tags

Region: Israel

Time: 09:30 israel time

*** The OP use external images since he could not upload the images to the article!


signature   Ronen Ariely
 [Personal Site]    [Blog]    [Facebook]    [Linkedin]


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

FIM/MIM Forum: How to get the maximum return on your forum question?

1/aug/2016, 10h26 CEST

Error 502 - Web server received an invalid response while acting as a gateway or proxy server

Brussels, Belgium

Browser IE11


Peter Geelen (Quest For Security) (blog)

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post.
By marking a post as Answered or Helpful, you help others find the answer faster. ]


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

Article

http://social.technet.microsoft.com/wiki/contents/articles/17641.technet-guru-contributions/edit.aspx

2/August/2016, almost 6 pm in Jerusalem, Israel

Google Chrome

Attempting to save my minor grammar corrections 7th time right now and it is still not saving. The comment I put before first attempt disappeared.

UPDATE. It finally saved after 8 or 9 attempts.


For every expert, there is an equal and opposite expert. - Becker's Law


My blog


My TechNet articles


  • Edited by Naomi N Tuesday, August 2, 2016 2:55 PM

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

trying to edit my documents, I worked about 7 min and try to save it and failed with error(below).

Again write everything and save it again but again failed with error(below).

3rd time, it did not save but no error rather return to edit window.

On 4th attempt, i was successful.

Link: SharePoint 2016 Service Applications Guide

Date: 8-3-2016

Time: 11:20 PM EST

Error


Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://krossfarm.com


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

Date & time see time stamp of this reply (all perso data the same)

10 clicks on the save button for : http://social.technet.microsoft.com/wiki/contents/articles/18931.security-hardening-tips-and-recommendations.aspx


Peter Geelen (Quest For Security) (blog)

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post.
By marking a post as Answered or Helpful, you help others find the answer faster. ]


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

1. Article : http://social.technet.microsoft.com/wiki/contents/articles/35028.code-first-migrations-in-entity-framework.aspx

2. Date & Time (+Time Zone)
02 August 2016 8:45 AM IST

3. Issue Description

i. Attempt to add content 3 times.
ii. Lost the data when posting the article.
iii. Image 6 (
Figure 6: Update existing database) Quality broken with red lines but original image was not this.

4. City /Region

Jaipur, Rajasthan. INDIA

5. Browser
Google Chrome. Latest version




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

Following URL: http://social.technet.microsoft.com/wiki/error.htm?aspxerrorpath=/wiki/contents/articles/34891.vb-net-oop-address-book.aspx

Tried to edit the tags, everytime it take time and sign out me. finally it through the below error.

Time & date: 1:20 PM EST

Mi, USA

Sorry, there was a problem with your last request!

Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too.


Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://krossfarm.com


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

http://social.technet.microsoft.com/wiki/contents/articles/18112.msdntechnet-forums-frequently-asked-questions-faq.aspx

7:30 - 7:45 AM, Mountain time

Attempting to remove extra line break in IE9 mode adds extra line breaks,

Takes multiple attempts to revert to previous save.

After going into IE 8 mode it takes multiple "Save" clicks before the page actually saves.

See https://social.technet.microsoft.com/Forums/en-US/1a2e698a-b4fa-4117-b4f7-5cecdb35e6cd/editing-wiki-adds-extra-breaks-every-time-i-save-the-article?forum=tnwiki for the line break issue.

Will this ever be resolved?


When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})


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

Users have reported issues with Wiki articles creations that do not show up in their profile.

I have at least 2 users experiencing this issue..

  1. https://social.technet.microsoft.com/Forums/en-US/16db42b1-8399-43cb-8009-4d3dd59a6bbf/technet-wiki-new-article-doesnt-add-in-profile?forum=tnwiki#16db42b1-8399-43cb-8009-4d3dd59a6bbf
  2. https://social.technet.microsoft.com/Forums/en-US/086039be-3d72-4d30-b139-a557ade50839/502-error-while-writing-a-tech-net-wikki-article?forum=SCMDM#086039be-3d72-4d30-b139-a557ade50839


See here, most recently:

https://social.technet.microsoft.com/Forums/en-US/16db42b1-8399-43cb-8009-4d3dd59a6bbf/technet-wiki-new-article-doesnt-add-in-profile?forum=TNWiki

And this one is a bit older:

https://social.technet.microsoft.com/Forums/en-US/13526184-4133-4849-ad06-a18d176b1ffa/502-error-while-writing-a-tech-net-wikki-article?forum=tnwiki

User Alondra Cooper published:

http://social.technet.microsoft.com/wiki/contents/articles/35459.windows-10-how-to-install-and-activate-windows-subsystem-for-linux.aspx

But this article (number 35459), does NOT SHOW on her profile,

Keep in mind she has also had an issue with a duplicate article:

http://social.technet.microsoft.com/wiki/contents/articles/35515.how-to-activate-windows-subsystem-for-linux-in-windows-10.aspx

(So, this is NOT the same.)

Ticket raised with support.

Date & time not precise, but use this post's publication date.
City/region: India & US


Peter Geelen (Quest for security) (user page)

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]


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

1. Link to article Article updated/posted
http://social.technet.microsoft.com/wiki/contents/articles/36036.asp-net-mvc-hotel-booking-system-using-angularjs.aspx

2. Data & Time (+ Time Zone)
    04:22 South Korea Time

3. Issue description
    Try to upload image more than 2 time got the error for image upload .

It will more good if the Image uploading will be improved for more fast. In case if we wrote long article and we have images more than 20 its really takes long time to complete writing an article.

4. Your city/region
Seoul/Korea


SYEDSHANU


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

Once again, saving article issue - 2 reports!

  1. Link to article Forum Ninjas Interviews - administration
  2. Date & Time (+ Time Zone) 04:29 UTC+3
  3. Issue description: Saving the article raise an error: Sorry, there was a problem with your last request! Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too.
  4. Your city/region Israel
  5. Browser version chrome Version 54.0.2840.59

  

  1. Link to article Interview with a Forum Ninja
  2. Date & Time (+ Time Zone) 04:29 UTC+3
  3. Issue description: 6 attempts needed in order to save the article after editing 
  4. Your city/region Israel
  5. Browser version chrome Version 54.0.2840.59


signature   Ronen Ariely
 [Personal Site]    [Blog]    [Facebook]    [Linkedin]


------------------------------------
Reply:
  1. Link to article :  http://social.technet.microsoft.com/wiki/contents/articles/36364.xamarin-azure-part-3-offline-sync.aspx
  2. Date & Time : 28 Nov 2016. Around 10 PM, exact time not available.  GMT+4
  3. Issue description: While saving the new article, the page timed out. The article was however created, but in my profile, the article count stayed same. (should be article + 1). Link to profile: https://social.technet.microsoft.com/Profile/chervine
  4. Your city/region Mauritius
  5. Browser version Chrome Version 54.0.2840.99 

As you see in screenshot from my profile , it seemed I never created the article despite getting the details for article editing.


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

Some more to report, star date 2016-12-22 10h30 CET, with IE11

http://social.technet.microsoft.com/wiki/contents/articles/35097.forum-ninjas-blog-authoring-schedule.aspx

Took 8 times to save the article


Peter Geelen - MVP Enterprise Mobility (Identity and Access) (user page)

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]


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

1. Article: https://social.technet.microsoft.com/wiki/contents/articles/37419.asp-net-core-understanding-controller-suffix-in-model-view-controller.aspx

2. Date & Time (+ Time Zone): 08 March, 2017; 02:55 AM Bangladesh Time (GMT +6)

3. Issue description: Tried to add a new article but doesn't updated the no. of new articles count in my profile. After submitting page was loading for a while then come back to the submit page again.

Then again when I try to submit again, it says article already exist. Turns out TN Wiki recognizes my article as "Revision" not a "New added" article. And sad part is that it doesn't update the new article count in my TN profile only updates the number of article edits. I have also faced the same issue with my another article also. Which doesn't reflect on my profile new article counts. The no. of new article count in my profile is showing 2 article short.

4. City: Dhaka, Bangladesh

5. Browser: Chrome

As from the screenshot says I never created article but I did.

ProfileHistory

It shows here but count doesn't reflect on my profile:

site:http://social.technet.microsoft.com/wiki/ "First published by Sabah Shariq"


Thanks,
Sabah Shariq

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]






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

DNS scavenging on Zone level

Can any one suggest me the best practice to set DNS scavenging

When i right click on DNS server and see the set aging/Scavenging for all zones enabled for 7 days

and when i right click on DNS server and see the advanced tab i can see the aging is enabled for 7 days

but when i right click on zone and see Aging Tab i can see scavenging for slate resource records not enabled

we can see lot of stale records not getting updated/removed and seeing dns resolution issues

do i need to set Zone scavenging in all DNS servers

suggest me the best practice

Outlook 2016 and Terminalserver 2016

Hi,

we migrated from Win 2008 R2 to Win 2016 Terminalservers with Outlook 2016. Some users has the problem, when they start Outlook, they see the mails, but can not delete them. The connection state of Outlook say it is connected. Outlook starts working again, if the user cheks the Connection Status and click Reconnect. All other Outlooks in our company work fine beside of the terminalserverinstallations. With 2008 R2 we had no such problems. Has anybody seen this behavior before?

Best Regards,

Thomas

Bug in MS paint in windows 7

I have found a bug in Paint in Windows 7.

Basically to reproduce it open any picture that is too large for ms paint to display on the screen in one go at 100%, scroll to the bottom of the image, select the bottom square so you can reduce the canvas size. Now reduce the canvas size by clicking and dragging the resize square upwards and let go of the mouse.

When you let go of the mouse this causes the screen and picture to readjust to fit to the new canvas size. When this happens ms paint moves the image down and in doing so cuts off the bottom section of the image making you lose parts of the image you wanted to keep.

I dont believe any other versions of Paint did this.

Reply:
Paint in Windows 7 is a new application written in .NET I think, so this might explain the difference in behavior
with the previous versions.

------------------------------------
Reply:
its cause u have crop selected instead of rezize crop is the default option for some reason

------------------------------------
Reply:
That's not the reason, but thanks for trying.

It is actually a bug, i wanted to crop the canvass as it was too large for the picture, and after cropping the picture is lowered on the canvass causing you to lose parts of the picture you hadn't told MSPAINT to remove.

The older versions didn't do this, and i am a pretty experienced user with MSPAINT so i know it is not something i am doing wrong.

------------------------------------
Reply:
Hi Usrhlp,

This behavior is by design. Clicking and dragging the resize square will resize the picture by Pixels, it will lose parts of picture. You can resize the picture by percentage, it won't lose part of picture. To do this : plase click Resize in tool bar.

Thank you for your understanding.

------------------------------------
Reply:
No, this ISN'T by design.

I will add some pictures to show you what i mean.

This is step one, get a picture that is bigger than your current screen and open it in MSPAINT. Zoom to 50% (i dont think this matters but its what i did so i could see more of the image on the screen). Scroll to the bottom of the image so you are at the lowest point on the canvass. Your screen should look like this.

http://deanmoncaster.byethost7.com/step1.png

Now click the bottom middle crop square on the canvass and drag it to an arbitary location, in my above picture you can see the red line where i cropped the picture.

The result is shown here.

http://deanmoncaster.byethost7.com/step2.png

As you can clearly see, MSPAINT has cropped the picture but in the process has managed to crop a lot more of the picture than I actually told it to crop, roughly 3 or 4 inches worth.

I hope this better explains the bug that i have found in MSPAINT. This really is a bug, it isn't a feature and it certainly better not be by design! lol

Dean

------------------------------------
Reply:
i can see that but it may just be a problem with your computer or installation of your os because it works fine in mine and my uncles one works fine aswell

im going to post 3 pictures the first one is before i have put it into paint this is so u know what the whole picture looks like just so you know


http://i241.photobucket.com/albums/ff28/gazza126/Capture1-1.png

the next one is in paint i have drew a red line where i am going to crop to

http://i241.photobucket.com/albums/ff28/gazza126/Capture2.png

as you can see i am going to crop on the outside of the middle of the red line the third pic is after i have cropped it is cropped to exactly the right place no extra's taken off

http://i241.photobucket.com/albums/ff28/gazza126/Capture3.png

and that is the final pic as you can see it has cropped to exactly the right place.
  • Edited by welsh4eva Thursday, August 20, 2009 11:50 AM

------------------------------------
Reply:
This install is basically clean with all updates applied on the RTM version of Windows 7 (NOT RC, or BETA). If there is something wrong with the install already ill be sadly disappointed with Windows. I've only had it installed just over a week.

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

the updates are for the release canditate as the complete os dosn't get released until 22nd october and also even the complete os will have bugs that is why microsoft have live updates so that if they do find a bug they can get it fixed as soon as possible and in terms of rc's this is a very good one and the rc install can sometimes get corrupted or have somting wrong which dosn't happen to evry1 else okay hope this helps a bit even tho it probably won't but at least i tried.

gaz


------------------------------------
Reply:
You have tried and i appreciate it.

I am a technet subscriber so i get windows 7 a couple of months before you which is how i am using the version of Windows 7 you will get in october.

From what i have heard a few bugs that were not in the RC have managed to find themselves into the RTM version. I think that this paint bug is one such problem.

Can you confirm you are using the RC gaz?

------------------------------------
Reply:
yes i am using the rc and no bug with paint so maybe is that not sure but im sure microsoft will fix it in a future update after the main release

------------------------------------
Reply:
I can confirm this.
I have the RTM version via an MSDN subscription.  I tried your experiment and did not see the problem when at 100% zoom.  Changing to 50% showed the bug exactly as described (except I had a different picture :-) , I used http://imgs.xkcd.com/comics/height.png)
Paul

------------------------------------
Reply:
Thank you for your confirmation Paul, nice picture too, I haven't seen that one for a while and was great to look at!

Dean

------------------------------------
Reply:
Thank you for all efforts.

I will involve our feedback team on the issue.

Again, Thank you.

------------------------------------
Reply:
My friend has also tried to replicate this and confirms it happens on his system too.

Windows 7 RTM.

Dean

------------------------------------
Reply:
Thanks for your input gaz, can you try to do it again only this time following the steps i mentioned?

The image you have used at 50% zoom is not larger than your display area and as such doesn't contain a scroll bar like in BOTH of my pictures, i had highlighted them using a large RED ARROW.

Also can you try using the middle lower resize square instead of the right lower one as shown in step 1?

Dean

------------------------------------
Reply:
I have managed to work out what seems to be causing this BUG.

First off create a canvass, that when at 50% or 25% zoom it is too large for the screen to display in one go and vertical scroll bars are displayed down the right hand side.

Now when at 25% or 50% with vertical scroll bars on display, scroll to the bottom of the screen and note the length of your canvass, in my instance the length is 29.04 inches.

Now click and hold the mouse button on either of the bottom two canvass resize squares and start moving the mouse up and down as though you were going to resize the canvass BUT DONT LET THE MOUSE BUTTON GO. Eventually return the mouse back to the location that it started and look at the NEW canvass length. In my instance here it is 23.75 inches. You can now release the mouse button.

In effect, i have lost 5 inches of picture by merely grabbing the canvass resize square, extending the cavass size, then decreasing the canvass size and finally returning the canvass back to the original size before releasing my mouse button.

It seems as though the counting mechanism for the diameters of the canvass are screwed when at 25% and 50% zoom. I cannot get paint to do this at 12.5% or anything larger than 50%.

Hopefully you can recreate the bug and i have helped narrow it down a little.

Dean

------------------------------------
Reply:
okay ill try followig your steps with a bigger picture

------------------------------------
Reply:
just tried it does cut an extra bit off sure theyll fix it eventually and its not really too much of a problem just don't cut as much off

------------------------------------
Reply:
You make it sound like people are randomly cutting parts off their pictures lol.

people cut a certain amount off for a reason, having to try and work out how much to cut off in order to compensate for a software bug isn't something we should have to do.

------------------------------------
Reply:
lol i understand that but it is the best thing we can do right now to just guess how much you need to actually take off t get it right will be a pain but best ny1 can do right now i also noticed the bigger the picture is the more extra it takes off

gaz

------------------------------------
Reply:
Hi, I also have this problem (on a new computer bought months after windows 7 release) did your's get fixed in an update or is it still doing this? Thanks

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

Unbelievable. This BUG was reported back in 2009 and still reproducible in Windows 7 Professional Version 6.1.7600 Build 7600. Microsoft, DO something about it!!

 

thanks


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

Bug still exists as of 26/03/12.

This is a fucking joke that this still exists. MICROSOFT FUCKING GIVE AN UPDATE YOU FUCKS.


------------------------------------
Reply:
I was looking for this today to remark that it's still an issue and found that I'm only the second person to so so today. What the hell, microsoft?

------------------------------------
Reply:
Here it is, July 2nd of 2012, and this bug still persists.  It's caused me a tremendous amount of trouble, but thanks to this thread I know a work around now (do image re-sizing at 100% or 12.5%).  Thanks everyone!  (P.S. Microsoft, wake up.)

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

Almost at 3 years now...

Unbelievable that either no one from MS reads these posts or MS think it's ok to have a bug exist for 3 years.

Which is it?


------------------------------------
Reply:
Bumping this up.

MS Fix your shit.

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

Windows 8 Release Preview still has the problem so I started a new thread

http://social.technet.microsoft.com/Forums/en/w8itproappcompat/thread/35919069-39f4-4265-bb8f-4ea3b88e9beb


Paul Linton


  • Edited by PaulLinton Wednesday, August 1, 2012 7:49 AM

------------------------------------
Reply:
This bug still persists, Microsoft should be ashamed!

------------------------------------
Reply:
It's July 9, 2015 now. I'm having this same issue in Windows 8.1.

------------------------------------
Reply:
Pretty sad that 7 years later, they cant fix a simple bug.

Get your act together, Microsoft.

Is there anyone out there, independent programmers that can fix this bug?


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

Still a bug in Win10 Anniversary Update...

What a pity. Soon we have to organise a 10th birthday party for this little bug.

 

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

I'm having the same problem with extra areas getting cut off when I try to crop carefully, but I can now work around it by making sure to be at 100% zoom crop.  Sometimes that might be impractical, but if other commenters are correct it should also be safe at 12.5% zoom.  Silly.

Anyways, thanks SO MUCH for your help, peeps.  Now back to my drawing board!

/ba-dum-tss


------------------------------------
Reply:
Apparently it's still happening in March 2017 on Windows 10. In my case it automatically cuts of the bottom of my picture when I try to cut off the right side of the picture. Somehow it doesn't happen vice versa, so now I extend a white space at the bottom of the picture first, then I cut off the right side, letting the bug cut off the white space at the bottom. Then when I'm done with the right, I cut off any remaining white space at the bottom. Yes, it's troublesome and annoying.

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

Issue 1058 error code 65 Default Domain Policy solution

Hi everyone,

I'd like to share with you the solution I found to fix an issue when there is an update of the admx/adml template inside the PolicyDefinitions from the sysvol of a domain controller.

After an upgrade, there is sometime an issue with ID '1058' in the event log and (with Get-GPO from Powershell) we can determine this is the Default Domain Policy.

If the policy seems correct with permissions, try to remove the 'Authenticated Users' in the Scope group filtering, and re-added after.

Make sure this group has the read in the delegation and you can do a gpupdate /force.

Normally it works.

Regards.

  • Changed type Wendy Jiang Friday, March 10, 2017 1:56 AM solution share

Reply:
Hi,
Great share, and it will be greatly helpful to others who have the same question. Thank you so much to share in this forum.
Best regards,
Wendy

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


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

Lock Screen by GPO after Update November 2016

Hi everyone,

I would like to share with you the solution I found to solve the issue about applying the "force custom lock screen" gpo on the windows 10 pro, which doesn't work after November 2016 update.

You have to update the PolicyDefinitions inside de sysvol of one Domain Controller by the last .admx/.adml templates (see below):

https://www.microsoft.com/en-us/download/details.aspx?id=53430

After that you will be able to force the lock screen by the same option.

Regards.

  • Changed type Wendy Jiang Friday, March 10, 2017 1:52 AM solution share

Reply:
Hi,
Great share, and it will be greatly helpful to others who have the same question. Thank you so much to share in this forum.
Best regards,
Wendy

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


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

NIC Teaming Host Unmanageable and general error not covered by more specific error

Found one of our cluster nodes with NIC teaming has this problem: NIC teaming shows the Host Unmanageable, and all the NetLBFOTeam PowerShell cmdlets return the following:

Get-NetLbfoTeamNic : A general error occurred that is not covered by a more specific error code.
At line:1 char:1
+ Get-NetLbfoTeamNic
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_NetLbfoTeamNic:root/StandardCimv2/MSFT_NetLbfoTeamNic) [Get-NetLbfoTeamNic], CimException
    + FullyQualifiedErrorId : MI RESULT 1,Get-NetLbfoTeamNic

This may have started when the switches that this cluster uses were replaced/reconfigured unsuccessfully.  The other nodes are OK.

Since we cannot manipulate the team in any way, we plan to rebuild this node.  I just wanted to put something in the forums on this error message since I couldn't find anything. 


Reply:

We had a power outage over the weekend and 2/4 of our hosts have the same issue.

Rebuilding here as well; a good reason right here to keep your cluster clean of unclustered VMs!


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

I get this error after having VMM 2012 R2 uncluster my Server 2012 R2 cluster:

PS C:\Windows\system32> Get-NetLbfoTeam
Get-NetLbfoTeam : A general error occurred that is not covered by a more specific error code.
At line:1 char:1
+ Get-NetLbfoTeam
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_NetLbfoTeam:root/StandardCimv2/MSFT_NetLbfoTeam) [Get-NetLbfoTeam], CimException
    + FullyQualifiedErrorId : MI RESULT 1,Get-NetLbfoTeam

WMI filling with : ClientProcessId = 3300; Component = Unknown; Operation = Start IWbemServices::ExecQuery - root\standardcimv2 : SELECT  * FROM MSFT_NetLbfoTeam; ResultCode = 0x80041001; PossibleCause = Unknown

I have not been able to find a workaround to this issue.



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

We have 3 of 9 hosts in a 2012 RTM Hyper-V Cluster in the same state after an un-clean shutdown due to cooling issues.  Our VMware cluster came back just fine...

Incidentally, we had the same issue after we had an HP Flex LOM module fail in a server and had to rebuild after the faulty component was replaced.


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

Hi, I've encountered this issue two weeks ago in a Windows 2012 Hyper-V Cluster.

Due to a planned electrical maintenance, I've taken a full shut down of the entire cluster environment: three nodes and a SAN.

When I've powered on the system, I've discovered that the cluster nodes were having troubles connecting each other via network.

After some more research I've found all three nodes with this issue related to the teams and no NIC were present on "Control Panel\Network and Internet\Network Connections".

I was first able to have the NICs/Teams back with this procedure:

http://social.technet.microsoft.com/Forums/windowsserver/en-US/e2cc0c20-2f73-46d5-9db3-96af0d028f2c/windows-2012-network-teaming-broken-host-unmanageable?forum=winserverPN

But the bindings were all incorrect. For example, the "Client for Microsoft Network" was selected but not functioning.

To repair the bindings I've done an unselect/save/select/save again.

Also after that I was able to bring a cluster node up and running, but unable to have a correct communication between the nodes.

I've finished rebuilding all the three nodes one at a time.

I'm searching for the root of the probem, but not find anything yet.

My configuration is:

- Nodes Dell PE R720

- NIC Intel I350 / X520

- SAN Dell Equallogic 6110

- O.S. Windows 2012

Wich hardware/software configuration do you have on the other similar cases?

Regards,

Marco


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

I had the same issue in my 3 nodes server.

I solved after remove/install the hyper-v role.

Yes, I need to reconfigure all vswitches from scratch.


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

i want to download the basic generic driveresfor my laptop hp 8540w mobile workstation

i want to download the basic generic driveresfor my laptop hp 8540w mobile workstation

 because hp didn't develop drivers for windown 10


Reply:

Hi Haythoom.

The generic drivers used by Windows are bundled with the Windows installation disc, but I'd suggest you not try installing Windows 10: you've correctly stated that there are no updated drivers (the latest ones have been released for Windows 7), so that would be enough to say that a Windows version newer that Windows 7 is not supported on that PC and installing that could lead to problems.

Bye.


Luigi Bruno
MCP, MCTS, MOS, MTA


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

Master Data Services 2012 vs 2016 Hosted

I have a Question what happened with the parameter &Hosted=true (for include the MasterDataServices 2012 ) into a frame but into of SQL 2016 this parameter doesn't work

Thanks a lot for all answers

Bye

Reply:
Ricardo, have you made any progress with this issue?
Thanks!

Ed Price, Azure Development Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

Answer an interesting question? Create a wiki article about it!


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

Same problem here. Would be nice to know if there is sth similar.

[UPDATE] : 

I have found the solution for this after searching through the mds WebApplication files. It was hidden under 

./scripts/_Layouts.js

...

    var url = new utilities.Url();
    if (url.Params.HideHeader === "true") {
        $("#header").hide();
        $("div.content").height($("div.content").height() + 116);
    }

    if (url.Params.HideMenu === "true") {
        $("#menu").hide();
        $("div.content").height($("div.content").height() + 39);
    }

...

To make it short, add the URL Parameters HideHeader=true and HideMenu=true to your URL. For Example:

http://<mdsserviceurl>/Explore?HideHeader=true&HideMenu=true&MID=08d60b6.....

Good luck with it!



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

Something doesn't work

does not work

  • Split by Bill_Stewart Thursday, March 9, 2017 3:50 PM Unanswerable

Powershell - capture a running process and reopen it and the same state ( after closing it ) on Remote Computer

Hello,

I wonder if it is possible to save a running process information of outlook in order to reopen it at the same state.

The reason is, I have to copy a file in the outlook directory while renaming an exiting one before it in order to replace it, from time to time the file is being used by outlook, what im trying to do is to close outlook remotely and reopen it after 1-2 sec's.

I remember some old discussion about this topic but i cant find it  :)

at for now i can store the process, close it but i can only open a new session of that process ( outlook )

any idea how to do this ?

thx,

Wavestone


Reply:

It is not possible to run Outlook remotely.  That is specifically excluded by Microsoft.  You can never successfully run any GUI program remotely if it has not been designed to be run that way.

What you are trying to do can be very disruptive and may crash the remote system or, at a minimum, make Outlook unusable.


\_(ツ)_/


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

asp developers usage statistics versus php not 50%-50% in the Netherlands ??

Hello, I looked at the usage of programming languages for web development. It seems currently 50-50 for ASP versus php. I would like to know if there are reliable sources that can specifiy this usage comparison within the Netherlands. "Some" say this 50-50 is not applicable for "us" and php is used much more in the Netherlands .. somewhere in the range of 10(php) to 1(asp). 

Any reliable source or comment in this statistics question is welcome.

Thanks, pete_r61



  • Edited by pete_r61 Wednesday, March 8, 2017 10:29 PM
  • Changed type Bill_Stewart Thursday, March 9, 2017 3:47 PM
  • Moved by Bill_Stewart Thursday, March 9, 2017 3:47 PM Off-topic

Reply:
And you are asking this question here (in a Windows OS scripting forum) because...?

-- Bill Stewart [Bill_Stewart]


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

Post here: http://forums.iis.net


\_(ツ)_/


------------------------------------
Reply:
thanks.... was not sure where to post it. 

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

Best practice for Exchange Backup via Windows Backup

Hi All,

We used Netbackup to take  Exchange data store backups. due to bad timings I am no longer have this facility.

I have to use Windows Backup solution to take Mailbox Database backups. I have around 40 mailbox Database ranging from 100GB to 285GB spread across 4 servers.

can someone share their experience with Windows Backup and its best practices for implementation? PowerShell solution will also work for me or anyone have done some Orchestrator work for backups.

Thanks,

Zak


ZakBhai


Reply:

Hi

Have a look at Jaap's technet article here:

https://technet.microsoft.com/en-us/library/jj906377.aspx?f=255&MSPPError=-2147217396


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

Using Powershell to list all users that had completed a password reset within the last 30 days

  Summary
 

The script code below lists the Display Name and the Date/time of users that had completed a password reset within the last 30 days and export it to a CSV File.
The script queries a MPR called "Anonymous users can reset their password" and returns its ObjectID, then use it to do a new query searching for "requests" with these parameters:

  1. ManagementPolicy = ObjectID of "Anonymous users can reset their password"
  2. RequestStatus = Completed
  3. CreatedTime after 30 days ago

 

set-variable -name URI -value "http://localhost:5725/resourcemanagementservice' " -option constant   set-variable -name CSV -value "ExportResetPassUsers.csv"  If(@(Get-PSSnapin | Where-Object {$_.Name -eq "FIMAutomation"} ).count -eq 0) {Add-PSSnapin FIMAutomation}  clear  $MPRFilter = "/ManagementPolicyRule[DisplayName='Anonymous users can reset their password']"  $curObjectMPR = export-fimconfig -uri $URI –onlyBaseResources -customconfig ($MPRFilter) -ErrorVariable Err -ErrorAction SilentlyContinue   $MPRObjectID = (($curObjectMPR.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "ObjectID"}).value).split(":")[2]  $Filter = "/Request[(ManagementPolicy = '$MPRObjectID') and (RequestStatus = 'Completed') and (CreatedTime > op:subtract-dayTimeDuration-from-dateTime(fn:current-dateTime(), xs:dayTimeDuration('P30D')))]"  $curObject = export-fimconfig -uri $URI –onlyBaseResources -customconfig ($Filter) -ErrorVariable Err -ErrorAction SilentlyContinue   [array]$users = $null   foreach($Object in $curObject)   {   $ResetPass = New-Object PSObject   $UserDisplayName = (($Object.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "DisplayName"}).Value).split("'")[1]   $ResetDateTime = (($Object.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "CreatedTime"}).Value)   $ResetPass | Add-Member NoteProperty "DisplayName" $UserDisplayName   $ResetPass | Add-Member NoteProperty "ResetDateTime" $ResetDateTime   $Users += $ResetPass  }   $users | export-csv -path $CSV  

 

  Go to the FIM ScriptBox

***** Paulo H. Campos - São Paulo/Brasil ***** http://identitypedia.blogspot.com (in PT-BR)

Reply:

I believe that i posted in the wrong place last time: 

Paulo, your script works great!  the problem i'm seeing is that when i add an extra attribute to the export list, that extra column never gets any data included in it.  Is it possible for you to test the following script in your environment to ensure it isn't just a bug on myside?

set-variable -name URI -value "http://localhost:5725/resourcemanagementservice' " -option constant
set-variable -name CSV -value "ExportResetPassUsers.csv"
If(@(Get-PSSnapin | Where-Object {$_.Name -eq "FIMAutomation"} ).count -eq 0) {Add-PSSnapin FIMAutomation}
clear
$MPRFilter = "/ManagementPolicyRule[DisplayName='Anonymous users can reset their password']"
$curObjectMPR = export-fimconfig -uri $URI –onlyBaseResources -customconfig ($MPRFilter) -ErrorVariable Err -ErrorAction SilentlyContinue
$MPRObjectID = (($curObjectMPR.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "ObjectID"}).value).split(":")[2]
$Filter = "/Request[(ManagementPolicy = '$MPRObjectID') and (RequestStatus = 'Completed') and (CreatedTime > op:subtract-dayTimeDuration-from-dateTime(fn:current-dateTime(), xs:dayTimeDuration('P5D')))]"
$curObject = export-fimconfig -uri $URI –onlyBaseResources -customconfig ($Filter) -ErrorVariable Err -ErrorAction SilentlyContinue
[array]$users = $null
foreach($Object in $curObject)
{
 $ResetPass = New-Object PSObject
 $UserDisplayName = (($Object.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "DisplayName"}).Value).split("'")[1]
 $ResetDateTime = (($Object.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "CreatedTime"}).Value)
 $EmployeeID = (($Object.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "EmployeeID"}).Value)
 $ResetPass | Add-Member NoteProperty "DisplayName" $UserDisplayName
 $ResetPass | Add-Member NoteProperty "ResetDateTime" $ResetDateTime
 $ResetPass | Add-Member NoteProperty "EmployeeID" $EmployeeID
 $Users += $ResetPass
}
 $users
# $users | export-csv -path $CSV

Thanks for your assistance!

Steve Kenealy


------------------------------------
Reply:
 I believe that i have found a possible reason for the problem.  I'm pretty sure the resource type applied to the Binding for Employee ID is not present.  Just trying to figure out which Binding i'm needing to create now.

------------------------------------
Reply:
I have added all the bindings that are present for createdTime as well and that didn't solve the issue.  I did try to export yet another attribute that had all of those bindings like Creator and sure enough it exported just find.  Looking at Sets or something like that to see if that is where it is being included.

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

Hi Paulo,

Thanks for script & it is working perfectly.

Could you please help me with script to retrieve the user who registered to FIM self service with in last 30 days.

I have the below script logic to retrieve all the user who registered to FIM self service. could you please help me to retrieve users who registered before 30 days.

# Get Object ID for 'Password Reset AuthN Workflow' WF
$AuthNFilter = "/WorkflowDefinition[DisplayName='Password Reset AuthN Workflow']" 
$AuthNExport = export-fimconfig -uri $URI –onlyBaseResources -customconfig ($AuthN_Filter) -ErrorVariable Err -ErrorAction SilentlyContinue 
$AuthNObjectID = (($AuthN_Export.ResourceManagementObject.ResourceManagementAttributes | Where-Object {$_.AttributeName -eq "ObjectID"}).value).split(":")[2]

Kindly Help. 

Thanks in advance.



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

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...