Config Manager 2012 client upgrade (via package with batch commands)

Hello all,
I would like to kindly ask for your help with my question regarding a SCCM 2012 R2 client upgrade (from RTM to R2)
Recently, we have upgraded from RTM version of SCCM2012 to R2 (with the PXE hotfix applied)
During the process, I have choose not to upgrade clients when the SP1 was applied and go straight for the R2, which is not a problem I believe. 
My question is regarding the pre-created packages, that are showing up in the console. I believe, that they are the easiest way to upgrade clients via packages in SCCM. (we can't push the installation due network policy)
This hotfix is stored here: \\"FQDN_site_server"\SMS_TSP\hotfix\KB2905002\Client\x64    (in case of x64 version, x86 is the same but x86 in the end)
The executed file from this path is this with this command following: 
msiexec.exe /p configmgr2012ac-r2-kb2905002-x64.msp /L*v %TEMP%\configmgr2012ac-r2-kb2905002-x64.msp.LOG /q REINSTALL=ALL REINSTALLMODE=mous
Anyway, when we install the clients when we deploy it for the first on a machine, that has no client or we reinstall it, we do it with help of this batch command:
set curdir=%~dp0
%curdir%ccmsetup.exe SMSSITECODE=TSP /NoCRLCheck /UsePKIcert /forceinstall SMSMP=HTTPS://CML.LTSPRAGUE.CZ CCMHOSTNAME=CML.LTSPRAGUE.CZ
I just need to know, if I can use the prepared package from the console in our case and if it will keep the settings when the package is deployed.
I belive I have found a similar questin here on the forums:
http://social.technet.microsoft.com/Forums/en-US/c9b40687-1843-44c7-b61b-fd26d53ab90b/cumulative-update-3-and-agent-upgrade?forum=configmanagerdeployment
The second answer might the answer I'm looking for, but can you explain that to me like I'm five years old? :)
Please, let me know.
The IT guys from LukOIL

I'm not sure, because of my short time at  the company, but there are historical security reasons for setting the push installation off. 
Second reason are strict firewall rules used here. SCCM Agent may contact site server through HTTPS - that is a one way communication, so push installation isn't possible.
Don't mix "client push" and "automatic client update". See
http://blogs.technet.com/b/configmgr_geek_speak/archive/2013/09/09/using-configuration-manager-automatic-client-upgrade-to-upgrade-to-the-latest-system-center-endpoint-protection-client.aspx for further details. (And yes, the article talks about SCEP, but
it also tells details about the entire process)
Torsten Meringer | http://www.mssccmfaq.de
Thank you for the article and your, but I find it easier to deploy packages right now.
I have found out, that there is a folder named "ClientUpgrade" in ConfigMgr installation folder.
I used this and made a package out of it. Deployment went fine as well as the installation of the upgrade for the client, but there is a problem now, that I don't see any software in the "Software Center" in "Available Software" - and there should be, since
I have may SW pointed to me and the list was populated before I have done the upgrade to the new version.
This may be a simple problem, but I really don't know what's wrong.
The IT guys from LukOIL

