- Thread Author
-
- #1
Dear Sir,
I have a new win 11 pc with Microsoft 365 for the past two months and I am now having problems with my Outlook Classic.
I see from today suddenly Outlook Classic deleted emails are returning back even if I have deleted them several times they keep coming back.
When I switch on the pc I am able to open Outlook Classic normally but each consecutive time afterwards it doesn’t open anymore I therefore have to switch off or use Task manager to end the Outlook Classic. Or otherwise keep switching off and on the PC to get outlook classic to open up again.
I have also noticed at the TaskBar app of Onedrive – personal the following: This file in in use This file is open by another program and can’t be synced. Once the file is closed, we can sync it.ggini1@tin.it – Outlook GG.pst
I am not able to understand and locate the place and how and where I can close this file ? maybe this is the problem affecting causing the above irregularity on my Outlook classic?
Thank you
Please help
I have a new win 11 pc with Microsoft 365 for the past two months and I am now having problems with my Outlook Classic.
I see from today suddenly Outlook Classic deleted emails are returning back even if I have deleted them several times they keep coming back.
When I switch on the pc I am able to open Outlook Classic normally but each consecutive time afterwards it doesn’t open anymore I therefore have to switch off or use Task manager to end the Outlook Classic. Or otherwise keep switching off and on the PC to get outlook classic to open up again.
I have also noticed at the TaskBar app of Onedrive – personal the following: This file in in use This file is open by another program and can’t be synced. Once the file is closed, we can sync it.ggini1@tin.it – Outlook GG.pst
I am not able to understand and locate the place and how and where I can close this file ? maybe this is the problem affecting causing the above irregularity on my Outlook classic?
Thank you
Please help
Solution
Julian — that OneDrive message is expected if the PST file is inside your OneDrive folder.
A .pst (Outlook data file) is kept open/locked while Outlook is running, so OneDrive can’t sync it and keeps showing “This file is in use”. The real fix is: don’t store an active PST in OneDrive (it can also cause corruption).
Here’s the simplest way to remove that warning permanently.
A .pst (Outlook data file) is kept open/locked while Outlook is running, so OneDrive can’t sync it and keeps showing “This file is in use”. The real fix is: don’t store an active PST in OneDrive (it can also cause corruption).
Here’s the simplest way to remove that warning permanently.
Simple fix (recommended): move the PST out of OneDrive
1) Close Outlook completely
- Close Outlook.
- Press Ctrl + Shift + Esc → Task Manager
- End task Microsoft Outlook (OUTLOOK.EXE) if you see it.
2) Create a non‑OneDrive folder
Create this folder:- ...
- Joined
- Mar 14, 2023
- Messages
- 97,395
Julian, the OneDrive message about “Outlook GG.pst is open by another program and can’t be synced” is a very strong clue. A .pst file should not be stored in (or actively synced by) OneDrive while Outlook is using it. That commonly leads to exactly what you’re seeing: Outlook hanging/not reopening, items “coming back”, and general mailbox corruption/sync confusion.
Below is the safest way to stabilize this.
Outlook Classic → File → Account Settings → Account Settings → Data Files tab
Look at the Location for
Below is the safest way to stabilize this.
1) Stop the lock / stop OneDrive fighting Outlook (immediate fix)
- Close Outlook.
- Press Ctrl + Shift + Esc → Task Manager.
- Go to Processes (or Details) and end:
- Microsoft Outlook / OUTLOOK.EXE
- Click the OneDrive cloud icon in the taskbar → Help & Settings → Pause syncing (2 hours).
2) Check where your PST is located (this is the core problem)
Open Outlook (if it opens) and check the PST location:Outlook Classic → File → Account Settings → Account Settings → Data Files tab
Look at the Location for
Outlook GG.pst.- If the path contains OneDrive, for example:
C:\Users\<you>\OneDrive\Documents\...- or
...\OneDrive\Desktop\...
then OneDrive is trying to sync your live Outlook database. That needs to be changed.
3) Move the PST OUT of OneDrive (recommended)
A) Pick a safe folder (not OneDrive)
Create a folder like:C:\Users\<you>\Documents\Outlook Files\(only if Documents is NOT redirected to OneDrive)
or safer:C:\Users\<you>\Outlook Files\
B) Move the PST (with Outlook closed!
- Exit Outlook and confirm OUTLOOK.EXE is not running in Task Manager.
- In File Explorer, go to the PST’s current location.
- Copy the PST to the new folder first (don’t delete the original yet).
- In Outlook: File → Account Settings → Data Files → Add…
- Select the PST from the new location.
- Set the new one as default (if it’s your main data file), then remove the old OneDrive-based PST from the profile if appropriate.
4) Repair the PST (likely needed now)
After moving it, run Microsoft’s Inbox Repair Tool (scanpst.exe) on the PST.- Close Outlook.
- Find
SCANPST.EXE(Office 365 commonly installs it under a path like...\Microsoft Office\root\Office16\). - Run it and browse to your
Outlook GG.pstin the new location. - Let it repair any errors it finds.
5) Fix Outlook only opening once / hanging
Once the PST/OneDrive conflict is removed, Outlook usually stops getting stuck. If it still hangs:- Start Outlook in Safe Mode
- Win + R →
outlook.exe /safe
- Win + R →
- If Safe Mode works, disable add-ins:
- File → Options → Add-ins → COM Add-ins → Go → uncheck all → restart Outlook normally.
6) Why deleted emails are “coming back”
This can happen in two common scenarios:- IMAP/Exchange account: Outlook isn’t completing sync properly (because it’s hung / PST issues), so items appear deleted then re-sync back from server.
- PST corruption / OneDrive interference: Outlook’s local database state doesn’t commit correctly, so changes “revert”.
Quick questions (so I can tailor the exact steps)
- In Account Settings, is your email account IMAP / Exchange / POP?
- What is the exact full path shown for
Outlook GG.pst(copy/paste it)? - When emails “come back”, do they return to the Inbox or the Deleted Items folder?
- Thread Author
-
- #3
Hello,
I have done some of the suggestions you sent me as it was difficult for me to do all of them described!, however Outlook Classic is now Stable and none of the deleted emails are downloaded anymore.
Remain Only one problem as you can see from the screenshot (This file is in use) how can I solve remove this in a simple way?
Thank you in advance
I have done some of the suggestions you sent me as it was difficult for me to do all of them described!, however Outlook Classic is now Stable and none of the deleted emails are downloaded anymore.
Remain Only one problem as you can see from the screenshot (This file is in use) how can I solve remove this in a simple way?
Thank you in advance
Attachments
- Joined
- Mar 14, 2023
- Messages
- 97,395
Julian — that OneDrive message is expected if the PST file is inside your OneDrive folder.
A .pst (Outlook data file) is kept open/locked while Outlook is running, so OneDrive can’t sync it and keeps showing “This file is in use”. The real fix is: don’t store an active PST in OneDrive (it can also cause corruption).
Here’s the simplest way to remove that warning permanently.
If it contains
A .pst (Outlook data file) is kept open/locked while Outlook is running, so OneDrive can’t sync it and keeps showing “This file is in use”. The real fix is: don’t store an active PST in OneDrive (it can also cause corruption).
Here’s the simplest way to remove that warning permanently.
Simple fix (recommended): move the PST out of OneDrive
1) Close Outlook completely
- Close Outlook.
- Press Ctrl + Shift + Esc → Task Manager
- End task Microsoft Outlook (OUTLOOK.EXE) if you see it.
2) Create a non‑OneDrive folder
Create this folder:C:\Outlook Files\
3) Move the PST file out of OneDrive
- Open File Explorer
- Go to your OneDrive folder and find
Outlook GG.pst - Copy it to
C:\Outlook Files\(copy first is safest) - After the copy finishes, you can delete/move the original from the OneDrive folder (so OneDrive stops trying to sync it).
4) Tell Outlook to use the PST in the new location
In Outlook Classic:- File → Account Settings → Account Settings
- Tab: Data Files
- Click Add… → select
C:\Outlook Files\Outlook GG.pst - If needed, set it as default (only if it’s your main data file), and remove the old OneDrive path entry.
If you want an even easier workaround (but not a true fix)
If you don’t want to change Outlook settings right now:- Keep the PST out of OneDrive, and OneDrive will stop warning.
- You can also right‑click the OneDrive icon → gear → Pause syncing (temporary), but the warning will come back later if the PST stays in OneDrive.
If the warning stays even after you move it
Do this once:- Right‑click OneDrive icon → gear → Quit OneDrive
- Start OneDrive again from Start menu
(Or reboot once.
One quick question so I can tailor the exact clicks for you:
In Outlook go to File → Account Settings → Data Files and tell me the Location shown forOutlook GG.pst (just the folder path).If it contains
OneDrive\..., the steps above will remove the warning for good.- Thread Author
-
- #5
- Joined
- Mar 14, 2023
- Messages
- 97,395
Yes — you can create the folder on C:, but it’s easiest to do it from File Explorer (so you are sure it’s really on C: and not on Desktop/OneDrive).
Also: in your screenshot you already found the OneDrive folder path. Your PST is here:
That OneDrive location is exactly why you keep seeing “This file is in use”.
(You can also create a folder on the Desktop, but Desktop may be backed up by OneDrive on some PCs, so it’s safer to create it directly on C: as above.
If you’re not sure, tell me what you see under that PST in Outlook (does it show extra folders like Inbox/Sent inside “Outlook GG.pst”? and I’ll tell you exactly whether to Add + Remove or just move it.
Also: in your screenshot you already found the OneDrive folder path. Your PST is here:
C:\Users\ggini\OneDrive\Documents\Outlook Files\[email]ggini1@tin.it[/email] - Outlook GG.pstThat OneDrive location is exactly why you keep seeing “This file is in use”.
A) Create the folder on C: (easy way)
- Press Win + E (opens File Explorer)
- Click This PC
- Double‑click Local Disk (C
- Right‑click an empty area → New → Folder
- Name it: Outlook Files
C:\Outlook Files\(You can also create a folder on the Desktop, but Desktop may be backed up by OneDrive on some PCs, so it’s safer to create it directly on C: as above.
B) Open the OneDrive folder (no searching needed)
In the same Outlook window you showed (Account Settings → Data Files):- Click the line with the .pst (the one that ends with Outlook GG.pst)
- Click the button Open File Location…
C) Move the PST (IMPORTANT: Outlook must be closed)
- Close Outlook
- Open Task Manager (Ctrl + Shift + Esc)
- If you see Microsoft Outlook / OUTLOOK.EXE, select it → End task
- In the folder that opened (OneDrive folder), copy this file:
[email]ggini1@tin.it[/email] - Outlook GG.pst - Paste it into:
C:\Outlook Files\
C:\Outlook Files\, you can delete the old one from OneDrive (or move it to a non-synced folder) so OneDrive stops warning.D) Tell Outlook to use the PST in the new location
- Open Outlook
- File → Account Settings → Account Settings → Data Files
- Click Add… → select:
C:\Outlook Files\[email]ggini1@tin.it[/email] - Outlook GG.pst - Select the old PST entry that points to OneDrive → click Remove (this removes it from Outlook; it doesn’t delete the file unless you delete it manually)
Quick question (so I don’t make you remove the wrong thing)
In your setup, are you actively using that PST for folders/mail, or is it just an old archive?If you’re not sure, tell me what you see under that PST in Outlook (does it show extra folders like Inbox/Sent inside “Outlook GG.pst”? and I’ll tell you exactly whether to Add + Remove or just move it.
- Joined
- Mar 14, 2023
- Messages
- 97,395
Yes — that is the correct file and current location (it’s your PST), and it’s currently inside OneDrive:
That’s the one we want to move out of OneDrive to stop the “file is in use” warning.
If you tell me whether you already created
C:\Users\ggini\OneDrive\Documents\Outlook Files\[email]ggini1@tin.it[/email] - Outlook GG.pst (7.36 GB)That’s the one we want to move out of OneDrive to stop the “file is in use” warning.
Do this (simple + safe)
1) Make sure Outlook is fully closed
- Close Outlook.
- Press Ctrl + Shift + Esc (Task Manager)
- If you see Microsoft Outlook / OUTLOOK.EXE → End task
2) Create the destination folder on C: (if you haven’t already)
- Open File Explorer → This PC → Local Disk (C
- Right‑click → New → Folder
- Name it: Outlook Files
C:\Outlook Files\3) Copy the PST to C: (copy first, don’t delete yet)
- In the folder you showed (OneDrive\Documents\Outlook Files), copy:
[email]ggini1@tin.it[/email] - Outlook GG.pst - Paste it into:
C:\Outlook Files\
4) Point Outlook to the new PST
- Open Outlook → File → Account Settings → Account Settings → Data Files
- Click Add…
- Select:
C:\Outlook Files\[email]ggini1@tin.it[/email] - Outlook GG.pst
If you tell me whether you already created
C:\Outlook Files\ and whether the copy completed successfully, I’ll give you the exact last two clicks to remove the old OneDrive PST entry safely.- Thread Author
-
- #9
Ok i have created the new folder in C; outlook files.
I have copy the second file from OneDrive as you can see the screenshot shows two files i have copy the second one in my new Outlook Folder but it took just a few seconds? is it normal
I have copy the second file from OneDrive as you can see the screenshot shows two files i have copy the second one in my new Outlook Folder but it took just a few seconds? is it normal
Attachments
- Joined
- Mar 14, 2023
- Messages
- 97,395
Yes, it can be normal for it to finish in a few seconds if:
- your PC has a fast SSD, and
- the file was already stored locally on C: (your OneDrive folder is also on C
, and/or - Windows used cache.
1) Verify the copy is real (30 seconds)
InC:\Outlook Files\:- Right‑click
[email]ggini1@tin.it[/email] - Outlook GG→ Properties - Check Size and Size on disk
- It should be around 7.36 GB (similar to the OneDrive one).
- Also check the file is not showing a cloud icon (it shouldn’t, because it’s not in OneDrive).
Quick extra check (optional)
Open File Explorer, click View → Show → File name extensions and confirm the file ends with .pst.2) If the size matches: switch Outlook to the new PST
Now do this:- Open Outlook
- Go to File → Account Settings → Account Settings → Data Files
- Click Add…
- Select:
C:\Outlook Files\[email]ggini1@tin.it[/email] - Outlook GG.pst - Then select the old OneDrive PST entry (
C:\Users\ggini\OneDrive\Documents\Outlook Files\...pst) and click Remove
3) Remove the OneDrive warning
After Outlook is working with the new PST:- Close Outlook
- Go to the old OneDrive folder:
C:\Users\ggini\OneDrive\Documents\Outlook Files\ - Move (or delete) the old PST out of OneDrive (for example to a backup folder), so OneDrive no longer tries to sync it.
- Resume OneDrive syncing.
One question
When you open Properties for the PST inC:\Outlook Files\, what does it show for Size (exactly)? If you paste that number, I’ll confirm you’re 100% safe to remove the OneDrive copy.- Joined
- Mar 14, 2023
- Messages
- 97,395
No need to apologize — your screenshot actually confirms everything is correct.
…but in Properties it clearly says:
Type of file: Outlook Data File (.pst)
and the size is 7.36 GB at location C:\Outlook Files.
So the copy is real and complete. Good.
Why you “can’t see .pst”
Windows is currently hiding known file extensions, so it shows the file as:[email]ggini1@tin.it[/email] - Outlook GG…but in Properties it clearly says:
Type of file: Outlook Data File (.pst)
and the size is 7.36 GB at location C:\Outlook Files.
So the copy is real and complete. Good.
Next: stop OneDrive warning (final steps)
1) Add this new PST in Outlook and remove the OneDrive one
- Open Outlook (Classic)
- File → Account Settings → Account Settings → Data Files
- Click Add…
- Select:
C:\Outlook Files\[email]ggini1@tin.it[/email] - Outlook GG.pst - Now click the OLD one that points to OneDrive:
C:\Users\ggini\OneDrive\Documents\Outlook Files\...pst - Click Remove
- Close Outlook and open it again.
2) Remove the OneDrive copy (so OneDrive stops trying to sync it)
- Close Outlook again (and check Task Manager that OUTLOOK.EXE is not running)
- Go to:
C:\Users\ggini\OneDrive\Documents\Outlook Files\ - Either delete the old PST there, or (safer) move it to a backup folder NOT in OneDrive, for example:
C:\Outlook Files\Backup\
Optional: show .pst extensions (so it’s clearer)
- Open File Explorer
- Click View → Show → enable File name extensions
...Outlook GG.pst explicitly.Quick check question
In Outlook → Account Settings → Data Files, after you do the “Add” step, do you see two entries for that PST (one in OneDrive and one in C:\Outlook Files)? If you paste a screenshot of that list, I’ll tell you exactly which one to remove (just to be 100% safe).- Joined
- Mar 14, 2023
- Messages
- 97,395
That screenshot looks perfect now.
- Your PST is now here (good):
C:\Outlook Files\[email]ggini1@tin.it[/email] - Outlook GG.pst - The other two entries ending in .ost under
C:\Users\ggini\AppData\Local\Microsoft\Outlook\...are normal for IMAP/Exchange accounts and should not be moved.
What to do next (quick test)
- Close Outlook
- Open Task Manager and confirm OUTLOOK.EXE is not running
- Click the OneDrive cloud icon → confirm the “file in use” warning is gone (or let it sync for a minute)
- Reboot the PC once and open Outlook again
One important last step (prevents it coming back)
Make sure you do not keep a second copy of that PST inside OneDrive anymore.- In File Explorer, check this old folder:
C:\Users\ggini\OneDrive\Documents\Outlook Files\ - If there is still an old
...Outlook GG.pstthere, move it out (or delete it if you’re sure you don’t need it), otherwise OneDrive may keep warning.
- Thread Author
-
- #15
For what I can see Outlook at the moment performs shows OK.
In the OneDrive folder I have deleted the Folder: Outlook Files but not before making a backup on C: now I only see a folder name Onedrive bacup in C;.
I also only see the Outlook Folder that I deleted from my PC now it in the One Drive Recycle bin, can I empty it?
In the OneDrive folder I have deleted the Folder: Outlook Files but not before making a backup on C: now I only see a folder name Onedrive bacup in C;.
I also only see the Outlook Folder that I deleted from my PC now it in the One Drive Recycle bin, can I empty it?
- Joined
- Mar 14, 2023
- Messages
- 97,395
Yes — you can empty the OneDrive Recycle Bin, but I’d do one quick safety check first.
File → Account Settings → Account Settings → Data Files
Make sure the only PST listed is still:
If you are confident everything is working, it’s safe to empty it.
If you tell me whether OneDrive is now fully synced with no warnings, I’ll confirm you’re 100% good to empty it.
1) Quick safety check (30 seconds)
In Outlook (Classic) go to:File → Account Settings → Account Settings → Data Files
Make sure the only PST listed is still:
C:\Outlook Files\...Outlook GG.pst
2) About the “OneDrive Recycle Bin”
When you delete a folder from the OneDrive folder, it goes to the OneDrive Recycle Bin (cloud). Until you empty it, it’s just taking space in OneDrive and can still be restored.If you are confident everything is working, it’s safe to empty it.
3) How to empty it
Option A (simplest): from the OneDrive website
- Open OneDrive in a browser (sign in with the same Microsoft account)
- Click Recycle bin
- Choose Empty recycle bin (or select only the “Outlook Files” folder and delete permanently)
Option B: from the OneDrive icon/menu
Sometimes you can click the OneDrive icon → View online → then follow Option A.4) Recommendation
If you want maximum safety: leave it in the OneDrive Recycle Bin for 2–7 days while you confirm everything stays stable. After that, empty it.If you tell me whether OneDrive is now fully synced with no warnings, I’ll confirm you’re 100% good to empty it.
- Joined
- Mar 14, 2023
- Messages
- 97,395
You’re welcome, Julian — sounds like you handled it exactly the right way.
A good “wait and see” checklist for the next couple of days:
A good “wait and see” checklist for the next couple of days:
- Outlook opens/closes normally (no need to end task).
- Deleted emails stay deleted (don’t reappear after a restart).
- OneDrive shows no “file in use” warnings.
- In Outlook → Account Settings → Data Files, your PST remains on
C:\Outlook Files...(not in OneDrive).
- Joined
- Mar 14, 2023
- Messages
- 97,395
I see you wrote cookjia.com (which looks like your website).
How can I help with it—are you having a specific problem such as:
1) The site won’t load (DNS / “server not found”)
2) SSL/HTTPS warning (certificate expired / not trusted)
3) Email issues (Microsoft 365/Outlook sending/receiving for
4) Windows hosting/server issue (IIS, firewall, ports 80/443)
5) Something else
Tell me what exactly is happening and where (on your Win 11 PC, on the server, or for visitors), and if possible paste the exact error message or a screenshot text.
How can I help with it—are you having a specific problem such as:
1) The site won’t load (DNS / “server not found”)
2) SSL/HTTPS warning (certificate expired / not trusted)
3) Email issues (Microsoft 365/Outlook sending/receiving for
@cookjia.com)4) Windows hosting/server issue (IIS, firewall, ports 80/443)
5) Something else
Tell me what exactly is happening and where (on your Win 11 PC, on the server, or for visitors), and if possible paste the exact error message or a screenshot text.
- Thread Author
-
- #20
You’re welcome, Julian — sounds like you handled it exactly the right way.
A good “wait and see” checklist for the next couple of days:
If any warning returns, just reply with the exact OneDrive message (and the file path it mentions) and I’ll tell you the specific fix.
- Outlook opens/closes normally (no need to end task).
- Deleted emails stay deleted (don’t reappear after a restart).
- OneDrive shows no “file in use” warnings.
- In Outlook → Account Settings → Data Files, your PST remains on
C:\Outlook Files...(not in OneDrive).
Hello, Just a question! I received a message via email as you can see also posted here above from: sgsmy77 i don't understand it? does it require my attention? or should I treated as an error? thank youI see you wrote cookjia.com (which looks like your website).
How can I help with it—are you having a specific problem such as:
1) The site won’t load (DNS / “server not found”)
2) SSL/HTTPS warning (certificate expired / not trusted)
3) Email issues (Microsoft 365/Outlook sending/receiving for@cookjia.com)
4) Windows hosting/server issue (IIS, firewall, ports 80/443)
5) Something else
Tell me what exactly is happening and where (on your Win 11 PC, on the server, or for visitors), and if possible paste the exact error message or a screenshot text.
Similar threads
- Replies
- 0
- Views
- 4K
- Solved
- Replies
- 13
- Views
- 1K
- Replies
- 5
- Views
- 3K