Quantcast
Channel: TechNet Blogs
Viewing all 17778 articles
Browse latest View live

Top Support Solutions for Windows Server 2012 R2

$
0
0

This is a collection of the top Microsoft Support solutions for the most common issues experienced when using Windows Server 2012 and Windows Server 2012 R2 (updated quarterly). Note that some content that applies to earlier versions of Windows Server is listed, because it can be also helpful with Windows Server 2012 issues.

1. Solutions related to Active Directory Federation Services (AD FS):

2. Solutions related to Clustering:

3. Solutions related to Bugchecks, Stop errors, and unexpected restarts:

4. Solutions related to Active Directory replication:

5. Solutions related to Remote access (DirectAccess):

6. Solutions related to Access to file shares (SMB):

7. Solutions related to File Replication Technologies (FRS and DFSR):

8. Solutions related to General Active Directory issues:

9. Solutions related to Remote Desktop Services (Terminal Services) licensing:

10. Solutions related to Virtualization and Hyper-V issues:


Exchange 2013 impact on legacy OAB settings

$
0
0

Much has been written about the new and changing ways OAB (Offline Address Book) generation in Exchange 2013 works: RTM process, CU5 process, and now CU7 process. However, I want to remind everyone of what happens when you go to install Exchange 2013 in a legacy (2007 or 2010) Exchange environment. This was also covered in the CU1 information, but many of you are not thinking of those steps from way back then.

If you have any Exchange databases in the organization that do not have an OAB defined, then once the first Exchange 2013 server is up and running, every client that has a mailbox in an undefined OAB DB (Database), will download the OAB. Yep, download the entire OAB. Couple this with most engineers building out a pre-production server during the day, and you can have potentially some big impact to client experiences and network bandwidth.

There is an extremely easy way to prevent this out of control OAB download from happening. Before you go to install your first Exchange 2013 server, just set all DB’s with an OAB value. And of course, our friend PowerShell (PS) can help. While some organizations may need to set OAB’s on DB’s for specific locations or regional areas, most companies just use a single OAB source. So setting all DB’s to the same default OAB value is usually an option.

To see which, if any databases don’t have an OAB set, run this PS within the Exchange Management Shell (EMS):

Get-MailboxDatabase | Where {$_.OfflineAddressBook -eq $Null} | FT Name,OfflineAddressBook –AutoSize

This command says to get all mailbox databases, filter that result down to where just the OAB attribute value is null (empty), then format a table view with the name of the DB and the OAB value (which would be null). To set all null valued DB’s to the default value, our friend PS is leveraged again:

Get-MailboxDatabase | Where {$_.OfflineAddressBook -eq $Null} | Set-MailboxDatabase -OfflineAddressBook (Get-OfflineAddressBook) | Where {$_.IsDefault -eq $True})

This next command then takes all of the DB’s with null OAB values, sets those specific DB’s OAB attribute to use the current default OAB and write that default value to the DB’s filtered out in the get portion of the one-liner.

To confirm this second cmdlet has run and set the values for the OAB attribute, just re-run the first one-liner. (Hint: in the PS shell window, just up arrow on the keyboard to scroll through previous cmdlets that you’ve run.)

To see the current values for OAB settings on all of the DB’s:

Get-MailboxDatabase | FT Name,Of* –AutoSize


Conclusion

There you have it. One more step to ensure you have setup a controlled migration process as you install your new Exchange 2013 environment. We do flag you in the EXRAP toolset, if you have the ability to purchase one of these engagements from Microsoft. No need to have users impacted when you do have the ability to control the environment. For additional steps on how to migrate, don’t forget to visit the ExDeloy2013 website.

Wiki Life: TechNet Wiki + MSDN/TechNet Gallery = AMAZING!!!!

$
0
0

Welcome to Wiki Life Wednesday! For this Wiki Life, I'm bringing back one of my favorite series to blog about: social synergy.

 

First, I want to say that this topic isn't new. For years, we've been preaching the value of using MSDN and TechNet Gallery in conjunction with TechNet Wiki! In fact, this blog post is over 3 years old: Wiki Life: Should I use the Gallery or TechNet Wiki?

And there's no real reason to repeat all that, because it's still the same! All the arguments are still golden!

Read all about it here:

   

So then what is today's blog about?

Well, thanks to XAML guy's amazing-tastic monthly TechNet Guru contest, we've had a lot of great articles posted on TechNet Wiki in the last year and a half, and those articles have had a LOT of code in them! And that was a great place for us to recommend best practices of putting your larger code snippets and samples up on the Gallery! 

In other words, when we wrote those blogs above, we were writing about WHAT WE WANTED TO HAPPEN!

We weren't writing about what was happening.

  

But times have changed!

  

And now, I present to you a list of all the AMAZING articles from our wonderful community that have synergized with MSDN and TechNet Gallery!

Check them out and see the clever ways they link to the Gallery items!

And if you're writing up code snippets, samples, or even tools to accompany your TechNet Wiki articles, then I recommend putting them on the MSDN or TechNet Gallery and linking to them from your Wiki article! 

For example, when you write a Wiki article, you want to break up your code a lot and explain it all, so that people can follow along! But you also want to have the code available as a single unit that they can download or copy from. That's where the Gallery item comes into play. It's the best of both worlds, and as the articles mention above (you did read them, right?), YOU BUILD TWO SOURCES OF COMMUNITY, RECOGNITION POINTS, and ACHIEVEMENT MEDALS instead of just one!

What could be better than that?

   

And so with one further ado...

Adoooooooooo...

 

Here are your wonderful TechNet Wiki articles that include links to Gallery Items (MSDN Gallery, TechNet Gallery, CodePlex, or GitHub):

  1. ASP.NET WebApi - Use Redis as CacheManager
  2. BizTalk script to deal with suspended messages (vbs)
  3. Blackboard Design Pattern: A Practical Example - Radar Defense System
  4. How to get unique permissions for sites/lists/libraries for Office 365/SharePoint 2013 On-Prem
  5. Microsoft’s Windows App Studio Beta: Submit Menu App in the Store
  6. Modern UI for WPF application by example (handle navigation) 
  7. Modern UI for WPF application by example (NavigationService - MVVM)
  8. Part one: the Nokia Maps on Windows Phone 8.
  9. SharePoint 2013: Install Prerequisites Offline or Manually on Windows Server 2012 - A Comprehensive  Guide 
  10. SharePoint 2010 and 2013 Browser File Handling Deep Dive
  11. Table of Content Web Part: Slightly different in SharePoint 2013 / Online
  12. Using Prism for Windows Runtime
  13. Wiki: Fix Color Issues in Wiki Articles 

   

Help us make it easy to track these articles by adding this tag: 

has Gallery download

 

Thanks to all the contributors!

Did I miss your article? Then post a link to it in the comments below, and I'll add it!

   

Have a good bye, and remember to jump on in!!! The Wiki is warm.

   - Ninja Ed

PowerShell Predictions for 2015

$
0
0

