This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Files
  • More Options
  1. Dashboard
  2. Members
    1. Recent Activity
    2. Users Online
    3. Staff
    4. Search Members
  3. Forum
  4. Downloads
  5. ISeeT Main Site
  • Login
  • Register
  • Search
  1. Dashboard
  2. Members
    1. Recent Activity
    2. Users Online
    3. Staff
    4. Search Members
  3. Forum
  4. Downloads
  5. ISeeT Main Site
  1. Dashboard
  2. Members
    1. Recent Activity
    2. Users Online
    3. Staff
    4. Search Members
  3. Forum
  4. Downloads
  5. ISeeT Main Site
  1. ISeeT Forums
  2. ICT (Information & Communication Technology)
  3. OS
  4. Windows Server
  • Sidebar
  • Sidebar

How to install Windows Updates on a Windows Core Edition Server

  • ISeeTWizard
  • October 26, 2025 at 11:19 AM
1st Official Post
  • ISeeTWizard
    Administrator
    Posts
    142
    Files
    26
    • October 26, 2025 at 11:19 AM
    • Official Post
    • #1

    The simplest way to realize that is to create a script for that.

    On MSDN you can find the following and it's working like a charm.

    Visual Basic
    Set updateSession = CreateObject("Microsoft.Update.Session")
    Set updateSearcher = updateSession.CreateupdateSearcher()
    
    WScript.Echo "Searching for updates…" & vbCRLF
    
    Set searchResult = _
    updateSearcher.Search("IsInstalled=0 and Type='Software'")
    
    WScript.Echo "List of applicable items on the machine:"
    
    For I = 0 To searchResult.Updates.Count-1
    Set update = searchResult.Updates.Item(I)
    WScript.Echo I + 1 & "> " & update.Title
    Next
    
    If searchResult.Updates.Count = 0 Then
    WScript.Echo "There are no applicable updates."
    WScript.Quit
    End If
    
    WScript.Echo vbCRLF & "Creating collection of updates to download:"
    
    Set updatesToDownload = CreateObject("Microsoft.Update.UpdateColl")
    
    For I = 0 to searchResult.Updates.Count-1
    Set update = searchResult.Updates.Item(I)
    WScript.Echo I + 1 & "> adding: " & update.Title
    updatesToDownload.Add(update)
    Next
    
    WScript.Echo vbCRLF & "Downloading updates…"
    
    Set downloader = updateSession.CreateUpdateDownloader()
    downloader.Updates = updatesToDownload
    downloader.Download()
    
    WScript.Echo  vbCRLF & "List of downloaded updates:"
    
    For I = 0 To searchResult.Updates.Count-1
    Set update = searchResult.Updates.Item(I)
    If update.IsDownloaded Then
    WScript.Echo I + 1 & "> " & update.Title
    End If
    Next
    
    Set updatesToInstall = CreateObject("Microsoft.Update.UpdateColl")
    
    WScript.Echo  vbCRLF & _
    "Creating collection of downloaded updates to install:"
    
    For I = 0 To searchResult.Updates.Count-1
    set update = searchResult.Updates.Item(I)
    If update.IsDownloaded = true Then
    WScript.Echo I + 1 & "> adding:  " & update.Title
    updatesToInstall.Add(update)
    End If
    Next
    
    WScript.Echo  vbCRLF & "Would you like to install updates now? (Y/N)"
    strInput = WScript.StdIn.Readline
    WScript.Echo
    
    If (strInput = "N" or strInput = "n") Then
    WScript.Quit
    ElseIf (strInput = "Y" or strInput = "y") Then
    WScript.Echo "Installing updates…"
    Set installer = updateSession.CreateUpdateInstaller()
    installer.Updates = updatesToInstall
    Set installationResult = installer.Install()
    
    'Output results of install
    WScript.Echo "Installation Result: " & _
    installationResult.ResultCode
    WScript.Echo "Reboot Required: " & _
    installationResult.RebootRequired & vbCRLF
    WScript.Echo "Listing of updates installed " & _
    "and individual installation results:"
    
    For I = 0 to updatesToInstall.Count – 1
    WScript.Echo I + 1 & "> " & _
    updatesToInstall.Item(i).Title & _
    ": " & installationResult.GetUpdateResult(i).ResultCode
    Next
    End If
    Display More


    Save this to a file named WUA_SearchDownloadInstall.vbs as example and than you can simply run cscript WUA_SearchDownloadInstall.vbs and he automatically searches for Updates and than asks to install them.

    There is also the option through the sconfig tool but this doesn't seem to always work like it should, at least in my case.

    Sconfig is the server config tool you now have as default on every core server. It opens automatically and trough option 6 (Windows Server 2012 R2, 2016, 2019 and maybe on newer versions) you can download and install updates.

    • Quote

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login

