Blog and Wiki Posts

IT Administration News

Site Activity

  • 0
  • Hi there,

    how do you select the User Principal name from the Subject tab and Client Authentication option from the Extensions tab with the script?



  • Thank you Ryan, I know this is a long time ago post, but still holds tru today. I spent what may have seem days, weeks, months, maybe even years trying every which way to get dot NET 3.5 and below installed on a Windows Server 2012 R2 Datacenter VM, and didn't want to loose any customizations or start over...used Server Manager, DISM, PS, etc to no avail. removed KB296826, 27, and 28 to no avail.... Finally removed KB2919355, took twice for it to finally remove even with a reboot, and BAM, was able to add dot NET 3.5 feature via server manager. Thanks PITA M$ !!!

    How did you discover this was the KB that was holding it up?

  • Just add the FullName property to the Select-Object cmdlet and pipe the result to the Remove-Item cmdlet via the Foreach-Object cmdlet.

    This means you just have to add the following (don't forget the starting comma) to one of the two examples provided by Wolfgang.

    ,FullName|ForEach-Object -Process {Remove-Item -Path $_.FullName}

  • Great job Matt!

    This a perfect guide for someone to get themselves set up for sharing code internally.

  • Derrick became a registered member 13 hours, 21 minutes ago

  • Thanks Jason 🙂

    The article was really nice.. Very infomative

  • Sorry, this is wrong. Low disk space *may* generate this error, but it is not the root cause.  My volumes have triple digit GB free.  Also, Sanket, your answer is wrong too, my App Pool memory setting is already unlimited.

    Guys, when you publish information, make sure it is correct.

  • Hi,

    How can I create a Powershell I can run, that shows which computers both locally and remotely querys userprofile events issue due to files unable to sync? I love to have a script that techs can use.


  • Hey Miguel,

    You do need to be working in an elevated session, because you are making changes to the machine and without an elevated session, UAC kicks in and stops the process.

    I did a little research to confirm this fact and I stumbled across an article from Richard Siddaway which states: important point that you need to remember in the title bar of the Windows PowerShell console shown in the previous screenshot. You have to be running Windows PowerShell with elevated privileges when you create scheduled jobs.

    I will mention that detail in my follow-up article which should be released early next week.

  • Hi, sorry, the link at the end of the article was broken. Here is the URL to the third part and I'll fix the link now. 

  • when was the 3rd part released

  • How to delete them as well ?

  • Does Register-ScheduledJob require an elevated powershell session to succeed? I can't seem to get it working without an elevated session, the error message is below:

    Register-ScheduledJob : An access denied error occurred when registering scheduled job definition Hello World.  Try running Windows PowerShell with
    elevated user rights; that is, Run As Administrator.
    At line:1 char:1
    + Register-ScheduledJob -ScriptBlock { Write-Output "Hello World" }
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : PermissionDenied: (Microsoft.Power...edJobDefinition:ScheduledJobDefinition) [Register-ScheduledJob], RuntimeException
        + FullyQualifiedErrorId : UnauthorizedAccessToRegisterScheduledJobDefinition,Microsoft.PowerShell.ScheduledJob.RegisterScheduledJobCommand

    If it requires an elevated session, perhaps you could add that to your article? For what it's worth, I can register a scheduled task without an elevated session so I thought I'd save myself the trouble of registering a scheduled task and leverage jobs instead.... until I can do so without admin rights, this is not as useful in my case.


  • Luke Leigh changed their profile picture 1 day, 13 hours ago

  • Big thank you! Migration worked like a charm.

  • 0
  • Jon became a registered member 2 days ago

  • Elkouri Abdelali became a registered member 2 days, 14 hours ago

  • It depends on the technologies you use in your environment. You can check our list of free admin ebooks and see if something fits. Usually when I search a book, I go to Amazon, enter the search topic and then sort the results by "Most Reviews." If a book has more than 20 reviews and 4 stars, it usually good. For instance, this list gives you some good options about Windows Server.

  • I would also like to add few things which is based on my experience while I was learning system administration (Windows Server 2012).

    This is how I proceeded:

    1. Acquired training from Microsoft certified instructor

    2. Followed Mark Minasi's book

    3. Practiced a lot and  when stuck, asked for help from 4sysops forums

    4. Appeared for exam certifications

    5. Tried and learnt by helping other users on different forums like Technet

    Thank you,



Please ask IT administration questions in the forum. Any other messages are welcome.

© 4sysops 2006 - 2018

Log in with your credentials


Forgot your details?

Create Account