Summary: Windows PowerShell MVP, Don Jones, provides predictions for 2015.

Don Jones here. from PowerShell.org and Pluralsight. The Scripting Guy asked me to have another stab at predicting what’s in store for Windows PowerShell in 2015, so without further ado…

Folks will realize how fast Windows is moving

We’re going to see a lot of people asking, “I installed Windows PowerShell 5.0, but I don’t have (insert name of feature). What’s wrong?” Their problem will be that they’re running on an older version of Windows that doesn’t include that feature—even if a newer version of Windows PowerShell is installed. As Windows versions launch faster, this is going to get a lot more noticeable.

There’ll be a lot more training

At Pluralsight, we already have a pretty big list of Windows PowerShell-related training videos, and we have authors working hard on more. Other training products are also going to step up their Windows PowerShell coverage. You’ll likely see more Microsoft Virtual Academy presentations, more people blogging, and so on. What you’re not likely to see is a huge uptick in books, because traditional book publishers haven’t yet adjusted their models to accommodate the rapid release schedule of the product, meaning books are often outdated before they’re even published.

Desired State Configuration is going to be huge

Even people who’ve ignored Windows PowerShell are going to get on board with Desired State Configuration (DSC). This is the one technology that you should be learning and playing with. No, there isn’t much in the way of documentation yet, and there might never be. The folks who succeed with DSC will be those who are comfortable experimenting, figuring it out, and coding custom resources as needed. Welcome to DevOps. Oh, and watch for “DSC Camp” at my house in Las Vegas in August 2015 (watch DonJones.com for details).

Community will become more important

Successful "PowerShellers" will be those who are engaged with the worldwide community through resources like PowerShell.org. They’ll be the ones who not only post questions, but also offer answers. They’ll be teaching by means of blog posts and webinars. They’ll be attending the Windows PowerShell Summit. Windows PowerShell is changing faster than even Microsoft can keep up, it seems, and staying engaged on a day-to-day basis will be the only way to keep up yourself.

There will be another Scripting Games

This one’s easy, because it’s already in the works, under the leadership of the Master of Games, Mike Robbins. Keep an eye on PowerShell.org for an opportunity to test your Windows PowerShell "sk1llz" and creativity with new challenges that are suitable for all levels of expertise.

Microsoft will release a slew of DSC resources

They’ve been doing this a lot. They’re up to Wave 7 of the DSC Resource Kit as I write this—and they’re going to keep doing it. What’s more, community resources like the PowerShell.org DSC GitHub repo will really take off, hosting more-capable versions of Microsoft experimental resources with independently developed resources. Windows PowerShell and DSC will start to look like a “real” development universe.

Past predictions might eventually come true

A couple of my earlier predictions haven’t yet happened, but maybe they still will:

  • Folks haven’t taken up PowerShell Web Access (PWA) as much as I’d hoped they would in 2013.
  • People are still manipulating Excel programmatically through its awkward COM-based interface, instead of (as I predicted in 2013) moving to sensible data storage in SQL Server and using Reporting Services to produce better looking output.

~Don

Thanks for your insight, Don. I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at scripter@microsoft.com, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.

Ed Wilson, Microsoft Scripting Guy

[Script Of Jan. 01] How to rebuild icon cache in Windows 8.1

$
0
0
image
Jan.
01
image
image

Script Download:  
The script is available for download from https://gallery.technet.microsoft.com//How-to-rebuild-icon-cache-59998924.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

This PowerShell Script shows how to rebuild icon cache in Windows 8.1.

Sometimes users encounter the issues that an icon is changed to a different random icon, several icons are drawn on top of each other or an icon becomes all black and so on. This script will help users to fix that.

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

Dynamics PTS Blog – A Glance at the Statistics for 2014

$
0
0

Sivakumar Venkataraman - Click for blog homepageIt has indeed been a very good year in 2014 for the Dynamics PTS blog. This article is primarily to thank all our readers without whom our blog would not have been as popular as it reflects.

Some interesting statistics for the viewers are listed below. The comparison of statistics between 2014 and 2013 can be seen below.

20132014
imageimage

Notice an almost 75% increase in the total hits in our blog as compared to the previous year. Last year we had about 37k hits to our blog, but this year it has shot up to 56k, which is very glad to see. This indicates that we have drawn the interest of more users to the blog. We will continue to post interesting articles and content to this blog to keep up the interest of our readers.

Another notable increase is the number of hits per day, which has also increased from 116 to 177.

Also, find below the trend of hits across the various times of the day. This indicates that the blog has been viewed by readers across all the time zones.

image

We are happy that our content has been helpful to our readers and we will strive to improve it further in 2015.

Happy Reading!

2014 – The year when I actually started to notice real changes

$
0
0

 Gavin Payne is a principal architect for Coeo, a SQL Server professional services company, and a Microsoft Certified Architect and Microsoft Certified Master. His role is to guide and lead organisations through data platform transformation and cloud adoption programmes.

In the last few weeks I’ve seen the technology media start producing their predictions of what they expect to happen – or get invented – over the next 12 months. This made me think how many previous predictions had actually affected the way I work as an IT professional or IT consumer. There’s always change happening when you work in IT, but what surprised me was just how much there’s been in 2014.  This article looks at three noticeable changes that have happened this year and affect how I work or interact with technology.

1. I learnt what “cloud first mobile first” actually means for IT

This was a term I’d heard used in the media a lot – and I’m sure like many I thought I knew what it meant, until late-summer that is. Previously my interpretation was simply that future IT solutions needed to support mobile devices as much as they did PCs and browsers. Not being a software developer, I didn’t really think much more about it.

Then, Satya Nadella gave a keynote presentation where he explained what Microsoft’s definition meant "the user experience was mobile across all of a user’s devices" – smartphone, tablet, browser and PC. 

For me, I interpreted “the user experience” as meaning the interface, the functionality, the connectivity and the data. That’s quite a big ask when you think about the scale of the differences between a smartphone and a PC.  However, it supports the trend that a user’s primary IT device is increasingly something other than a PC for more and more people.

When I started using Office on my iPad that Microsoft released this autumn, I felt I was using the same familiar Office software I was used to on a PC – albeit on a very different device. Unlike previous attempts by many vendors to port their software it didn’t feel like using a sub-standard variant of the original – it had the same look, feel and functionality I was used to and equally importantly it provided access to my data in my Office 365 OneDrive account.

Whether it was with business applications, online shopping or reading the digital version of a newspaper – in 2014 I felt I was now getting a consistent experience across all my devices.

2. Public cloud infrastructure services began outperforming on-premises capabilities

For as long as I’ve been designing public cloud infrastructure solutions, I’ve had to design around the constraint that you can’t scale-up in the cloud, you have to scale-out. The relatively small size of even the biggest virtual servers available from cloud service providers was never expected to improve despite providers continuously making tweaks to their services; I never thought the cloud was to be the place to host an organisation’s largest workloads.

