This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Files
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Records
  • Recipes
  • More Options
  1. Forum
  2. Downloads
  3. Hardware
    1. 3D-Accelerator
    2. CPU-Sockets
    3. RAM
    4. HDMI & Display Port
    5. USB
    6. Thunderbolt
    7. Connectors / Ports
  4. Parcum
    1. Parcum - Map
    2. Parcum - All Entries
    3. Parcum - Countries
    4. Parcum - Categories
  5. ICT Timeline
    1. Categories
    2. All Records
    3. ICT Timeline - The Beginnings
    4. ICT Timeline - 60s/70s
    5. ICT Timeline - 80s
    6. ICT Timeline - 90s
    7. ICT Timeline - 00s
    8. ICT Timeline - 10s
  6. OS Timeline
    1. Categories
    2. All Records
    3. DOS
    4. Windows
    5. MacOS
  7. Other
    1. Link-Library
    2. Restaurants, Snacks and more
    3. ISeeT Tools
    4. ISeeT Photos
  8. Rezepte
  • Login
  • Register
  • Search
  1. ISeeT Forums
  2. ICT (Information & Communication Technology)
  3. OS
  4. Windows
  5. PowerShell

Remove Office 365/2024

  • ISeeTWizard
  • 1 July 2026 at 11:20
1st Official Post
  • ISeeTWizard
    Administrator
    Points
    3.280
    Posts
    264
    Files
    32
    • 1 July 2026 at 11:20
    • Official Post
    • #1

    Sometimes you have as example Office 365 installed but with several language packs and proofing tools etc. Than it is a pain in the ass to remove every single installation.

    A more fast and smooth way provides this script here

    PowerShell
    # Start the stopwatch at the very beginning
    $Stopwatch = [System.Diagnostics.Stopwatch]::StartNew()
    
    # 1. Enforce PowerShell as Administrator
    if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
        Write-Error "Please run this PowerShell script as an Administrator!"
        Exit
    }
    
    # Dynamically determine the directory where this script is located
    $CurrentDir = $PSScriptRoot
    if ([string]::IsNullOrEmpty($CurrentDir)) { $CurrentDir = Get-Location }
    
    Write-Host "=== Starting Office Uninstall from $CurrentDir (All Languages) ===" -ForegroundColor Cyan
    
    # 2. Check if setup.exe exists in the current directory
    if (-not (Test-Path "$CurrentDir\setup.exe")) {
        Write-Error "ERROR: setup.exe was not found in $CurrentDir!"
        Exit
    }
    
    # 3. Create the XML configuration file dynamically
    $XmlContent = @"
    <Configuration>
      <Remove All="TRUE">
        <Language ID="all" />
      </Remove>
      <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
      <Display Level="None" AcceptEULA="TRUE" />
    </Configuration>
    "@
    
    $XmlFile = "$CurrentDir\uninstall_office.xml"
    $XmlContent | Out-File -FilePath $XmlFile -Encoding ascii
    
    # 4. Trigger the uninstallation
    Write-Host "Uninstalling Office in the background. Please wait..." -ForegroundColor Yellow
    Write-Host "(Any open Office applications will be closed automatically.)" -ForegroundColor DarkGray
    
    $Process = Start-Process -FilePath "$CurrentDir\setup.exe" -ArgumentList "/configure `"$XmlFile`"" -Wait -PassThru
    
    # Stop the stopwatch before printing the final banner
    $Stopwatch.Stop()
    $ElapsedTime = "{0:mm}m {0:ss}s" -f $Stopwatch.Elapsed
    
    # 5. Evaluate the result and Exit Code
    if ($Process.ExitCode -eq 0) {
        Write-Host ""
        Write-Host "===================================================================" -ForegroundColor Green
        Write-Host " SUCCESS: Office and all language packs have been removed! " -ForegroundColor Green
        Write-Host " Total Execution Time: $ElapsedTime" -ForegroundColor Green
        Write-Host "===================================================================" -ForegroundColor Green
        Remove-Item -Force $XmlFile -ErrorAction SilentlyContinue
    } else {
        Remove-Item -Force $XmlFile -ErrorAction SilentlyContinue
    
        $OfficeService = Get-Service -Name "ClickToRunSvc" -ErrorAction SilentlyContinue
        $OfficeRegistry = Test-Path "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun"
    
        if (-not $OfficeService -and -not $OfficeRegistry) {
            Write-Host ""
            Write-Host "Notice: No installed Office product was detected on this system." -ForegroundColor DarkYellow
            Write-Host "The uninstallation process has been skipped." -ForegroundColor DarkYellow
            Write-Host "Total Execution Time: $ElapsedTime" -ForegroundColor DarkYellow
        } else {
            Write-Error "An error occurred during the Office uninstallation. ExitCode: $($Process.ExitCode)"
            Write-Host "Total Execution Time: $ElapsedTime" -ForegroundColor Red
        }
    }
    Display More

Participate now!

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

Register Yourself Login

Latest Posts

  1. Activate Office 2024 GVLK with your KMS Server

    ISeeTWizard
    1 July 2026 at 11:25
  2. Install Office 2024 GVLK

    ISeeTWizard
    1 July 2026 at 11:22
  3. Remove Office 365/2024

    ISeeTWizard
    1 July 2026 at 11:20
  4. Recipes

    ISeeTWizard
    30 June 2026 at 07:46
  5. Apple just released a new iOS Firmware - 26.5.2

    ISeeTWizard
    30 June 2026 at 07:40

Did you know…?

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

Kurt Vonnegut

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

Annette Funicello

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

Audre Lorde

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

Jennifer Aniston

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

Maya Angelou

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

May Sarton

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

Audrey Hepburn

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

Vincent Van Gogh

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

Babe Ruth

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

Herman Melville

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

Leonard I. Sweet

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

Olivia Newton-John

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

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

Viola Davis

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

Walt Whitman

“Be persistent and never give up hope.”

George Lucas

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

Buddha

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

Mark Twain

“We pass through this world but once.”

Stephen Jay Gould

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

Malala Yousafzai

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

William Osler

“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

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

Joseph Campbell

“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

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

Robert Louis Stevenson

“Be yourself; everyone else is already taken.”

Oscar Wilde

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

Carol Burnett

You cannot change what you refuse to confront.

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

Gloria Steinem

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

Ralph Waldo Emerson

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

Helen Keller

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

Malcolm X

“Get busy living or get busy dying.”

Stephen King

“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

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

Paulo Coelho

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

John Guare

“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

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

Mandy Hale

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

Og Mandino

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

Lao Tzu

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

William Hazlitt

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

Khalil Gibran

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

Abraham Lincoln

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

Les Brown

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

Albert Einstein

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

Confucius

“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

“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

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

Lady Gaga

“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

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

Maya Angelou

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

Margaret Mead

“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 biggest adventure you can take is to live the life of your dreams.”

Oprah Winfrey

“There is no perfection, only life.”

Milan Kundera

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

Dolly Parton

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

Lewis Carroll

“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

“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

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

Mark Twain

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

Marilyn Monroe

“Do one thing every day that scares you.”

Eleanor Roosevelt

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

Drew Houston

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

Mother Teresa

“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

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

Charles Dickens

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

Franklin D. Roosevelt

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

Winston Churchill

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

Eleanor Roosevelt

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

Kesha

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

Oprah Winfrey

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

Mae West

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

Deepak Chopra

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

Paulo Coelho

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

Bill Bradley

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

Alexander Graham Bell

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

Henry Ford

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

Virginia Woolf

“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

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

Lee Ann Womack

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

Winston Churchill

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

Margaret Fuller

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

George Elliot

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

Drew Barrymore

“Dream big and dare to fail.”

Norman Vaughan

“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

“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

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

John Lennon

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

Aristotle

“Everything you can imagine is real.”

Pablo Picasso

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

Ayn Rand

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

Michael Jordan

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

Reba McEntire

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

Serena Williams

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

Margaret Atwood

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

Robert Frost

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

Dolly Parton

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

George Bernard Shaw

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

Zendaya

Users Viewing This Thread

  • 1 Guest

Visits

  • 68 Today
  • 137 Yesterday
  • 274 This Week
  • 748 Last Week
  • 68 This Month
  • 3.139 Last Month
  • 7.691 This Year
  • 0 Last Year
  • Ø 81,82 per day
  • 7.691 Total

Last updated: 1 July 2026 at 12:25

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