Change default scheduled defrag start times on Server 2012

I think it's great that by default Server 2012 is going to defrag all my drives on a weekly basis.  But how can I access the scheduling portion?  Is it possible to change start times, or give a window that it can start in?  I have some drives
where the data on them is only not used during certain hours, so it would make the most sense to have it start the defrag during that window.

Hi,
The ScheduledDefrag Properties as below:
http://blogs.technet.com/b/askcore/archive/2014/02/17/what-39-s-new-in-defrag-for-windows-server-2012-2012r2.aspx
Regards.
Vivian Wang

Similar Messages

  • Schedule a Job in SQL server 2012 Express

    Hello All,
    I have SQL Server express 2012 setup on my server. How can I schedule a job in SQL Server 2012 express since it does not have SQL server Agent? 
    Thanks

    Below links will help
    How to schedule backup in SQL server Express
    Free Job scheduling tool for SQL Server express
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Unable to edit the "Default Domain Controllers Policy" from a Server 2012 machine

    I am unable to edit the "Default Domain Controllers Policy" from a Server 2012 machine. The error message i recieve is:
    "Failed to open the group policy object.  You might not have the appropriate rights.  Details: The volume for a file has been externally altered so that the open file is no longer valid."
    The domain controllers are running Windows 2012 R2 upgraded from Windows 2008 R2, the domain functional level is Server 2012.
    I am able to edit the policy from both a Windows 7 and Server 2008 R2 machine.
    The following post is identical however the fix for them does not work for me:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/2d968a05-2cff-4dd0-9c5d-dd810d1fa66f/cant-edit-default-domain-controllers-policy-on-windows-8-or-server-2012
    Any ideas?

    MuhammadUmar
    Yes, the Unique ID is available on 2012 server
    Lany Zhang
    This only affects the default domain controllers policy object
    Another user added to amins and tested has no effect
    It is the same on another server
    DCDiag passes all tests
    Thanks for all your help so far

  • Is there any way changing the priviledge after starting the managed server with the other user

    Hi,
    is there any way to change the user privilege after i have started the managed
    server with one user.....say for example ....i have started one of my Managed
    server as "root" ...but after that i wanted to make this instance work under as
    "inet"
    how do i do this OR is it possible ????
    please advise ....
    sangita

    Thanks again Rob.
    Rob Woollen <[email protected]> wrote:
    >
    >
    sangita wrote:
    Thanks Rob for been so quick in responding.
    I have 3 questions for you:
    Running a server under root is a huge security hole.My Question: 1) what are the probable security issues while runninga server under
    root ?
    are these security issues external(from outside world) or internal(internally
    within a company) ?
    Iam basically curious to know external threats.
    The problem is the root user can do anything. So if someone finds a
    security hole in your server, then they have complete control of your
    system.
    The usual reason people want to do this is so they can bind to a port
    <
    1024. ie they want their web server to listen to 80.My Question: 2) What is the harm in using port 80 for webserver andwhy do the
    people wanted to bind to a port < 1024 ?
    People normally use 80 for web servers because that's the well-known
    port.
    Personally I would not recommend that you go that route. I would
    recommend that you start the server as a very unprivileged user andbind
    it to some port (say 7001).
    Most firewalls support redirecting ports. Your firewall can redirect
    80
    on the external net to 7001 on the internal net. That's the solution
    I
    would recommend.My Question: 3) Suppose iam having a cluster of 2 Managed servers runningon port
    7070. And Iam having a Iplanet server working as a Webserver that basicallyproxies
    requests to this cluster. Then what is the best approach that i shouldfollow
    in this context.....to be honest with you ....i still couldnot understandwhat
    does "binding" the webserver port to a managed server in weblogic mean.
    I would have your firewall redirect 80 to whatever port Iplanet is
    listening on and then have iplanet proxy to WLS.
    Do not run your WLS servers as root.
    -- Rob
    Iam sorry for asking these "silly" questions(in your opinion) ...butiam a bit
    confused.
    thanks, sangita
    Rob Woollen <[email protected]> wrote:
    Running a server under root is a huge security hole.
    The usual reason people want to do this is so they can bind to a port
    <
    1024. ie they want their web server to listen to 80.
    There is a set uid option in WLS where you start the server as root
    and
    then after it binds to the low port, it will switch to another userthat
    you specify.
    Personally I would not recommend that you go that route. I would
    recommend that you start the server as a very unprivileged user andbind
    it to some port (say 7001).
    Most firewalls support redirecting ports. Your firewall can redirect
    80
    on the external net to 7001 on the internal net. That's the solution
    I
    would recommend.
    -- Rob
    sangita wrote:
    <Sure, it's possible to do this, >
    how to do this?
    <but why do you want to do it? >
    Iam not sure why this group (the other group than me) does start theirserver
    as "root"...but somebody from that group asked me about this today.
    I would not recommend that you start WLS as root on your production
    system ever under any cirucmstance.then what is the best approach and what are the pros and cons if westart the
    server as "root" OR as different user ????
    please advise ....
    thanks again.
    Rob Woollen <[email protected]> wrote:
    Sure, it's possible to do this, but why do you want to do it?
    I would not recommend that you start WLS as root on your production
    system ever under any cirucmstance.
    -- Rob
    sangita wrote:
    Hi,
    is there any way to change the user privilege after i have startedthe managed
    server with one user.....say for example ....i have started one
    of
    my Managed
    server as "root" ...but after that i wanted to make this instance
    work
    under as
    "inet"
    how do i do this OR is it possible ????
    please advise ....
    sangita

  • Speeding up start time of server by parallelizing bdb-open()

    Hi,
    I am working in Voldemort team. We are having multiple bdb je environments which share a common bdb cache. We are trying to speed up the start time of our server by parallelizing the bdb-open() (bdb-open() opens an environment and then a database within that). To implement this we used a thread pool and when the Voldemort server comes up we try to open 30 bdb databases in different threads at the same time. However we are not seeing any improvement in start time.
    Can someone clarify why the parallel open does not help, given we are not bottlenecked on IO based on system stats.
    Are there any recommendations to speed up the startup time?  
    Thanks,
    Sudha

    Looking into the code further, I see that com.sleepycat.je.Environment.openDatabase() uses locks for accessing NameLN and a handleLocker. Could the locks slow down the parallel threads?
    Thanks,
    Sudha

  • Remote Desktop Connection Manager can only open 6 sessions at a time on Server 2012

    I am only able to open, and view thumbnails, for a maximum of 6 RDP sessions on my Server 2012 box at a time in Remote Desktop Connection Manager (RDCM). If I add more sessions I just get a variety of connection errors for the additional sessions. If I activate
    a 7th session one of the existing 6 sessions goes off-line with a connection error message. Sometimes the error says 3334, sometimes the error says 0x8345000E, and sometimes it just says there is a connection error.
    I have checked Group Policy on the server to ensure I don't have any settings restricting the number of RDP sessions.
    In fact, I will often have 30 or 40 RDP simultaneous sessions opened, I am just not able to view them all in RDCM. I have seen reviews of RDCM with screenshots showing dozens of thumbnails so it seems to be something that's possible to do.
    Are there any settings I should make on the server to allow RDCM to connect to more than 6 simultaneous RDP sessions?
    Just to be clear, all these RDP sessions are running on the same server. Also, I am just using the trial license for Server 2012 and Remote Desktop Services right now. I don't think that should have an impact, but I wanted to be thorough.

    Thanks Jakub for "corflags" info.
    Unfortunatelly it doesn't work because running mRemoteNG.exe process in 64bit can't load MSTSC ActiveX component (referenced assemblies) because original files were assembled from 32bit dll [mstscax.dll]?
    Error message when making RDP connection:
    Could not load file or assembly 'Interop.MSTSCLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    I was able to create new AxInterop.MSTSCLib.dll and Interop.MSTSCLib.dll assemblies from 64bit dll version and now it works with "AnyCPU":-)
    http://www.filedropper.com/axinteropmstsclib-mremoteng
    Using AxImp.exe and TlbImp.exe didn't worked for me because it creates assemblies in wrong namespace "MSTSCLib" instead of "Interop.MSTSCLib" (AxImp.exe) and TlbImp.exe for changing namespace generated many "marshaled errors"
    so final .dll wasn't working.
    Adding MSTSCAX.dll reference in Visual Studio directly created correct and functional assemblies. Who don't know how to create 64bit compatible assemblies or don't have Visual Studio, feel free to check linked file.
    Hope it helps
    P.S. Sorry for possible technical misinterpretation, I am not programmer so creating new assemblies was trial-error process...

  • Alternatives to PowerShell automation of Excel (Scheduled Task) in a Windows Server 2012 R2 world

    I have a handful of PowerShell scripts that ran as Scheduled Tasks on an old Windows 2008 SP2 server, which output reports as Excel workbooks with multiple worksheets, via a COM object. After migrating these scripts to a new Windows 2012 R2 server,
    these scripts no longer function. The Server 2008 system was running Office 2007, and the new Server 2012 R2 server has Office 2013 installed.
    What is everyone using on their Server 2012 R2 systems to automate generation of multi-sheet reports in Excel via PowerShell and Scheduled Tasks?
    I know that Microsoft has said that automating Office applications server-side in non-interactive mode, but it has worked in the past, until now. (https://support.microsoft.com/kb/257757)
    I've tried the OpenXML PowerTools for PowerShell (https://powertools.codeplex.com/), but Export-OpenXMLSpreadsheet will only export a single worksheet, and they don't support adding worksheets to existing files
    (am I missing something?). I understand the OpenXML PowerTools can be extended in C#, but I don't C#. The PowerShell cmdlets were released in Jan 2012, but don't look to have been updated since then (updates have been the core C# code).
    I've seen recommendations to add C:\Windows\(System32 or SysWOW64)\config\systemprofile\Desktop, but this hasn't worked on Server 2012.
    Has anyone been able to get Excel 2013 to cooperate on Server 2012 R2, or come up with a suitable alternative? I'd rather not start running these scripts from my workstation.
    EDIT:
    I'm not necessarily looking for an Excel answer, since there are OpenXML ways of doing things now without the Excel application.
    Here are some of the errors I'm getting when approaching this from different directions. When I use:
    $excel = New-Object -comobject Excel.Application$workbook = $excel.Workbooks.Add()
    Results in error:
    Exception calling "Add" with "0" argument(s): "Microsoft Excel cannot open or
    save any more documents because there is not enough available memory or disk
    space.
    • To make more memory available, close workbooks or programs you no longer
    need.
    • To free disk space, delete files you no longer need from the disk you are
    saving to."
    At C:\path\to\script.ps1:21 char:2
    + $workbook = $excel.Workbooks.Add()
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation
    The server is definitely not lacking for resources.
    I can copy a blank XLSX file and use .Open($xlFile) instead of .Add(), but then when I go to open a CSV file to copy/paste the content to a worksheet, I get this one:
    Exception calling "Open" with "1" argument(s): "The server threw an exception.
    (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"
    At C:\path\to\script.ps1:65 char:2
    + $tempcsv = $excel.Workbooks.Open($CSVFile)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation
    Things that I've tried so far, with no success:
    I created C:\Windows\System32\config\systemprofile\Desktop and C:\Windows\SysWOW64\config\systemprofile\Desktop as suggested here:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0751119d-84d5-4a77-8240-1c4802f97375/powershell-scheduled-tasks-wont-start-excel?forum=winserverpowershell
    Add Local Launch and Local Activation permissions to the Microsoft Excel Application DCOM Config, Grant "Read & Execute, List folder contents, Read" permissions on the \config\systemprofile\Desktop folder. Grant "Modify, Read & Execute,
    List Folder Content, Read, Write" permissions for the account on the following folders:
    \config\systemprofile\AppData\Roaming\Microsoft
    \config\systemprofile\AppData\Local\Microsoft
    as suggested here:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/aede572b-4c1f-4729-bc9d-899fed5fad02/run-powershell-script-as-scheduled-task-that-uses-excel-com-object?forum=winserverpowershell
    @ jrv - I will try posting a similar question in the Excel 2013 forum, but since I'm looking for a scripting solution to produce an OpenXML spreadsheet, and not something that necessarily uses the Excel application (though such a solution would not be turned
    away), I thought this the more appropriate venue.
    (to reiterate from OP) I have seen and acknowledge Microsoft's statements regarding the unsupported nature of automating Office applications in non-interactive environments, but the truth of the matter is, supported or not, it worked in the past (Server
    2008), it's what I inherited from my predecessor, and I know I'm not the only one who has been using Excel in this way. I'm only asking fellow scripters, some of whom must also be using Excel in this "unsupported" fashion, how they are automating
    creation of their spreadsheet reports after moving to Server 2012. A different system modification to make the Excel comObject continue working as before? Direct manipulation of the OpenXML document? Other solutions that may or may not require launching the
    Excel application?

    #1 - Ask in Excel 2013 forum.
    #2 - Microsoft has repeatedlynoted that this is NOT a supported configuration for Office products.
    #3 - What errors are you getting?
    #4 - What have you done to debug this:
    #5 - No one can be of much help unless you post a very simple example of how this fails.
    ¯\_(ツ)_/¯

  • How to SQL Server icons in start menu (Win Server 2012 R2)

    Hi Folk's,
    I have an installation of SQL Server 2012 Developer Edition on Windows Server 2012 R2.  The installation was successful with the exception I have no SQL icons in the start menu - so I can't run the SQL Server Management Studio without going and looking
    for the executable.
    Does anyone know how I can re-generate the icons. I have tried doing a repair but this did not work.
    Regards
    Andy

    I deleted the virtual machine and did a clean install and got the same issue.   SQL Server 2012 SP1 Developer Edition does not install the icons in the start menu on Windows 2012 R2  (it works fine on Windows Server 2012).
    In the Search menu if I type in SQL it just comes up with the SQL Server Installation center. 
    I have checked via the installer and via the discovery report mentioned above and all features are recorded as being installed.
    However, I note that the Management Studio executable is missing (and likely so are some of the others).
    Hi AndyW2007,
    According to your description, we need to verify if you have install SQL Server 2012 Developer Edition successfully, you can check the setup log in the following folder.
    -- C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\LOG\Summary.txt.
    --C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\<YYYYMMDD_HHMM>\Detail.txt
    If installing well, but the icons does not show in the start menu, I recommend you can create the lnk from the following installing location.
    C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe
    If you have any feedback on our support, please click here.
    Thanks,
    Sofiya Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unable to Change Screen Resolution in Remote Session - Windows Server 2012 R2

    Does anybody know of a way to allow Remote Desktop users to adjust their own screen resolution in a remote session under Windows Server 2012 R2? We are struggling with this and can't seem to find a solution.
    When users login to their RDP session and try to adjust their screen resolution this message is displayed in Control Panel:
    "The display settings can't be changed from a remote session."
    We don't want to use the "make text and other items larger or smaller" scaling feature, as this produces undesirable results with some of our applications.  We also don't want to have to support multiple types of RDP clients or RDP shortcut
    files.
    We have looked at other posts but can't find an answer that applies to Windows Server 2012 R2.  The closest thing we could find is KB2726399, but it only applies to Server 2008.
    Does anybody have a solution for Server 2012?
    Thanks

    Hi,
    Currently you cannot change the resolution from within the session.  This is normal and expected behavior.  
    Unfortunately this means you need to set the desired resolution before connecting by using custom .rdp files, manually within the Remote Desktop Client, custom web launch page, custom windows launch program, etc.
    -TP

  • ServerManager.exe - This application could not be started. - Windows Server 2012 R2

    Hello All,
    We have a Dell Precision M4800 installed with Windows Server 2012 R2, and we are unable to get the Server Manager working. When we click on ServerManager, the below error occurs,
    Error Message: ServerManager.exe - This application could not be started.
    Action Taken:
    1. Windows Updates, and Windows Security Updates are up-to-date, rebooted
    2. Display Drivers are updated, rebooted
    3. .NET Framework 4.5.2 is updated, rebooted
    Still the same error. Please assist.
    Thank you, Anand
    Anand Franklin

    Hi,
    Thanks for your post.
    Usually, ServerManager.exe error may be caused by:                    
    The registry key of ServerManager.exe is invalid or damaged.
    Computer malware has injected malicious code and modified ServerManager.exe file.
    The ServerManager.exe file was uninstalled by other software.
    The ServerManager.exe file was intentionally or mistakenly deleted by other software.
    The required version of ServerManager.exe file is overwritten by other software.
    There is a hardware failure, such as a bad hard disk.
    You can use the following solutions as the article mentioned to fix ServerManager.exe error:
    http://www.fixerrorhelps.com/fix-pc-error/how-to-fix-ServerManager.exe-error.html
    If all the suggestions did not work, i think we need to reinstall the Operating System.
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Change infopackage scheduling rom Start later in background to immediate

    Hi all,
    I am having the following issue,
    How to make permanent changes to Infopackage which are included in process
    My Infopackage is containing the following setting in Schedule Tab
    1. Start later in background (Immediately)
    This infopackage is included in one process chain.
    I am changing the above setting to “Start Data Load Immediately” and saving it, but when I am opening that infopackage again the setting is going back to Start later in background (Immediately) .
    Please let me know how can I change the setting “Start later in background” (Immediately) to “ start Data load Immediately” perfectly .
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/infopackage-load-immediate-691990
    Please suggest.
    Raj.

    Hey Raj,
    Once you save the job as run in background it cannot be saved back to the run immediate. But that doesnt mean that your job aint set to immediate.
    Infact within the scheduling tab itself you will notice many tabs
    namely
    Immediate
    Date/Time
    Afterjob
    afterevent
    at operation mode etc
    Now observe when you have set it as immediate, as soon as you click on the immediate tab Under Date/time you would see a small faded check box with Immediate start checked. This says that the job would start immediately if you are not going to use the other options.
    Bottom line Start date load immediately and start later in background with
    immediate start checkbox faded gives the same effect unless u are having other specifications set.
    If you click on start with either of the options its going to start immediately. So dont worry abt the radio button being activated for background.
    Thanks
    Raj

  • Slow stream start times/ or server not found with FMIS upgrade

    I recently upgraded from FMS 2 - FMIS 3.5.  Over our internal network videos stream like a dream!  However, accessing them from outside our own network means that they take about 20 seconds to load, or sometimes just get a message saying the server isn't found.
    This wasn't a problem with the FMS2 and there have been no changes to firewall settings or anything like that since the old server was up and running without problems.  I have the new server set to use exaclty the same ports, but wonder if there are some other settings which could be causing this?
    Networking isn't really my area of expertise, and I have no idea where to start looking to improve things.  Can anyone offer some suggestions as to why this would be happening?  Would appreciate any help.  Thanks

    That 20 second period makes me suspect and issue with port bindings. It's typical for the Flashplayer to take about 20 seconds for the attempt on port 1935 to time out and try port 80.
    In your fms.ini, what do you have the adaptor.hostport set to? Also, is there anything else running on the server that might occupy port 80... perhaps an HTTP server? If so, what's the environment? IIS, apache, windows, Linux, etc?
    Also, in your event logs, do you see any errors from FMS suggesting that it can't attach to a specific port? In windows, this will show up in your event viewer... not sure about Linux.
    You might try connecting to the server with a port defined in the url...
    rtmp://mydomain.com:1935/application/instance
    and
    rtmp://mydomain.com:80/application/instance
    If you find that either fail consistently, it would suggest that either a port is occupied by another application, or FMS isn't binding to all of the configured ports or IP addresses for some reason.

  • How do I change the "Set Date and Time Automatically" server

    Is there a way to change System Preferences/Date & Time/Date & Time/Set date and time automatically from "Apple Americas/U.S. (time.apple.com)" to another time server instead?

    sig wrote:
    The menu has a drop down. But if you know the address of another time server I would think you can type it in.
    Yeah, that's not really a menu, but a "combo box", which is a combination of an edit field and pop-up menu. So you can choose from existing items or just type in whatever time server you want.
    charlie

  • Changing default "From / To" Event time from 12:00AM???

    I've giving up trying to find out how to change the default From / To time for an event to something more reasonable than 12:00am. Does anyone know how to do this, so that when you create an new event, it is created with a time other than the default, without having to go in and override it each time an event is created? Thanks.
    Message was edited by: durrace

    durrace,
    First, refresh the the com.apple.iCal.plist file. You will find the com.apple.iCal.plist file in your Macintosh HD/Users/yourusername/Library/Preferences Folder. Quit iCal, drag the com.apple.iCal.plist file to your Desktop, log out/in or restart.
    Then before restarting iCal, open System Preferences...>Language & Text>Formats>Region: and set/reset the appropriate region.
    ;~)

  • Change default iPod Shuffle Start volume so its Louder

    Hi
    I use my Shuffle to Run with using my own headphones. This is fine but the default volume on the shuffle is too quiet (I think its on about 70%?)
    If I use the apple headphones, they fall out of my ears. If I use mine, its too quiet and I cant turn it up. Is there any way to tell my shuffle via my computer using iTunes to default to a louder volume?
    I was thinking about buying one of those volume controls that you can use with your own headphones but as I only listen to podcasts while I run I am happy without controls so long as I can make it play at 100% volume using my own headphones.
    Thanks
    Iain

    yanic wrote:
    Hi
    I use my Shuffle to Run with using my own headphones. This is fine but the default volume on the shuffle is too quiet (I think its on about 70%?)
    If I use the apple headphones, they fall out of my ears. If I use mine, its too quiet and I cant turn it up. Is there any way to tell my shuffle via my computer using iTunes to default to a louder volume?
    Sorry, but the answer is NO. Max volume for shuffles sold in EU is lower
    than those sold in US and most countries outside the EU...
    You CAN, however, adjust the volume of each podcast or all podcasts
    in your playlist by selecting them, then doing Get Info>Options...

Maybe you are looking for

  • How do I find out the version / edition of Oracle ?

    Hi, I guess the version installed in the box is Oracle 8i (8.1.7). But I am not too sure about it and also I found to find out which edition it is. How can I find out ? Please let me know. Regards, Harish

  • Cd STUCK in my mac book pro?

    hello, i have a 15 inch mac book pro. a few months ago i was burning a cd and when it was finished burning and time to eject, it wouldnt successfully come out. i looked online and saw the giant list of different ways to eject (such as restarting and

  • TS4479 Apple TV radio connection lost.

    Radio worked fine until yesterday, 3/27/14. Favorites still listed, but won't connect when selected. New selections won't connect either. Nothing from the radio. No other changes to the system. Screen shows "loading internet radio stations" with a sp

  • Top activity (red bar) enterprise manager

    Hi I am new to oracle 10g and performance tuning; When I look at the top activity from enterprise manager, I notice that one person has red bar(which is making update).The activity is around %65, and the user said that the system hangs, it takes too

  • Tshark LabVIEW Communication Issue

    Hello. I am trying to call "TSHARK" from the command line through LabVIEW. I can call it fine from the command line, and I can call other command line commands through labview (like 'cmd') but every time I try and call tshark I get an error. Anyone g