That all changed in late 2014. Microsoft announced a range of Azure virtual servers that combine very high levels of server resources with the cloud’s pay-per-use billing and near-instant provisioning. For the first time, Microsoft Azure was offering infrastructure capabilities that most organisations will struggle to provide in their own data centre, never mind that you’d be able to buy from another cloud service provider. Using a very large server for 6 hours of testing and then retiring it has now become a feasible option for project teams, not just something reserved for the biggest and more permanent production workloads.

If virtual machines with high levels of resource weren’t enough, at the same time Microsoft also announced new premium Azure storage services that will outperform most on-premises storage regardless of how much is needed.

For me, those two service announcements showed “the cloud has arrived”. While it’s not limitless, its capabilities can now meet the requirements of almost all the organisations I work with – without having to re-design systems to scale-out or worry they won’t have the resources they need.

3. Online shopping meets real-world problems

My final change is something to think about and stop us feeling too happy about innovation running away with itself as it’s a recent problem we probably weren’t expecting. The success of Black Friday has taken both the public by surprise as like most I’m still not too sure what it’s actually about – and the delivery companies used by the retailers to get the goods we buy online to us are equally as surprised. Today I received an order update from an online retailer saying my order was valued and important to them but due to a shortage of delivery vans it’s likely to be 10 days late getting to me. Due to unprecedented demand and owing to circumstances beyond our control aren’t phrases I expected to hear from a global online retailer in 2014; one that stocks thousands of items and opens their doors to me 24/7. 

Rightly or wrongly, my expectation of fast delivery came from this new generation of retailers using technology to solve the problems traditional retailers have to live with. It’s perhaps ironic then that they’re now suffering from real-world problems that no amount of technology currently knows how to solve.

A news article today suggested part of the problem comes from delivery companies having a small number of large trucks optimised for getting goods from the warehouse to the retail park, rather than a large number of smaller vans to get goods from the distribution centre to the doorstep. If I was being cynical, I could think Amazon have already tried one approach to solving that problem by outsourcing it to me - by letting me pay to collect my books from a locker in a big shopping centre instead of having them delivered to me.

Whatever the actual cause, its impact has been very visible over the last week especially to me waiting for something to be delivered. Until something changes it won’t be a one-off, instead it’s a good example of showing technology still has limits. Limits in this case imposed by the world it’s trying to outperform.

Ending the year aware

I’ve written about three very different types of change I’ve noticed this year. Some will have more relevance to some people than others while some will have no relevance to perhaps lots of people. Either way, I’m going to end my 2014 by being consciously aware for once of some of what’s changed around me this year. I hope I’ve inspired you to think about what noticeable changes you can take into 2015 and build on.

What changes during 2014 stand out for you? Let us know in the comments section or via @TechNetUK.

“Maintenance in progress”… OR “The CPU can’t take much more, Captain!” (said in thick Scottish accent) OR "Maintenance in progress" is the most annoying Windows message.

$
0
0

 

If you are like me, you’ve told your supermodel girlfriend you couldn’t take her out bikini shopping and instead stayed home to play with your computers and basically be uber-nerdy….  If you’re even more like me, you’ve screamed in absolute despair when you’ve logged onto one of said computers only to see this:

2015-01-01_17-41-51

The “Maintenance is in progress” system tray notification. 

Ugh.  The maintenance being reported here can be anything from software updates (this includes application software updates for Microsoft Applications), security scanning, and system diagnostics. 

I mean, I get it.  This stuff has to happen sometime….but come on!  When I see this icon, I just KNOW that my server or desktop is going to be slow and sluggish until ‘Maintenance’ is over.

Fortunately there are a couple of things you can do, to mitigate the issues caused by this.

#1 Action Center to the Rescue!

In Control Panel – Action Center you can set Automatic Maintenance to run outside your normal nerd (or computer user) hours.

2015-01-01_17-42-43

Action Center is your friend. 

2015-01-01_17-43-19B

Opening Action Center, you can see that beside the Automatic Maintenance section there is a notification that “Maintenance in progress” (apparently they couldn’t afford an ‘is’ as in “Maintenance IS in progress”, maybe there was a shortage of ‘to be’ verbs that day…but I digress).

You can stop the maintenance currently in progress as shown above.

2015-01-01_17-43-59B

Now that Automatic Maintenance has stopped, let’s change it to a time less likely to interfere with our nerdy computer habits….something like June 47th, 3183…. oh that’s not an option?

 

2015-01-01_17-44-21

No.  We can only select the time each day we want to run the maintenance tasks.  Set it for a time you’re usually not using your computer….like when you’re watching your supermodel girl wash your car, or when you’re accepting checks from Publishers Clearing House… Just don’t think setting it for 2am, and then letting your computer be asleep at 2am, will help you avoid this issue… Nope!  If your computer misses its scheduled maintenance it will either Wake Up to  complete it, or start it at 8am when you turn on the computer to update Facebook with a picture of your cat (named Benedict Cumberbatch).  You’re weird like that.

#2 TiWorker.exe is just an executable trying to do a job, man.

So what’s really going on here?  Why does just doing some simple maintenance cause your computer/desktop/server to seem sluggish?  Why does applying software updates peg your CPU process?

Well one of the many reasons that performance can take a hit, is if the tiworker.exe process is eating up too much CPU time installing updates.

2015-01-01_17-47-34

I call this slide “Straight Arrows are for boring people”.

Tiworker.exe is part of the Windows Modules Installer, and gets called whenever a software update is being applied to your system.  Sometimes this bad boy gets a little over zealous and doesn’t share CPU/Memory resources appropriately….

2015-01-01_17-47-57

We think that tiworker.exe had a troubled childhood and that’s why now, he hogs resources and doesn’t share appropriately…

So what can be done about tiworker.exe?

Fortunately Microsoft has updated tiworker for just this reason. 

If you are running x86 or x64 Windows 8.1, Windows RT 8.1, or any flavor of Windows Server 2012 R2, you can install KB2975061 to resolve issues with tiworker.exe.

KBdetails

You can get this update from Windows Update or manually get it from the article here Error 0x80070005 when you install an update in Windows 8.1 or Windows Server 2012 R2

 

image

KB2975061 contains version 6.3.9600.17031 of tiworker.exe.  If you are unsure about installing this update, check the version number of tiworker.exe in C:\Windows\WinSxS.

HOT OFF THE PRESSES!!!!

The December 2014 servicing stack update for Windows 8.1 and Windows Server 2012 R2 has an even more recent version of tiworker.exe.  KB3012199 contains tiworker.exe version 6.3.9600.17477.

image

You can get KB3012199 from Windows Update or HERE (KB3012199)

I’ll update this article soon on more ways to improve performance issues during computer maintenance.

Peace out.


Congratulations January 2015 Award Winners!

$
0
0

Happy New Year to everyone!!

Time to announce the Most Valuable Professional Award Winners of January award cycle.

Please join me in welcoming them in this elite technical group. We thank them for their past contributions and looking forward for their active participation, in all future engagements.

