Pause OneDrive sync using cmd
I would like to know how to pause onedrive from syncing using a command in the cmd. I am doing this because I have my .minecraft folder shared in onedrive and when I am playing minecraft, it is really slow and onedrive tries to sync the data that is being used. Right now I have to pause it with right clicking the folder and clicking pause but I would like to know the code to stop it with cmd so I can made a .bat file to pause onedrive and then start minecraft. If anyone knows how to do this, please let me know.
Thanks,
Kyle5953c
windows command-line sync cmd.exe onedrive
add a comment |
I would like to know how to pause onedrive from syncing using a command in the cmd. I am doing this because I have my .minecraft folder shared in onedrive and when I am playing minecraft, it is really slow and onedrive tries to sync the data that is being used. Right now I have to pause it with right clicking the folder and clicking pause but I would like to know the code to stop it with cmd so I can made a .bat file to pause onedrive and then start minecraft. If anyone knows how to do this, please let me know.
Thanks,
Kyle5953c
windows command-line sync cmd.exe onedrive
I am not aware of a method to control OneDrive from just a command console by itself. You can pause it through windows explorer though.
– Ramhound
Apr 7 '15 at 18:26
You can write an AutoIt/AHK script I suppose to automate the right-clicking and pausing, then execution of Minecraft. As for script access to OneDrive sync directly, perhaps it's possible via PowerShell and the Live API: 1, 2, 3.
– Karan
Apr 7 '15 at 19:01
I don't have a window s8.1 machine in front of me, but I'm pretty sure OneDrive still usesskydrive.exe
in the windowssystem32 folder. Tryskydrive /shutdown
to stop it...
– Ƭᴇcʜιᴇ007
Apr 7 '15 at 19:22
You can also useprocess -s onedrive.exe
from beyondlogic to sleep the process. You run the same command line to resume.
– Sun
Apr 13 '15 at 16:55
Have you tried: taskkill /f /im (onedrive's sync process)?
– RookieTEC9
Sep 14 '15 at 14:20
add a comment |
I would like to know how to pause onedrive from syncing using a command in the cmd. I am doing this because I have my .minecraft folder shared in onedrive and when I am playing minecraft, it is really slow and onedrive tries to sync the data that is being used. Right now I have to pause it with right clicking the folder and clicking pause but I would like to know the code to stop it with cmd so I can made a .bat file to pause onedrive and then start minecraft. If anyone knows how to do this, please let me know.
Thanks,
Kyle5953c
windows command-line sync cmd.exe onedrive
I would like to know how to pause onedrive from syncing using a command in the cmd. I am doing this because I have my .minecraft folder shared in onedrive and when I am playing minecraft, it is really slow and onedrive tries to sync the data that is being used. Right now I have to pause it with right clicking the folder and clicking pause but I would like to know the code to stop it with cmd so I can made a .bat file to pause onedrive and then start minecraft. If anyone knows how to do this, please let me know.
Thanks,
Kyle5953c
windows command-line sync cmd.exe onedrive
windows command-line sync cmd.exe onedrive
asked Apr 7 '15 at 18:21
kyle5953ckyle5953c
612
612
I am not aware of a method to control OneDrive from just a command console by itself. You can pause it through windows explorer though.
– Ramhound
Apr 7 '15 at 18:26
You can write an AutoIt/AHK script I suppose to automate the right-clicking and pausing, then execution of Minecraft. As for script access to OneDrive sync directly, perhaps it's possible via PowerShell and the Live API: 1, 2, 3.
– Karan
Apr 7 '15 at 19:01
I don't have a window s8.1 machine in front of me, but I'm pretty sure OneDrive still usesskydrive.exe
in the windowssystem32 folder. Tryskydrive /shutdown
to stop it...
– Ƭᴇcʜιᴇ007
Apr 7 '15 at 19:22
You can also useprocess -s onedrive.exe
from beyondlogic to sleep the process. You run the same command line to resume.
– Sun
Apr 13 '15 at 16:55
Have you tried: taskkill /f /im (onedrive's sync process)?
– RookieTEC9
Sep 14 '15 at 14:20
add a comment |
I am not aware of a method to control OneDrive from just a command console by itself. You can pause it through windows explorer though.
– Ramhound
Apr 7 '15 at 18:26
You can write an AutoIt/AHK script I suppose to automate the right-clicking and pausing, then execution of Minecraft. As for script access to OneDrive sync directly, perhaps it's possible via PowerShell and the Live API: 1, 2, 3.
– Karan
Apr 7 '15 at 19:01
I don't have a window s8.1 machine in front of me, but I'm pretty sure OneDrive still usesskydrive.exe
in the windowssystem32 folder. Tryskydrive /shutdown
to stop it...
– Ƭᴇcʜιᴇ007
Apr 7 '15 at 19:22
You can also useprocess -s onedrive.exe
from beyondlogic to sleep the process. You run the same command line to resume.
– Sun
Apr 13 '15 at 16:55
Have you tried: taskkill /f /im (onedrive's sync process)?
– RookieTEC9
Sep 14 '15 at 14:20
I am not aware of a method to control OneDrive from just a command console by itself. You can pause it through windows explorer though.
– Ramhound
Apr 7 '15 at 18:26
I am not aware of a method to control OneDrive from just a command console by itself. You can pause it through windows explorer though.
– Ramhound
Apr 7 '15 at 18:26
You can write an AutoIt/AHK script I suppose to automate the right-clicking and pausing, then execution of Minecraft. As for script access to OneDrive sync directly, perhaps it's possible via PowerShell and the Live API: 1, 2, 3.
– Karan
Apr 7 '15 at 19:01
You can write an AutoIt/AHK script I suppose to automate the right-clicking and pausing, then execution of Minecraft. As for script access to OneDrive sync directly, perhaps it's possible via PowerShell and the Live API: 1, 2, 3.
– Karan
Apr 7 '15 at 19:01
I don't have a window s8.1 machine in front of me, but I'm pretty sure OneDrive still uses
skydrive.exe
in the windowssystem32 folder. Try skydrive /shutdown
to stop it...– Ƭᴇcʜιᴇ007
Apr 7 '15 at 19:22
I don't have a window s8.1 machine in front of me, but I'm pretty sure OneDrive still uses
skydrive.exe
in the windowssystem32 folder. Try skydrive /shutdown
to stop it...– Ƭᴇcʜιᴇ007
Apr 7 '15 at 19:22
You can also use
process -s onedrive.exe
from beyondlogic to sleep the process. You run the same command line to resume.– Sun
Apr 13 '15 at 16:55
You can also use
process -s onedrive.exe
from beyondlogic to sleep the process. You run the same command line to resume.– Sun
Apr 13 '15 at 16:55
Have you tried: taskkill /f /im (onedrive's sync process)?
– RookieTEC9
Sep 14 '15 at 14:20
Have you tried: taskkill /f /im (onedrive's sync process)?
– RookieTEC9
Sep 14 '15 at 14:20
add a comment |
3 Answers
3
active
oldest
votes
You can stop it by running a batch file that will loop so it will stop onedrive until you exit:
:Loop
Taskkill /f /im onedrive.exe
Goto loop
If you want to do it manually, then simply just do Taskkill /f /im onedrive.exe
Please run this batch file once you have started minecraft.
Tested on Windows 7
add a comment |
Use pssuspend
https://technet.microsoft.com/en-us/sysinternals/pssuspend
pssuspend onedrive
minecraft
pssuspend -r onedrive
add a comment |
A more graceful way to stop OneDrive than TASKILL or PSSUSPEND is:
%LOCALAPPDATA%MicrosoftOneDriveOneDrive.exe /shutdown
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f898838%2fpause-onedrive-sync-using-cmd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can stop it by running a batch file that will loop so it will stop onedrive until you exit:
:Loop
Taskkill /f /im onedrive.exe
Goto loop
If you want to do it manually, then simply just do Taskkill /f /im onedrive.exe
Please run this batch file once you have started minecraft.
Tested on Windows 7
add a comment |
You can stop it by running a batch file that will loop so it will stop onedrive until you exit:
:Loop
Taskkill /f /im onedrive.exe
Goto loop
If you want to do it manually, then simply just do Taskkill /f /im onedrive.exe
Please run this batch file once you have started minecraft.
Tested on Windows 7
add a comment |
You can stop it by running a batch file that will loop so it will stop onedrive until you exit:
:Loop
Taskkill /f /im onedrive.exe
Goto loop
If you want to do it manually, then simply just do Taskkill /f /im onedrive.exe
Please run this batch file once you have started minecraft.
Tested on Windows 7
You can stop it by running a batch file that will loop so it will stop onedrive until you exit:
:Loop
Taskkill /f /im onedrive.exe
Goto loop
If you want to do it manually, then simply just do Taskkill /f /im onedrive.exe
Please run this batch file once you have started minecraft.
Tested on Windows 7
answered Sep 14 '15 at 14:58
RookieTEC9RookieTEC9
879728
879728
add a comment |
add a comment |
Use pssuspend
https://technet.microsoft.com/en-us/sysinternals/pssuspend
pssuspend onedrive
minecraft
pssuspend -r onedrive
add a comment |
Use pssuspend
https://technet.microsoft.com/en-us/sysinternals/pssuspend
pssuspend onedrive
minecraft
pssuspend -r onedrive
add a comment |
Use pssuspend
https://technet.microsoft.com/en-us/sysinternals/pssuspend
pssuspend onedrive
minecraft
pssuspend -r onedrive
Use pssuspend
https://technet.microsoft.com/en-us/sysinternals/pssuspend
pssuspend onedrive
minecraft
pssuspend -r onedrive
answered Nov 29 '16 at 10:47
MaxMax
248311
248311
add a comment |
add a comment |
A more graceful way to stop OneDrive than TASKILL or PSSUSPEND is:
%LOCALAPPDATA%MicrosoftOneDriveOneDrive.exe /shutdown
add a comment |
A more graceful way to stop OneDrive than TASKILL or PSSUSPEND is:
%LOCALAPPDATA%MicrosoftOneDriveOneDrive.exe /shutdown
add a comment |
A more graceful way to stop OneDrive than TASKILL or PSSUSPEND is:
%LOCALAPPDATA%MicrosoftOneDriveOneDrive.exe /shutdown
A more graceful way to stop OneDrive than TASKILL or PSSUSPEND is:
%LOCALAPPDATA%MicrosoftOneDriveOneDrive.exe /shutdown
answered Dec 13 '18 at 18:12
NutCrackerNutCracker
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f898838%2fpause-onedrive-sync-using-cmd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I am not aware of a method to control OneDrive from just a command console by itself. You can pause it through windows explorer though.
– Ramhound
Apr 7 '15 at 18:26
You can write an AutoIt/AHK script I suppose to automate the right-clicking and pausing, then execution of Minecraft. As for script access to OneDrive sync directly, perhaps it's possible via PowerShell and the Live API: 1, 2, 3.
– Karan
Apr 7 '15 at 19:01
I don't have a window s8.1 machine in front of me, but I'm pretty sure OneDrive still uses
skydrive.exe
in the windowssystem32 folder. Tryskydrive /shutdown
to stop it...– Ƭᴇcʜιᴇ007
Apr 7 '15 at 19:22
You can also use
process -s onedrive.exe
from beyondlogic to sleep the process. You run the same command line to resume.– Sun
Apr 13 '15 at 16:55
Have you tried: taskkill /f /im (onedrive's sync process)?
– RookieTEC9
Sep 14 '15 at 14:20