Similar Messages

  • WMF 3.0+ supported on server 2008 r2 SP1 with Config Manager 2012 R2

    Hi guys
    Is WMF (PowerShell) 3.0+ supported on server 2008 r2 SP1 with Config Manager 2012 R2.
    Thanks
    NN

    Yes supported since SP1 release
    Cheers
    Paul | sccmentor.wordpress.com

  • Config Manager 2012 R2 Update Failed - Now What?

    Starting Environment:
    Windows Server 2012 VM
    Configuration Manager 2012 CU1
    SQL Server 2012 Enterprise SP1 installed on a separate 2 node cluster 
    We have been running this setup for Config Manager 2012 CU1 for about a year now with no issues at all.  In an effort to deploy Windows 8.1 I ran the Configuration Manager 2012 R2 Update.  The update failed halfway through.  From the ConfigMgrSetup.log
    it looks like it wasn't able to connect to the database and this is why the update failed. Problem is after the install failed I am no longer able to connect to the database when opening the CM console.  I get the "Configuration Manager cannot connect
    to the site" message.  Here is the error from the SMSAdminUI.log:
    [02/24/2014 19:10:21] :Transport error; failed to connect, message: 'The SMS Provider reported an error.'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException\r\nThe SMS Provider reported an error.\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
       at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nConfigMgr Error Object:
    instance of __ExtendedStatus
    Operation = "ExecQuery";
    ParameterInfo = "SELECT * FROM SMS_Site WHERE SiteCode = 'EPS'";
    ProviderName = "WinMgmt";
    Error Code:
    ProviderLoadFailure
    \r\nSystem.Management.ManagementException\r\nProvider load failure \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()\r\nManagementException details:
    instance of __ExtendedStatus
    Operation = "ExecQuery";
    ParameterInfo = "SELECT * FROM SMS_Site WHERE SiteCode = 'EPS'";
    ProviderName = "WinMgmt";
    \r\n
    [10, PID:6140][02/24/2014 19:10:21] :System.Management.ManagementException\r\nProvider load failure \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\nManagementException details:
    I have tried running the R2 update again but am now faced with the following 2 failures during run check:
    Current SUM configuration uses virtual locations for some of the active SUPs. Please remove any virtual locations from the existing SUM configuration.
    There is an active source hierarchy configured for migration. Please stop data gathering for each source site in the source hierarchy.
    I do not know how I can fix these errors without being able to connect through the console.  
    Does anyone have any ideas on how I can reconnect the console to the database and eventually successfully run the R2 update?
    Database itself seems fine. No errors.  Database mounts fine.   
    Thanks in advance for any input.  

    Hi,
    I saw a similar problem with yours. It should be helpful.
    http://social.technet.microsoft.com/Forums/en-US/dda03cc4-e78e-409b-a9dd-f6d8a4f96774/upgrade-to-system-center-2012-sp1-prerequisite-check-failed-with-error-software-update-points-in?forum=configmgrsum
    Best Regards,
    Joyce 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.

  • Config Manager 2012 not working on Windows 7

    I am having a problem pusing out the config Manager 2012 r2 console with The App-V Management infrastructure.
    I have built the package based on the basic guidence in this article. blogs.technet.com/b/appv/archive/2013/01/08/ how-to-sequence-the-microsoft-system-center-2012-configuration-manager-admin-console-with-microsoft-app-v.aspx
    My problem is that this package works great on windows 8 and 2008r2 rds. It just won't launch on windows 7. It looks like it is trying to but the screen never appears. it does show it as being running in the task manager but it never shows on the screen.
    Has anyone seen this issue and if so what can i do to resolve. I am not seeing any errors in the event logs either. I tried running a procmon and saw nothing standing out as the culprit. all the prereqs are installed.

    Any chance you have installed KB2984972?
    https://social.technet.microsoft.com/Forums/en-US/c90212b0-b32c-4488-9753-fb952112828c/warning-kb2984972-and-appv-4-and-appv-5-packages?forum=mdopappv
    Falko
    Twitter
    @kirk_tn   |   Blog
    kirxblog   |   Web
    kirx.org   |   Fireside
    appvbook.com

  • Configuration manager 2012 Client Deployment settings.

    GPO to push config mgr client
    i have added The Configuration Manager templates in GPO
    Under Configure Configuration manager 2012 Client Deployment settings.
    I have enabled it and what is the command line here
    CCMSetup.exe SMSSITECODE=COD FSP=sccm.mydomain.com MP=sccm.mydomain.com
    or
    SMSSITECODE=COD FSP=sccm.mydomain.com MP=sccm.mydomain.com
    or
    CCMSetup.exe /MP:sccm.mydomain.com  /logon SMSSITECODE=COD  SMSSLP=sccm.mydomain.com FSP=sccm.mydomain.com
    or
    /MP:sccm.mydomain.com  /logon SMSSITECODE=COD  SMSSLP=sccm.mydomain.com FSP=sccm.mydomain.com

    You can use the following:
    CCMSetup.exe
    SMSSITECODE=COD FSP=sccm.mydomain.com MP=sccm.mydomain.com
    http://prajwaldesai.com/deploying-configuration-manager-2012-r2-clients-using-group-policy/
    http://methmal132.wordpress.com/2013/02/13/how-to-push-the-sccm-agent-via-gpo/
    Regards, Ibrahim Hamdy

  • Http client------ XI  (via HTTP with SSL),

    hi forum,
    we have a http client that sends a http erquest to XI, by using sap/xi/adapter_plain
    service,  i mean plain http adapter
    but for scurity reasons i need HTTPS communication,
    can u tell me how to enable HTTPS (HTTP with SSL) communiaction in the same scenario,
    http client------>XI  (via HTTP with SSL)

    hi sudeep,
    u need to create a comm ch of adapter type http n set the security level there.
    refer this for help:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    [reward if helpful]
    regards,
    latika.

  • Error with Project Parameters when executing the package with dtexec command

    Hi,
    We have started migrating our SSIS package from 2005 version to SSIS 2012. In SSIS 2005 we were using XML configuration files and executing the packages with dtexec command from the packages folder (without deploying packages to filesystem).
    Now in SSIS 2012, we have seen Project Parameters and created couple of package parameters and used those parameters in the package. when executing this package from solution explorer it was working fine but when i try to execute the same package from command
    line with Dtexec command, it was showing an error message of 'Not able to map Project Prameters to configurations'.
    Could you please give me an idea of how to execute the packages from command line by using dtexex command. basically i would like use project parameters in 2012 similar to configurations?
    Thanks,
    Venu.

    Refer
    http://msdn.microsoft.com/en-IN/library/hh231187.aspx
    you can pass parameter like this
    /SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SCCM 2007 to SCCM 2012 CLIENT upgrade

    Hi,
    We have some Windows XP machines with a SCCM 2007 client, connected to a SCCM 2007 server. Meanwhile some client are already migrated to Windows 7 but still connected to SCCM 2007 (and their packages/collections).
    Now we would like to:
    -migrate the Windows 7 machines to SCCM 2012 and keep their packages (so no re-run of advertisements) run
    -migrate the Windows XP machines by migrating the SCCM 2007 clients then advertise a task sequence (Windows 7) to it
    Questions:
    -should we push the sccm client from 2007 or from 2012 server to keep the membership of collections?
    -if we have to push from 2007, please advise howto: use ccmsetup.exe, the msi (is this the way to go: http://blog.metasplo.it/2012/10/how-to-upgrade-sccm-2007-clients-to.html)?
    Please advise.
    J.
    Jan Hoedt

    It doesn't seem to be published on the site.
    I'll paste it here. Could you advise?
    I would like to test with a cmd, so I made an install.cmd which contains.
    @echo on
    Cscript ConfigMgrStartup.vbs /ConfigMgrStartup.xml
    pause
    Then I edited the configmgrstartup.xml:
    *Commmented lab1 since I'm not sure what to put there, why put a machine name and why the forward slash?
    I'd expect domain\administrator.
    *Commented out hotfixes since we don't need it
    Launched the cmd but nothing happens, no loggings either.
    !-- <Option Name="LocalAdmin" >lab1/dadmin</Option> -->
        <Option Name="SiteCode" >LTF</Option>
        <Option Name="CacheSize">8120</Option>
        <Option Name="AgentVersion">5.00.7804.1000</Option>
        <Option Name="MinimumInterval">0</Option>
        <Option Name="ClientLocation">\\oursccmserver\SMS_PRD\Client</Option>
        <Option Name="MaxLogFile">2048</Option>
        <Option Name="ErrorLocation">\\dfs\ErrorLogs\Clientinstall</Option>
        <!-- <Option Name="AutoHotfix">\\cm1\ConfigMgr\Client\Hotfixes</Option> -->
        <Option Name="Delay" >5</Option>
        <InstallProperty Name="FSP">oursccmserver.fqdn</InstallProperty>
        <InstallProperty Name="SMSMP">oursccmserver.fqdn</InstallProperty>
        <CCMSetupParameter Name="BITSPriority">HIGH</CCMSetupParameter>
        <CCMSetupParameter Name="noservice" />
        <ServiceCheck Name="BITS" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="winmgmt" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="wuauserv" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="lanmanserver" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="RpcSs" State="Running" StartMode="Auto" Enforce="True" />
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="EnableDCOM" Expected="Y" Enforce="True" Type="REG_SZ"/>
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="EnableRemoteConnect" Expected="Y" Enforce="False" Type="REG_SZ"/>
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="LegacyAuthenticationLevel" Expected="2" Enforce="False" Type="REG_DWORD"/>
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="LegacyImpersonationLevel" Expected="2" Enforce="False" Type="REG_DWORD"/>
    </Startup>
    Jan Hoedt

  • PCs not showing in Collection/Queries Config Manager 2012 R2 - Direct Rule

    Hello,
    I have been creating some collections and queries using a direct rule or manual entry of the device and the PC is not showing in the collection. 
    Example:  Created collection for a .NET 4.5.2 install that I rolled out.  Manually added the devices that need the application and of the 40 PCs 2 or 3 will not appear in the collection, thus they are not getting the software push.  The PCs
    that are not showing up are pinging able and I can RDP into them just fine.  Config Manager shows they have the Client, are active and getting policy requests.  
    I thought maybe it there was an issue with the collection I was creating but I tried adding the same PCs to other collections and they do not appear in those collections either.
    I did a manual query as well with the same results, the same PCs I try to add to the collections are not showing in my query even though they are hard coded in.   
    Thanks
    Rich

    I deleted the collection for our "Insurance Department" which the suspect PCs were in.  I no longer needed the Insurance collection so I deleted that just to see if that was limiting the .NET collection.  Now those PCs are showing in
    the ".NET 4.5.2" collection.   
    That is good and everything but going forward I will need to have a collection for the "Insurance Department" that will be based on a query that looks for our Insurance Application in Installed Applications64.  How can I prevent this new collection
    from limiting any PC in that collection from being put into other Software Install collections?
    Thanks for the help thus far.

  • SP1 to R2 Client Upgrade via SUP

    Hi,
    Currently planning an upgrade to R2.  We currently only deploy clients via SUP (SP1) then update clients to the CU by using SCUP.  A WMI filter then disables Windows Updates for clients where the installed version of the client is >5.  This
    is to prevent auto updates interfering with software updates delivered by CM.
    I am planning to roll out the R2 upgrade also via SUP by amending the WMI filter so that it looks for clients less than the R2 version, which will re-enable automatic updates and pull down the new client.
    I am aware that I could also use the automatic client upgrade option, but where servers have maintenance windows I could see this never running during a MW.
    Any comments/thoughts on this approach?
    Thanks

    Hi,
    Could this maintenance windows work fine when you deploy other updates to the same clients?
    Please examine MaintenanceCoordinator.log, ScanAgent.log and ServiceWindowManager.log on the client.
    Best Regards,
    Joyce 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.
    Yes, they will, because other updates are deployed with a deadline.  The automatic update method uses a scheduled task which may not tie in with the MW, and so will never run.

  • System Center Service Manager 2012 SP1 upgrade install error

    I am trying to upgrade my SCSM 2012 front end app server to SP1 and am getting these failures in the log when it fails with the error "Service Manager is not in a valid state"
    09:07:58:Could not find WCS portal web site in IIS metabase!
    09:08:02:***ERROR*** Microsoft System Center 2012 - Service Manager: Microsoft System Center 2012 - Service Manager is not in a valid state. 
    09:08:02:Application Ended
    09:08:02:-222
    Can someone tell me how to get this rectified? The WCS portal is installed and running and has been for months. The DW is upgraded but I cannot get the SharePoint self service portal or the App server to upgrade due to this error.

    Hello
    One question you have the website installed on the same
    server on which you have the Server Management
    Server, so if you can
    not make your upgrade to
    SP1, this changed because
    a prerequisite of System Center Service
    Manager 2012 SP1 in which you can not have
    the server Mangement and
    website on the same server they have to be
    separate.

  • SCCM 2007 to SCCM 2012 client migration via Powershell

    Hi
    I'm looking for a controlled way to migrate a SCCM 2007 server client to SCCM 2012. A push of SCCM Console is no option.
    I 'll do all the testing but hoped to gain some time by having these questions answered:
    *can an install of SCCM 2012 client be remotely triggered in one go (no uninstall of 2007 needed)?
    *if uninstall is needed (of sccm 2007 client), does it need a reboot?
    What command to use (preferrably powershell):
    \\ourserver\Client\ccmsetup.exe" -argumentlist "SMSSITECODE=sitecode","SMSMP=oursccmserver","SMSCACHESIZE=8000","FSP=oursccmserver","CCMLOGMAXSIZE=104857600"
    OR (guess that's the command SCCM is using)
    Install-CMClient-DeviceName$ComputerName-IncludeDomainController$False-SiteCodePRD-ForceReinstall$True-AlwaysInstallClient$True-Verbose
    J.
    Jan Hoedt

     do I need to import the machine in SCCM 2012 also or launching the SCCM 2012 install from a SCCM 2007
    will do this?
    How will you do that? This does not work at all when using client push obviously. You can only use packages/programs to update clients to CM12 in that case and that's something you did not want to do.
    Torsten Meringer | http://www.mssccmfaq.de

  • Need to create a new fresh installation of Config Manager 2012 R2 without downtime...

    Hi!
    Here is our problem...
    We installed a Configuration Manager 2012 R2 on our domain for testing purposes and behold, it is now in production ;). Now the problem is that we didn't install the test version as recommended, everything is installed onto the systemdrive
    and space is running out slowly but surely. All Site System Roles are activated on this one and same server and we are starting to get nervous... An additional DP is on its way but we NEED to install the Site Server and other Site System roles onto new hardware
    ASAP. What is the best practice for doing this so that we have so little downtime as possible? We have new computers that need OSD and software that need deploying and updating every week... How should we attempt to do this so that it goes as smoothly as possible?
    Any help would be greatly appreciated!
    Thank You!

    Or you could simply backup and restore to another server
    https://technet.microsoft.com/en-us/library/gg712697.aspx?f=255&MSPPError=-2147217396
    And how does that solve this problem: "everything is installed onto the systemdrive"
    Torsten Meringer | http://www.mssccmfaq.de

  • User State Migration using SMP with config manager 2012 R2

    Hi , 
    I have SMP at primary site and need to migrate XP and 7 machines using this SMP (using USMT), 
    what are the steps do i need to define in TS so that usmt can use State migration point for user setting\data backup?
    Another challenge i see it with XP since we are deciding to take 2 phase approach, that means we will backup data using 1 TS (3 step TS) and then restore data as part of another TS that will install windows 8.1 also with user state restore. 
    Any pointers if we need to define anything special in TS (migration store etc.) or since its SMP, TS should able to take care of finding it automatically and backup\restore user state? 
    We have MDT based TS, just wondering if we need to define anything inside CS.ini file related to SMP? 
    Any pointers will be appreciated. Thanks
    Regards,

    Hi,
    Please refer to the link below:
    How to migrate user data from Windows XP to Windows 8.1 with System Center 2012 R2 Configuration Manager
    http://blogs.technet.com/b/configmgrteam/archive/2013/09/12/how-to-migrate-user-data-from-win-xp-to-win-8-1-with-system-center-2012-r2-configmgr.aspx
    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.

  • Disks Not Displayed in Server Manager 2012 After Upgrade

    I have two identical IBM x3650 M3 servers with the M5014 RAID controller installed. The internal SAS drives are configured with three RAID 5 logical drives, basically a C:, D:, and E:. They also have an external eSATA drive with a Silicon Image eSATA
    card installed that is used for backup. Both servers were upgraded from Server 2008R2 to 2012R2. Both of the server's firmware was updated prior to the upgrade and are using the same versions.
    On the first server, all of the RAID controller's logical drives are displayed under Server Manger > File and Storage Services > Volumes > Disks. All of the volumes on these drives and the eSATA drive are displayed correctly under Server
    Manger > File and Storage Services > Volumes.
    On the second server, all of the volumes correctly displayed under Server Manger > File and Storage Services > Volumes. However, only the first logical drive is displayed under Server Manger > File and Storage Services > Volumes
    > Disks. The other two logical drives are not displayed. The drives show up correctly under Disk Management and Device Manager. All of the data and shares are accessable and the server functions like it did before the upgrade. While it doesn't seem
    critical at the moment, I would like to find out why the logical drives are not being displayed.

    Hi,
    Did you have a failover cluster with a highly available storage solution that uses LSI MegaRAID controllers and use Server Manager to manage the storage using the LSI SMI-S storage provider? If so, the associated physical disks may not appear correctly in Server
    Manager when you create storage pools or virtual disks from the storage pools. 
    To work around this issue, run the following Windows PowerShell cmdlet on all nodes, and then refresh the Server Manager UI: 
    Update-StorageProviderCache –DiscoveryLevel Full
    For more detailed information, please refer to the article below:
    Known Issues: File and Storage Services in Windows Server 2012
    http://social.technet.microsoft.com/wiki/contents/articles/13392.known-issues-file-and-storage-services-in-windows-server-2012.aspx
    Best Regards,
    Mandy 
    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.

Maybe you are looking for

  • Access the modelReference value

    If I add a modelReference to a command_button like in the following code: <h:command_button id="b" label="Click" commandName="Click" modelReference="UserBean.name"> </h:command_button>and if I catch the request at the ApplicationHanlder like this: if

  • How can I get keys from Hashtable in the same order?

    Hello, everyone. I have a Hashtable containing key-value pairs, I need to get the keys in the same order as I use method put(key,value) to save the key-value pairs. But I can only find Hashtable.keys() to fetch the keys in form of Enumeration and whe

  • Issues with opening PDF file

    I have been working on a PDF file in illustrator and out of the blue it started to give me following error: "The document contains PDF objects that have been reinterpreted: To preserve appearance, some text has been outlined." And I can only can choo

  • Problems with import, please help!

    I have tried importing two different CD's and they are importing with presets. How do I turn this off?

  • Changing my current system date to a different format

    Hello to all. I am posting a question that you may find to be an easy answer, but I have been trying to figure this out for quite awhile now. I cannot figure out how to take my current system time and change it to the format I want it to be. My code