Re-Awardees

New Awardees

Abhishek Sur - ASP.net

Abhishek CSK - Microsoft Integration (Bangalore)

Arnav Sharma - Windows IT Pro

Misbah Khan - Windows Embedded (Bangalore)

Balaji Kundalam - Windows Consumer

Prabhat Nigam - Microsoft Exchange (Wonderland)

Destin N Joy – SharePoint

Ravikumar Sathyamurthy - O365 (Chennai)

Darnie Graceline - .NET

Suresh Dasari - ASP.net/IIS (Chennai)

Dinesh ‘O Bareja - Enterprise Security

 

Gaurav Mantri - Microsoft Azure

 

Gaurav Khanna - .NET

 

Purnachandra Duggirala - Office Excel

 

Prabu Kesavan - Windows Embedded

 

Roohi Shaikh - Dynamics CRM

 

Rohit Srivastwa - Enterprise Security

 

Senthil Kumar – Windows Plats Dev

 

Shravan Kasagoni - ASP.net

 

Sorna Muthuraj - SQL Server

 

Sarabpreet Anand - SQL Server

 

Vasudev GM - Windows Consumer

 

Vinoth Rajagopalan - Windows Embedded

 

Visakh Murukesan - SQL Server

 

With the above announcement, unfortunately few of our friends are also moving to the alumni state.

We do respect their contributions but due to limited number of seats in each product area, we had to consider contribution categories as well as the feedback from local subsidiary in terms of their presence (online/offline both) in various activities.

I hope they will take it up positively and work towards coming back in the active group soon.

Thanks and have a great evening!!

Zostałem Microsoft MVP: Project na kolejny rok

$
0
0

Właśnie na początek nowego roku dostałem miłego maile

"Congratulations! We are pleased to present you with the 2015 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Project technical communities during the past year."

To już kolejny rok, w którym otrzymuję to wyróżnienie, z którego jestem niezmiernie dumny   


W tej chwili w kategorii Project, w całym świecie, tytułem MVP wyróżnionych jest 61 specjalistów, z czego tylko jeden w Polsce http://mvp.microsoft.com/en-us/search-mvp.aspx?ex=Project&sc=s.

Z kolei na terenie Polski mieszka 21 MVP specjalizujących się w innych kategoriach http://mvp.microsoft.com/en-us/search-mvp.aspx?lo=Poland&sc=s

Przy okazji składam gratulacje wszystkim nowo nominowanym i renominowanym MVP w całym świecie, w tym cyklu.

Das nächste Kapitel in Windows 10

$
0
0

Wir wünschen ein schönes Neues Jahr! Gleich zu Jahresbeginn möchten wir auf ein sehr interessantes Event am 21. Jänner hinweisen: Microsoft öffnet das nächste Kapitel von Windows 10, schreibt Brandon LeBlanc in seinem Artikel in blogs.windows.com:

Join us to hear about the next chapter of Windows 10

Die Veranstaltung wird am Microsoft Campus in Redmond nur für die Presse stattfinden (invite-only for press), aber in einem Webcast live für alle Interessierten online übertragen werden. Derzeit gibt es jedoch noch keine Details über die Online Registrierung oder wann das Event genau stattfindet.

image

CEO Satya Nadella wird am Event sprechen und unter anderem werden die Produktmanager der Operating Systems Produktgruppe, Terry Myerson, Joe Belfiore und Phil Spencer, über die aktuellsten Neuigkeiten in Windows 10 berichten.

Nach dem Windows Insider Program und den ersten Ankündigungen in Announcing Windows 10 liegt der Fokus des “nächsten Kapitels” von Windows 10 in der “consumer experience”.

Dass bei Microsoft intern heftig an Windows 10 gearbeitet wird (“We’ve made tons of fixes based on your contributions”), kann man ebenso im BloggingWindows-Blog in December Update on the Windows Insider Program nachlesen. Der Build Branch trägt den Arbeitstitel “FBL_AWESOME”. Es wird definitiv interessant. Zwinkerndes Smiley

Also, haltet euch den 21. Jänner 2015 (in unserer Zeitzone voraussichtlich Abends) im Kalender frei. Die Details über das Online-Event werden wir hier bekanntgeben, sobald es soweit ist.

Microsoft MVP 2015

PowerTip: Find PowerShell DSC Resources

$
0
0

Summary: Learn where to find more Windows PowerShell DSC resources.

Hey, Scripting Guy! Question Where can I find more Windows PowerShell DSC resources?

Hey, Scripting Guy! Answer In the Script Center Script Repository, search for DSC Resource Kit. Download one resource or the
           entire DSC Resource Kit.

Configuration Manager 2012 install error: Failed to create machine certificate on server

$
0
0

I was attempting to install config manager in my lab but it kept failing at the "Generating public key and sql server certificate" step.

Obviously, looking around the web...I didn't find any solid resolution right off the bat.

Here's how I resolved my particular issue:

1. The logs from the config manager setup program had the following which ended up not being very useful:

  • Failed to create machine certificate on server MySQLServer
  • Failed to create SQL server certificate on server
  • Failed to create SQL server certificate remotely

2. On the SQL server, I found folders under the root of the C drive created by config manager with an SMS prefix

3. These folders contained a srvboot.log file that was more helpful. It contained the following errors:

  • Failed to grant access to user (MySQLServer account)
  • Failed to grant permission to certificate.
  • Failed to create machine self-signed certificate.

4. I look at the SQL servers certificate store (for the computer) and noticed there was a config manager cert. It had my sql server service acct listed under All Tasks/Manage Private keys. Deleting and removing the cert didn't fix the issue.

5. Next, I ran procmon on the sql server. Filtered on srvboot.exe and noticed that I got access denieds on a certain file in the c:\programdata\microsoft\crypto\rsa\machinekeys folder. Looking at the permissions, my sqlserver service account had Full control rights.

6. Hmm...so what gives.

7. My next step was to remove the particular file in the machinekeys folder AND the certificate that was created in the computer's certificate store and mysteriously the issue resolved itself.

8. Key learnings: Look at the logs (srvboot.log) on the sql server and see what procmon tells you.

Good luck.

Tip o' the Week #259 – Manage your Christmas Cards in Outlook

$
0
0

Happy New Year! For many of us, time to chuck out trees, and pack away any and all decorations, never to be seen again until December ‘15. Before you recycle the cards you may have received over the holiday season, here’s a quick way of using Outlook to make the job of sending your cards that bit easier.

It involves creating a new view and a couple of custom fields within the Contacts function in Outlook – as has been mentioned before on ToW, when Outlook views any item (an appointment, a contact, a task etc), all it’s doing is using a particular form to display a bunch of fields. It’s possible to easily extend those items with your own fields and there are form editing capabilities too, but we’re not going to use them today. This tip might look a bit daunting but it’s really quite simple, and it’s something you’ll only have to do once – it persists in your Contacts folder so is available on all PCs.