Did you know…?

“Find out who you are and do it on purpose.”

Dolly Parton

“It’s amazing how a little tomorrow can make up for a whole lot of yesterday.”

John Guare

“You may not control all the events that happen to you, but you can decide not to be reduced by them.”

Maya Angelou

“Good friends, good books, and a sleepy conscience: This is the ideal life.”

Mark Twain

“Success is stumbling from failure to failure with no loss of enthusiasm.”

Winston Churchill

“The great courageous act that we must all do is to have the courage to step out of our history and past so that we can live our dreams.”

Oprah Winfrey

“I’m not going to continue knocking on that old door that doesn’t open for me. I’m going to create my own door and walk through that.”

W.P. Kinsella

“In three words I can sum up everything I’ve learned about life: It goes on.”

Robert Frost

“There is no perfection, only life.”

Milan Kundera

“You have to believe in yourself when no one else does.”

Serena Williams

“Just when you think it can’t get any worse, it can. And just when you think it can’t get any better, it can.”

Nicholas Sparks

“For me, becoming isn’t about arriving somewhere or achieving a certain aim. I see it instead as forward motion, a means of evolving, a way to reach continuously toward a better self. The journey doesn’t end.”

Michelle Obama

“Failure is a great teacher and, if you are open to it, every mistake has a lesson to offer.”

Oprah Winfrey

“Nothing is impossible. The word itself says ‘I’m possible!’”

Audrey Hepburn

“If you have knowledge, let others light their candles in it.”

Margaret Fuller

“Don’t take yourself too seriously. Know when to laugh at yourself, and find a way to laugh at obstacles that inevitably present themselves.”

Halle Bailey

“It is better to fail in originality than to succeed in imitation.”

Herman Melville

“The new dawn blooms as we free it. For there is always light if only we’re brave enough to see it, if only we’re brave enough to be it.”

Amanda Gorman

“You will face many defeats in life, but never let yourself be defeated.”

Maya Angelou

“Whatever we are, whatever we make of ourselves, is all we will ever have—and that, in its profound simplicity, is the meaning of life.”

Philip Appleman

“The purpose of life is to live it, to taste experience to the utmost, to reach out eagerly and without fear for newer and richer experience.”

Eleanor Roosevelt

“Ambition is the path to success. Persistence is the vehicle you arrive in.”

Bill Bradley

“Be yourself; everyone else is already taken.”

Oscar Wilde

“The fear of death follows from the fear of life. A man who lives fully is prepared to die at any time.”

Mark Twain

You cannot change what you refuse to confront.

“You don’t always need a plan. Sometimes you just need to breathe, trust, let go and see what happens.”

Mandy Hale

“Dreams do not come true just because you dream them. It’s hard work that makes things happen. It’s hard work that creates change.”

Shonda Rhimes

“Live in the sunshine, swim the sea, drink the wild air.”

Ralph Waldo Emerson

“The art of life is to know how to enjoy a little and to endure very much.”

William Hazlitt

“All dreams are within reach. All you have to do is keep moving towards them.”

Viola Davis

“Always go with your passions. Never ask yourself if it’s realistic or not.”

Deepak Chopra

“Life is made of ever so many partings welded together.”

Charles Dickens

“And when you want something, all the universe conspires in helping you achieve it.”

Paulo Coelho

“The world you desire can be won. It exists... it is real... it is possible... it’s yours.”

Ayn Rand

“For the great doesn’t happen through impulse alone, and is a succession of little things that are brought together.”

Vincent Van Gogh

“We make a living by what we get, but we make a life by what we give.”

Winston Churchill

“I may not have gone where I intended to go, but I think I have ended up where I needed to be.”

Douglas Adams

“There are no regrets in life. Just lessons.”

Jennifer Aniston

“Do one thing every day that scares you.”

Eleanor Roosevelt

“You can be everything. You can be the infinite amount of things that people are.”

Kesha

“Life is a daring adventure or it is nothing at all.”

Helen Keller

“Be sure you put your feet in the right place, then stand firm.”

Abraham Lincoln

“When I let go of what I am, I become what I might be.”

Lao Tzu

“Life is like riding a bicycle. To keep your balance, you must keep moving.”

Albert Einstein

“If you don’t have any shadows, you’re not in the light.”

Lady Gaga

“Never let the fear of striking out keep you from playing the game.”

Babe Ruth

“Keep smiling, because life is a beautiful thing and there’s so much to smile about.”

Marilyn Monroe

“Life does not have to be perfect to be wonderful.”