If you have multiple monitors, then it might help to put this email on the 2nd monitor as you may not be able to easily switch to read the instructions whilst you’re setting things up. Or maybe just print it out.

clip_image001Create a new view

Firstly, go into the Contacts folder then select the Views tab, and select Change View,then Manage Views to see a list of views that apply to your Contacts folders. Click the New… on thetop right.

Select Table as the type of view and give it a name like Christmas Cards, then click on OK to create and start editing the new view.

Click the Columns button and remove everything from the “Show these columns” list on the right hand side, except for Full Name.

Now, it’s time to create a couple of new columns which will be visible in the view and can be used to clip_image003track interesting bits of info – like whether you sent a card to this contact, and if you got one in return. Click on the NewColumn button and for the name enter Got Card, then choose Type Yes/No and leave Format as Icon. Press OK to create, and repeat the process for the Sent Card field.

Now, select other relevant fields from the chooser on the left – try selecting clip_image004All Contact fields from the “select available columns…drop-down box, then pick some of the more esoteric contact fields that already exist – Spouse/Partner and Children fields will let you remember who to make the cards out to, and Home Address and Notes are pretty self-explanatory.

Once you’ve created the view, resize the columns as appropriate (elongating address, for example). Now, you’re probably looking at a contacts list that’s got 1,000 entries of people you principally do business with, and a handful of friends you might send cards to. The next trick is to filter out people you want to be in the list.

clip_image005

The nice thing about using the Table type view is that you can edit in-line, ie. you don’t need to open up the contacts forms to change the details. Since you’ve just created the Got… and Sent… fields, none of your existing contacts will have a value for any of these fields.

If you click on the Got or Sent fields, you’ll set it to be either yes or no. Try locating a few of your friends in the list and tick these fields, maybe fill in Spouse and Children while you’re at it (and now’s a good time to do that, as you’ll probably have all their names on the cards you received).

clip_image006OK, now we have a quorum of contacts tagged with Got & Sent attributes, go into View Settings and click the Filter button, then switch to the Advanced pane. From clip_image007the Field drop-down box, choose User-defined fields in folder and add Got Card.

Change the condition to exists and press Add to List.

Repeat the same process with the Sent Card field, then press OK. Finally, before saving the view, you might clip_image008want to change the Sort order to Full Name.

Now if you press OK to save the view, you should see your contacts list filtered to show you only the entries that you have tagged as having some value for both Got Card and Sent Card.

clip_image010If you want to continue adding contacts to the list, simply open your existing contact (maybe from the main Outlook contacts view), then click on All Fields, and select the fields from the user-defined fields in folder– you can then set Yes or No for each of the custom fields, and that contact will now show up in your Christmas Cards view.

clip_image012

If you want to ditch someone from the list, open their contact, look under All Fields, select from user-defined fields in this item (notuser-defined fieldsin this folder!), select the field and Delete it.

clip_image014So what’s the point of all this faffing about? Well, in 11 months’ time when you come to do your next round of cards, just select the view in Outlook and if you select File / Print and select Table Style, you’ll get a nice sheet or two of all the details and addresses you’ll need to write all your cards.


What Is PowerShell?

$
0
0

Summary: Microsoft Scripting Guy, Ed Wilson, explains Windows PowerShell.

Hey, Scripting Guy! Question Hey, Scripting Guy! I keep hearing this term...all over...everywhere. But I do not know what it is. Can you tell me, "What is Windows PowerShell?"

—DB

Hey, Scripting Guy! Answer Hello DB,

Microsoft Scripting Guy, Ed Wilson, is here. This morning it is cold. At least, it is Charlotte, North Carolina—it is nearly freezing. That is enough to keep me inside with a nice cup of English Breakfast tea, and a freshly made Blueberry Scone. I decided to check the email sent to scripter@microsoft.com on my Surface Pro 3. Today is one of those days…one where I try to get some work done before the weekend so I do not have to worry too much about the week to come. It is all a balancing act—a bit of preplanning and a modicum of luck.

DB, you want to know, “What is Windows PowerShell?” To define Windows PowerShell is a bit of a trick, it is much easier to describe what Windows PowerShell does, or why one needs it—but I hate that. In fact, I hate it when I am doing research and I come across a great sounding article. I am looking for a quote for my paper, and nowhere is there to be found any quotable material. Ugh. It provides great for background, but I need a nice succulent quote to support my thesis. It is a common dilemma. So here goes—a nice quote:

Windows PowerShell is an interactive object-oriented command environment with scripting language features that utilizes small programs called cmdlets to simplify configuration, administration, and management of heterogeneous environments in both standalone and networked typologies by utilizing standards-based remoting protocols.

This quote is my definition, and it is not an official definition by any means. It is not even a comprehensive definition, but it should be a pretty good one for a point of departure.

Windows PowerShell is both interactive and script

One thing that confuses people when talking about Windows PowerShell is that they see what looks like a big blue Command Prompt window, and they think “Oh, that is Windows PowerShell.” Then at other times, they see what looks like a really complicated bunch of code, and they think, “Oh, that is Windows PowerShell.”

Of course, one of the great things about Windows PowerShell is that it is interactive. I can easily type a short command, and retrieve tons of information. Here is an example that returns a lot of information about every process running on my laptop:

Image of command output

The command is simple, and rather logical. It is Get-Process. The logical part is that I want to get information, so the command begins with get. That I want to retrieve process information also carries through because the second part of the command is process. Therefore the command Get-Processmakes sense—at least once I begin to understand the naming conventions used in Windows PowerShell.

But what about the scripting language aspect of Windows PowerShell? Well, that generally takes place via the Windows PowerShell Integrated Scripting Environment (ISE). The cool thing is that I can use the same commands in my script that I might have used in the interactive Windows PowerShell environment. In fact, in its most simple form, a Windows PowerShell script is a file that contains a collection of Windows PowerShell commands. A Windows PowerShell script has the following advantages:

  • I can share it with other people.
  • I can run it again as often as I want to—each time exactly as I ran it previously.
  • I can use it easily in a scheduled task so that it runs at specific times on specific servers by using specific credentials.

A simple Windows PowerShell script is shown here:

Image of command output

The common information model

I can use the common information model (CIM) to run commands on remote systems and to administer various systems in a heterogeneous environment. This is because the CIM cmdlets adhere to the CIM and the WS-Man standards that are defined by the Distributed Management Task Force (DMTF). For more information about this, refer to the Introduction to CIM Cmdlets.

One thing to keep in mind, is that Windows PowerShell is a .NET Framework application. As such, any user can use Windows PowerShell to perform whatever actions they would have the ability to do. Therefore, Windows PowerShell is not a super tool. If, for example, a user does not have the rights to manage printers or to install device drivers, that user cannot run a script that manages printers or installs device drivers. A user can only do what a user has the ability to do.

In that same mode, an improperly configured system will permit a user to do things that may be destructive if the user could otherwise perform those actions. There is no security by obscurity. In fact, Windows PowerShell is so easy to use. There are many things I know how to do by using Windows PowerShell that would take me time searching the web to figure out how to perform the same action by using a graphical tool.