Annette Funicello

“Spread love everywhere you go. Let no one ever come without leaving happier.”

Mother Teresa

“I believe that if you’ll just stand up and go, life will open up for you. Something just motivates you to keep moving.”

Tina Turner

“Coming together is a beginning; keeping together is progress; working together is success.”

Henry Ford

“There are so many great things in life; why dwell on negativity?”

Zendaya

“I’m not going to continue knocking that old door that doesn’t open for me. I’m going to create my own door and walk through that.”

Ava DuVernay

“We have to dare to be ourselves, however frightening or strange that self may prove to be.”

May Sarton

“Before anything else, preparation is the key to success.”

Alexander Graham Bell

“Next time, ask ‘What’s the worst that will happen?’ Then push yourself a little further than you dare.”

Audre Lorde

“Life is what happens to you when you are busy making other plans.”

John Lennon

“The future is not something we enter. The future is something we create.”

Leonard I. Sweet

“You only live once, but if you do it right, once is enough.”

Mae West

“Keep your face towards the sunshine and shadows will fall behind you.”

Walt Whitman

“Let us make our future now, and let us make our dreams tomorrow’s reality.”

Malala Yousafzai

“There is no passion to be found playing small—in settling for a life that is less than the one you are capable of living.”

Nelson Mandela

“It is better to be hated for what you are than to be loved for what you are not.”

Andre Gide

“If you live long enough, you’ll make mistakes. But if you learn from them, you’ll be a better person.”

Bill Clinton

“No need to hurry. No need to sparkle. No need to be anybody but oneself.”

Virginia Woolf

“Tomorrow is a new day. You shall begin it serenely and with too high a spirit to be encumbered with your old nonsense.”

Ralph Waldo Emerson

“Living might mean taking chances, but they’re worth taking.”

Lee Ann Womack

“The future belongs to those who prepare for it today.”

Malcolm X

“Don’t worry about failure, you only have to be right once.”

Drew Houston

“It is during our darkest moments that we must focus to see the light.”

Aristotle

“The biggest adventure you can take is to live the life of your dreams.”

Oprah Winfrey

“To succeed in life, you need three things: a wishbone, a backbone, and a funnybone.”

Reba McEntire

“It does not matter how slowly you go, as long as you do not stop.”

Confucius

“My wish for you is that you continue. Continue to be who you are, to astonish a mean world with your acts of kindness.”

Maya Angelou

“One of the deep secrets of life is that all that is really worth doing is what we do for others.”

Lewis Carroll

“Yesterday is but today’s memory and tomorrow is today’s dream.”

Khalil Gibran

“Be persistent and never give up hope.”

George Lucas

“If you don’t like the road you’re walking, start paving another one.”

Dolly Parton

“Once you face your fear, nothing is ever as hard as you think.”

Olivia Newton-John

“It is never too late to be what you might have been.”

George Elliot

“You can’t help what you feel, but you can help how you behave.”

Margaret Atwood

“The only thing we have to fear is fear itself.”

Franklin D. Roosevelt

“Life is very interesting…in the end, some of your greatest pains become your greatest strengths.”

Drew Barrymore

“Some people want it to happen, some wish it would happen, others make it happen.”

Michael Jordan

“Everything you can imagine is real.”

Pablo Picasso

“Life isn’t about finding yourself. Life is about creating yourself.”

George Bernard Shaw

“Life has no limitations, except the ones you make.”

Les Brown

“Dreaming, after all, is a form of planning.”

Gloria Steinem

“Always do your best. What you plant now, you will harvest later.”

Og Mandino

“There’s love enough in this world for everybody, if people will just look.”

Kurt Vonnegut

“Dream big and dare to fail.”

Norman Vaughan

“We are here to add what we can to life, not to get what we can from life.”

William Osler

“We pass through this world but once.”

Stephen Jay Gould

“Always remember that you are absolutely unique. Just like everyone else.”

Margaret Mead

“Be where you are; otherwise you will miss your life.”

Buddha

“When you have a dream, you’ve got to grab it and never let go.”

Carol Burnett

“Get busy living or get busy dying.”

Stephen King

“Don’t judge each day by the harvest you reap but by the seeds that you plant.”

Robert Louis Stevenson

“The future belongs to those who believe in the beauty of their dreams.”

Eleanor Roosevelt

“The simple things are also the most extraordinary things, and only the wise can see them.”

Paulo Coelho

“We must let go of the life we have planned, so as to accept the one that is waiting for us.”

Joseph Campbell

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
  3. Legal Notice
Powered by WoltLab Suite™
Style: Ambience by cls-design
Stylename
Ambience
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design