An example of this is that I know the Export-StartLayoutWindows PowerShell cmdlet. By using that, I can export my start screen layout and save it. I have no idea how to do that by using a graphical tool. In fact, I have no idea where I would begin, if it is not somewhere off of the Settingstab.

Anyway, DB, there is an introduction to your question, “What is Windows PowerShell.” Join me tomorrow when I will talk about why you should learn Windows PowerShell.

I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at scripter@microsoft.com, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.

Ed Wilson, Microsoft Scripting Guy

[Script Of Jan. 02] How to change the collation for all databases in a SQL Server instance (PS)

$
0
0
image
Jan.
02
image
image

Script Download:  
The script is available for download from https://gallery.technet.microsoft.com//How-to-change-the-1715f0c8.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

This T-SQL script will demo how to change the collation of all databases in a SQL Server instance to that of the server.

There are some people asking how to change the database collation for all databases. This script will provide some help in this respect.

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

使用New-MailboxRestoreRequest cmdlet还原非活动邮箱

$
0
0

之前我们讨论到了“非活动邮箱”。如果管理员删除了在Exchange Online 中拥有邮箱的Office 365 用户的帐户,则其邮箱会变为非活动邮箱。

如果在删除帐户之前,邮箱设置了“就地保留”或“诉讼保留”功能,则该邮箱在变为非活动邮箱后无限期保留。如果在删除帐户之前未设置任何保留功能,则不会保留或发现邮箱的内容。邮箱可以在删除后 30 天内恢复,但是如果未恢复,则 30 天后将永久删除该邮箱及其内容。

另外在 Exchange Online 中管理非活动邮箱的文章(http://technet.microsoft.com/zh-cn/library/dn144876(v=exchg.150).aspx)中提到,管理员、合规部主管或记录管理员可以使用 Exchange Online 中的“就地电子数据展示”功能来访问非活动邮箱的内容。他们可以预览搜索结果、将搜索结果复制到发现邮箱、或者将搜索结果导出到 Outlook 数据 (PST) 文件。

如果您有管理企业邮箱(On-Premises Exchange)的经验,您也许曾经使用New-MailboxRestoreRequest cmdlet还原过软删除邮箱。而上面提到的非活动邮箱正是软删除邮箱:

那我们是否可以使用New-MailboxRestoreRequest cmdlet还原Exchange Online中的非活动邮箱/软删除邮箱呢?答案是可以的,而且这是在201412月份发布的新功能。

下面就是我成功还原Exchange Online中已删除账号tosuer06的非活动邮箱的内容到账号tosuer07的邮箱所使用的New-MailboxRestoreRequestcmdlet

您会注意到,New-MailboxRestoreRequest cmdlet提示我已删除账号tosuer06曾经有存档邮箱。如要还原已删除账号tosuer06曾拥有的存档邮箱的内容,在使用的New-MailboxRestoreRequest cmdlet时,添加参数SourceIsArchiveTargetIsArchive即可:


更多信息,您可以参考New-MailboxRestoreRequest cmdlet的在线帮助文档(http://technet.microsoft.com/zh-cn/library/ff829875(v=exchg.150).aspx)。

Debugging an application crash using procmon without memory dump. hmm. Seriously??

$
0
0

 

Yes. While this is not debugging using windbg, procmon has the capability to aid us in debugging as long as we have the necessary symbol files.
The intention of this blog is to reveal some powers of procmon tool. We use it on various troubleshooting occasions when we don't know what is really happening behind the scenes.

In my opinion, procmon is the most powerful troubleshooting tool (at least, I use it for resolving most cases)
Thought of writing this blog with an example of an issue that I happen to solve for a customer using this tool.
Recently, I worked on an issue with a customer who had this particular scenario - Multiple processes would crash on launching. This seems to be affecting hundreds of machine and has been happening for over a few months. Some examples as below:
‘Bit Locker Encryption Options’ from the control panel:
--------------------------------------------------------------------------


Configuration Manager or SCCM’s ‘Software Center’:
-----------------------------------------------------------------------

 


Typically, it is supposed to show some more stuff under this, however before it could completely load everything, it would end up in crashing for some unknown reasons... Well not really unknown in the end of this blog. 
For now, I would take the normal approach here.

Pretty confident that there has to be something interesting in the event logs.
Sure enough, you would find the classical application crash events in the event viewer.

Event related to Bit Locker Encryption Options crash:
-----------------------------------------------------------------------

Log Name:      Application
Source:        Windows Error Reporting
Date:          24-12-2014 12:12:42
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      ABC.XYZ.COM
Description:
Fault bucket 85905360500, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: MBAMControlUI.exe
P2: 2.1.117.0
P3: 5271df47
P4: unknown
P5: 0.0.0.0
P6: 00000000
P7: c0000005
P8: 0000000000000000
P9:
P10:


Log Name:      Application
Source:        Application Error
Date:          24-12-2014 12:12:29
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ABC.XYZ.COM
Description:
Faulting application name: MBAMControlUI.exe, version: 2.1.117.0, time stamp: 0x5271df47
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000000000
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Faulting package full name: %14
Faulting package-relative application ID: %15

Events related to Software Center’s crash:
--------------------------------------------------------

Log Name:      Application
Source:        Windows Error Reporting
Date:          24-12-2014 12:03:12
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      ABC.XYZ.COM
Description:
Fault bucket -329875240, type 5
Event Name: BEX
Response: Not available
Cab Id: 0
Problem signature:
P1: SCClient.exe
P2: 5.0.7958.1000
P3: 5230d2b7
P4: StackHash_5861
P5: 0.0.0.0
P6: 00000000
P7: PCH_E4_FROM_ntdll+0x0003C1AC
P8: c0000005
P9: 00000008
P10:


Log Name:      Application
Source:        Application Error
Date:          24-12-2014 12:03:06
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ABC.XYZ.COM
Description:
Faulting application name: SCClient.exe, version: 5.0.7958.1000, time stamp: 0x5230d2b7
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0x1404
Faulting application start time: 0x01d01f4374dffc6d
Faulting application path: C:\Windows\CCM\SCClient.exe
Faulting module path: unknown
Report Id: b785c36e-8b36-11e4-be97-28e3471721ed
Faulting package full name:
Faulting package-relative application ID:


Log Name:      Application
Source:        .NET Runtime
Date:          24-12-2014 12:03:03
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ABC.XYZ.COM
Description:
Application: SCClient.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00000000

As you can see above, the faulting module is showing as unknown. So, we don’t know for sure what the culprit here is.

Typically in these scenarios, we would capture a memory dump when the crash occurs and have the customer send the dump file to us. We would then debug it to understand the cause of the crash.
However, that’s a lengthy and tedious process.
First of all, we would need to look at any logs if available for the component that we are troubleshooting. If not, we go with memory dump.

Before I get onto the memory dump procedure, this time though; I decided to take my favorite approach – The procmon approach. 
Usage of procmon is pretty simple. Procmon has evolved and has been evolving with new great improvements, advanced filters and additional activities.
Though many of us in the system admin world already knows about it, I’m posting the capture procedure for the benefit of others.
Once you download and run procmon.exe tool, it would immediately start capturing file system, registry and process/thread activities.

 


The Capture button which looks like a magnifying glass (mouse is hovered in the picture) is same button used for both starting as well as for stopping the captures. Kind of like ON / OFF switch. You could also use the CTRL + E button combination to issue a button stroke if you would like.
As you see in the bottom of the screenshot, it has already captured so much of events though I stopped the capture within 2 seconds after I opened it… Those are the things happening in the background whether you like it or not.
The very fact that it takes too much of information can be chatty as well and procmon log analysis requires that we put in our logic for the issue that we are troubleshooting. Many events can lead us to go in different directions of analysis. So, the first and foremost technique in data capture using procmon is to keep it as short as possible. While there are many ways using filters to take only necessary data, I’m not discussing about those at this time.

Let’s do the data capture now.
Download link here:
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
By default, once we open the tool, it would start capturing data automatically.
So, we click on the capture button to stop the capture first.
Next is to click on the clear button or (use CTRL + X button combination) to clear everything that it has captured till now.

 

Looks nice and clean now.
If possible, close all applications that you can to avoid getting chatty.
Be ready to reproduce the issue. Most of the times, we keep procmon tool and the problem window resized in the same screen so that we can repro the issue as well as click on the capture button in Procmon. No time to waste a single second. You will see why in a bit. 
Switch ON the capture button.
Immediately reproduce the problem (In this case, I simply tried to launch the software center).
Waited for the application to crash.
Switch OFF the capture button as soon as possible.
Phew! Log capture is done.
You can now save the file (be sure to save it as ‘PML’ format and choose ‘All Events’).
 


Zip the file and send to Microsoft for analysis. If you like a little adventure, then start doing the analysis. 

Typical analysis of procmon data may not need symbols.
However, in this case that would be much required. Thankfully, Mark Russinovich had already configured it for user’s convenience. As long as you have internet access, you are good to connect to the Microsoft public symbol server.
You can see it being configured as below.
BTW, don’t forget to note that number of events that it has captured shown with the arrow. Trust me, this data capture was run only for less than 3 seconds and it already has 600 thousand + events. This is why we want to data capture to be super-fast and not to waste a single second. I’m glad you understood this. 


 
Note: For the sake of this blog, I had switched from MS internal to MS public.
In my personal experience, I have seen many times that the built-in dbghelp.dll doesn’t work.
I normally use the latest MS internal version to get around that.
Should the need arise, you may want to download and install the latest “Debugging Tools for Windows” from Microsoft. It is available in the SDK as well.

In this case, we know the name of the EXE that crashed. So, I will first filter it to show only activities by SCClient.exe (software center).

One of the most useful buttons is the Filter button (CTRL + L combination).

 

 

Add this filter and click on OK.
Now, it will show ONLY the events pertaining to SCClient.exe.

If we double click on an event anywhere, we can get into more details of that event.
Sample below:

 

Note that you can see the ‘Event’ tab as well as the ‘Process’ tab and the ‘Stack’ tab.
The Stack is the one that will be useful only if we have symbols in place.
Of course, it is not easy to point to the particular event that led to the crash. It takes some hit or miss logics to be tried (at least for me). Finally, I have the point of failure.

Caught the event in the list which shows the unhandled exception in the stack.

 


The previous event to this shows normal activity as below:
 


While this appears to be normal, we need to look closely into this event to understand why the next event shows the unhandled exception. Wait…. From what I can infer from the stack, there appears to be some kind of drawing or something to do with display enumeration.
Perhaps something is wrong with the display driver??

This time, go back to the Process tab. Next, I choose to sort by the ‘Company’ field to find out the third party modules loaded within this SCClient.exe.
 


There appears to be 2 modules from LogMeIn and 2 modules from Intel.
I ignore LogMeIn modules because I installed it on the customer’s computer for me to be able to establish a remote troubleshooting session. Issue was still happening prior to me installing it.
Let’s take a look at the Intel modules to see what they really are?
We can just double click on the module name and it gives all possible details about it.
 

and

 

Okay. These two files have something to do with display graphics.
Don’t want to jump the gun right away.
Going back to procmon, I look at what is the previous module that was loaded before the crash.
Filtered with ‘Load Image’ and can see the following:
 


Now, I’m certain that I really would want to eliminate these 2 modules in the first place to see if the issue happens or not.
We un-installed the Intel graphics driver and voila! Software Center opens up just fine.
So does the Bit locker Encryption Option.

Case solved!!!

Remember that I first mentioned about looking at the associated log file for the component that you are troubleshooting before jumping to dumps. In this case, there is a log called scclient_<domain>@Username.log.
Unfortunately, we didn’t have much information on this and I expect this because the issue was a crash while rendering graphics and not likely, this is going to be logged.

Oh! If you don’t really know what the associated log file is, procmon is still your friend.
Just put a filter for ‘Path’ ‘contains’ ‘.log’.
 

Once you apply that filter, it should look like this:
 

As we can see SCClient.exe is writing to a log file.
The same applies for any application to understand if that is logging anywhere or not.


Read on if you are still interested for my debugging notes….
We installed the graphics driver again, I captured a memory dump using another awesome creation by Mark – Procdump.exe
http://technet.microsoft.com/en-in/sysinternals/dd996900.aspx


0:009> .lines
Line number information will not be loaded
0:009> |
.  0          id: 474   examine              name: C:\Windows\CCM\SCClient.exe
0:009> vertarget
Windows 8 Version 9600 MP (4 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
kernel32.dll version: 6.3.9600.16656 (winblue_gdr_pres14.140305-1700)
Machine Name:
Debug session time: Thu Dec 25 17:40:28.000 2014 (UTC + 5:30)
System Uptime: not available
Process Uptime: 0 days 0:00:05.000
  Kernel time: 0 days 0:00:00.000
  User time: 0 days 0:00:00.000
0:009> .ecxr
Unable to load image C:\Windows\System32\igdumdim32.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for igdumdim32.dll
*** ERROR: Module load completed but symbols could not be loaded for igdumdim32.dll
eax=00000000 ebx=00000000 ecx=076f9130 edx=00000000 esi=05a8892c edi=05a86600
eip=00000000 esp=0593f28c ebp=0593f2b0 iopl=0         nv up ei ng nz na po cy
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010283
00000000 ??              ???
0:009> kb
  *** Stack trace for last set context - .thread/.cxr resets it
*** WARNING: Unable to verify timestamp for igdumdim32.dll
*** ERROR: Module load completed but symbols could not be loaded for igdumdim32.dll
ChildEBP RetAddr  Args to Child             
WARNING: Frame IP not in any known module. Following frames may be wrong.
0593f288 64616e27 05999420 0593f2a0 05a86600 0x0
0593f2b0 6461e7ae 05a86600 0593f318 07700f40 igdumdim32+0xc6e27
0593f360 645f6d83 05a86600 077011d0 00000000 igdumdim32+0xce7ae
0593f3f8 64d1479f 00000003 0593f41c 0593f474 igdumdim32+0xa6d83
0593f458 64e0d8ac 0859ace0 00000000 00000000 d3d9!CD3DDDIDX10::Blt+0x7a
0593f49c 64df5eb1 0859ace0 00000000 00000000 d3d9!CD3DDDIDX10::SurfaceBlt+0x35
0593f4fc 64db8983 0859ace0 00000000 0859ae78 d3d9!CD3DBase::SurfaceBlt+0x44
0593f5fc 69ed1767 0599a720 059f6980 0593f67c d3d9!CBaseDevice::UpdateSurface+0x648
0593f620 69ed7c92 059f6980 0593f67c 059f6680 wpfgfx_v0400!CD3DDeviceLevel1::UpdateSurface+0x1f
0593f694 69ef57b8 085c4518 0593f6bc 085de5f0 wpfgfx_v0400!CD3DGlyphBank::RectFillAlpha+0x206
0593f6cc 69ef1787 0593f7b8 05a08450 00000000 wpfgfx_v0400!CD3DSubGlyph::ValidateAlphaMap+0xb3
0593f778 69eea0b9 0593f9dc 0000ff01 059ed288 wpfgfx_v0400!CD3DGlyphRunPainter::Paint+0x601
0593f8c8 69f393ba 05a08450 0593f9dc 0593f948 wpfgfx_v0400!CHwSurfaceRenderTarget::DrawGlyphs+0x188
0593f8dc 69e06aa2 05a08450 0593f9dc 059f6620 wpfgfx_v0400!CHwDisplayRenderTarget::DrawGlyphs+0x1a
0593f9a0 69e0697c 00c34e28 0593f9dc 05a0c4f8 wpfgfx_v0400!CMetaRenderTarget::DrawGlyphs+0xe6
0593fa00 69dfc7f3 08588bf8 00be33e8 085baf50 wpfgfx_v0400!CDrawingContext::DrawGlyphRun+0x30d
0593fab0 69dff4f7 05a0c4f8 05a0c4f8 085baf50 wpfgfx_v0400!CMilSlaveRenderData::Draw+0x43f
0593fac4 69df632c 05a0c4f8 0598e188 085baf50 wpfgfx_v0400!CMilVisual::RenderContent+0x26
0593fb8c 69df639b 0593fba8 00000000 05a0c4f8 wpfgfx_v0400!CDrawingContext::PreSubgraph+0x6d9
0593fbb8 69df7602 00c05d50 05a0c510 05a0c4f8 wpfgfx_v0400!CGraphIterator::Walk+0x37
0593fc00 69e11856 00c05d50 00be116c 0593fcf4 wpfgfx_v0400!CDrawingContext::DrawVisualTree+0x230
0593fc9c 69df7e26 00c05d50 00c34e44 00be116c wpfgfx_v0400!CDrawingContext::Render+0x3f9
0593fd0c 69df7c9b 0593fd33 00c3de28 0593fdcb wpfgfx_v0400!CSlaveHWndRenderTarget::Render+0x1a0
0593fd34 69df1a72 0593fdcb 00c3de28 00000000 wpfgfx_v0400!CRenderTargetManager::Render+0x34
0593fd4c 69df1906 0593fdcb 00c3a5a0 00c3de30 wpfgfx_v0400!CComposition::Render+0x1f
0593fdb4 69df199a 0593fdcb 00c3de30 00c3a5a0 wpfgfx_v0400!CComposition::ProcessComposition+0x12c
0593fdcc 69df19d7 0593fde7 00000001 00c3a5a0 wpfgfx_v0400!CComposition::Compose+0x3e
0593fde8 69df17e1 00c3de30 00be03e8 00c3a5a0 wpfgfx_v0400!CPartitionThread::RenderPartition+0x1b
0593fe00 69e0aee1 00000000 00000000 00c3a5a0 wpfgfx_v0400!CPartitionThread::Run+0x48
0593fe18 7734495d 00c3a5a0 0593fe68 77b098ee wpfgfx_v0400!CPartitionThread::ThreadMain+0x1c
0593fe24 77b098ee 00c3a5a0 cb763808 00000000 kernel32!BaseThreadInitThunk+0xe
0593fe68 77b098c4 ffffffff 77afe0cf 00000000 ntdll!__RtlUserThreadStart+0x20
0593fe78 00000000 69e0aec5 00c3a5a0 00000000 ntdll!_RtlUserThreadStart+0x1b


As you can see (read stack from bottom to top), there appears to be some drawing happening and finally ends with igdumdim32.

0:009> lmvm igdumdim32
start    end        module name
64550000 64cdd000   igdumdim32 T (no symbols)          
    Loaded symbol image file: igdumdim32.dll
    Image path: C:\Windows\System32\igdumdim32.dll
    Image name: igdumdim32.dll
    Timestamp:        Mon Jun 24 21:16:07 2013 (51C869BF)
    CheckSum:         00000000
    ImageSize:        0078D000
    File version:     9.18.10.3220
    Product version:  9.18.10.3220
    File flags:       0 (Mask 3F)
    File OS:          40004 NT Win32
    File type:        2.8 Dll
    File date:        00000000.00000000
    Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4

Basically, igdumdim32.dll caused an access violation when trying to execute instructions from a non-executable address in the memory.

Case of crash – explained!!

 

Ajith Kumar

Support Escalation Engineer

 

Execution Policy and Group Policy

$
0
0

Welcome to 2015!

Every new PowerShell user negotiates the infamous 'Execution Policy' when trying to run a script for the first time... Why can't I just run a script? What do I need to do to run a script? Ah, happy memories...

An 'Execution Policy' defines rules for script or configuration file execution: for example, we can stipulate that only digitally-signed scripts are allowed to be called. The default execution policy setting is 'Restricted' which means that scripts or configuration files are not allowed to run - this provides a level of protection against unauthorised or accidental script execution.

We can use Get-ExecutionPolicy and Set-ExecutionPolicy cmdlets to check and define execution policy settings on a computer. If an 'Execution Policy' is set at user or local computer level the setting is stored in the registry. 

And, so... I quite often get asked how to configure the PowerShell execution policy on a wide scale, i.e. for a large number of clients or servers. The answer, of course, is Group Policy and details are found in the about_Execution_Policies help file...

The PowerShellExecutionPolicy.admx file adds the "Turn on Script Execution" policy to the Computer Configuration and User Configuration nodes in Group Policy Editor in the following path:

          For Windows Vista and later versions of Windows:
          Administrative Templates\Windows Components\Windows PowerShell
   
Policies set in the Computer Configuration node take precedence over policies set in the User Configuration node.

 

 

Viewing all 17778 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>