Server 2012 R2 - Essentials Experience - - I jacked my CA and certificates all to @#&$%!!

Windows Server 2012 R2 - Essentials Experience
In trying to put pieces together, I jacked my CA and certificates all to @#&$%!!
Some of the factors involved are:
 Server0 - Hyper-V Host
  Server1 - DC, 2012 R2 Essentials Experience role
  Server2 - Exchange 2013
 Client Machines -
  Windows 7 Pro
  XP (Yes, these are my cross to bear... - worth noting their presence, but I'm working them out) 
 The functional requirements:
  Anywhere Access for Remote users
   - Remote Desktop for Windows 7 machines
  Outlook Web Access
The mistake... 'Web Application Proxy'
 -which uninstalled the CA
There is a CA back now, but after days of spinning in cirles in a rare area where I feel nearly completely lost (Certificate services) I am asking for help getting these pieces put back together.
The current situation:
 The network is up with all of the network and business services required to work 'Inside the Office' - so the client is "functional".
 The "Essentials Experience" is broken and won't install to the clients, though it does provide the Essentials website, access to server shared files (fairly gracefully, I might add) and, as an administrator user, I can get to the servers via
RWA through the site and there are no certificate problems with that since I have a secured certificate for the domain. 
 OWA has been moved to a further back burner while I try to get the Essentials Experience functioning t the point where the remote users can get to their workstations through RWA... This is the biggest current hurdle... RWA for the clients.
Trying to install the client to the workstations nets me the "The Server is not available.  Try connecting this computer again,..." message at the point of username and password authentication.
The clientdeploy.log finishes like this:
 [4976] 141016.153746.2670: ClientSetup: Standard Error:
 [4784] 141016.153746.2670: ClientSetup: The exit code of the process (C:\Windows\system32\nslookup.exe) is: 0
 [4784] 141016.153746.2670: ClientSetup: Set CD Fail reason 10 for SQM in ClientDeployment.exe
 [4784] 141016.153746.2670: ClientSetup: RecordClientDeploymentFailReason: Save registry failed in ClientDeployment.exe : System.UnauthorizedAccessException: Cannot write to the registry key.
  at Microsoft.Win32.RegistryKey.EnsureWriteable()
  at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
  at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)
  at Microsoft.WindowsServerSolutions.ClientSetup.ClientDeploy.Helper.RecordClientDeploymentFailReason(UInt32 failReason)
 [4784] 141016.153746.2670: ClientSetup: Exiting ValidateUserTask.Run
 [4784] 141016.153746.2670: ClientSetup: Task with Id=ClientDeploy.ValidateUser has TaskStatus=Failed
 [4784] 141016.153746.2670: ClientSetup: Task with Id=ClientDeploy.ValidateUser has RebootStatus=NoReboot
 [4784] 141016.153746.2670: ClientSetup: Exting ConnectorWizardForm.RunTasks
 [1272] 141016.153755.0976: ClientSetup: Back from the Client Deployment Wizard
 [1272] 141016.153755.0976: ServerDiscovery:HostsFileUpdater: Removing hosts file entry: 1-WGB-01
 [1272] 141016.153755.0976: ClientSetup: Saving Wizard Data
 [1272] 141016.153755.0976: ClientSetup: End of ClientDeploy: ErrorCode=1603
The computerconnector.log shows nothing of value.
What I want to accomplish as a 'first step' toward recovery is to get the workstations properly connected so they show up in the Dashboard 'Devices' pane and can be managed and access by the Essentials tools.
Secondarily, I would like to get the client side tools in place and functioning (I expect the latter will be a side effect of the former).
So,... for anyone patient enough to have read this far... uh,... help?

Actually,... I can now confirm the delicacy of which you speak...
After a support incident with Microsoft which spanned a marathon 18+ hours on the phone and remote access by no fewer than 7 Microsoft Engineers, we got to a successful result. 
It is a point of utter frustration for me when people put in threads like this then don't bother to come back and report 'how the issue was solved', and sadly, I am about to have done that merely because my span of functional attention and valuable reporting
capability was basically gone before I submitted the ticket and following all that was done in my state was not conceivably possible. 
So - all I can do is apologize for not being able to report a valuable resolution and give a few little tidbits.
The net result is this - DO WHAT YOU CAN TO AVOID THE SITUATION IN THE FIRST PLACE.  Once your CA is in place, LEAVE IT THE $%@& ALONE!!!!  I mean... my best current advice.
In all, the CA was uninstalled and reinstalled 4 times after my blunder and significant work was done in ADSIEdit as well as substantial manual manipulation of certificates and CAs that was well outside of my (quite considerable) scope of expertise.
I wish I had more to offer in the world of resolution.
With this said, I will make one more request of viewers and moderators alike:
THIS QUESTION IS OFFICIALLY NOT ANSWERED.  IT WILL NEVER BE ANSWERED.  THE RESOLUTION IS NOT AVAILABLE TO THE MORTAL MAN.
DO NOT MARK IT AS ANSWERED
IF YOU MUST DO SOMETHING, DELETE THE WHOLE THREAD, BUT DO NOT BURDON PEOPLE WHO ARE LOOKING FOR REAL ANSWERS WITH THE NECESSITY OF READING THROUGH THIS.
DO NOT MARK THIS QUESTION AS ANSWERED
I hope this makes sense for people, and I hope people will appreciate NOT having to read this as though there is some 'resolution' contained within.

Similar Messages

  • The restor pocess did not succeed because your computer cannot connect to the server - Windows Server 2012 R2 Essentials Experience

    Hi all
    I've been running Windows Server 2012 R2 with the Essentials Experience in test for a Windows 8.1 client environment, on an HP ProLiant MicroServer N54L. Overall I've found the Essential Experience set-up over WHS2011 and WHSv1 okay; still looking to extract
    any real value over the former versions.
    This box has been up and running for a few months now, with client backups of a Win 8.1 box scheduled and running successfully every day. However when trying to conduct any file restores from the backups, to the client, I receive an error dialog once I go
    through motions from the Dashboard:
    On the 'Devices' tab, right-click the appropriate client and select 'Restore files or folders for the computer'
    'Restore Files of Folders' dialog pops up, asking me to 'Choose a backup' from the list of all the backups that have run
    Select any one in the list - have tried numerous backups; automatic, manual, etc. same result every time
    Brings up the dialog to 'Choose a volume', choose either C: or D: partitions of the same fixed drive - again, no difference which one I choose, the outcome is the same
    'Opening the volume' dialog starts, with progress bar, runs to about 4% complete the pops up the dialog 'The restore process did not succeed'. Full error in the dialog, "The restore process did not succeed because your computer cannot connect to the
    server. Make sure that the computer is connected to the networkm and then try again
    If my computer cannot connect to the server - how can I get that far? How can I open the dashboard, select a client, select from a list of backups, select a volume to restore, etc. What is going on here?

    Hi,
    Please check if a "host" entry for the server is added to the client. For more detailed information, please refer to the threads below:
    Unable to Restore files or folders from a Client Backup
    http://social.technet.microsoft.com/Forums/en-US/d1d001bd-20c5-4f09-861d-526c31567963/unable-to-restore-files-or-folders-from-a-client-backup
    Can't restore anything
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/98e269b5-2bd1-449e-a213-e386ae15266f/cant-restore-anything?forum=winserveressentials
    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.

  • Number of Windows Server 2012 R2 Essentials Servers

    I am looking at migrating a small real estate agency to Window Server 2012 R2 from Windows Server 2003 x86.  Looking to combine 12 servers ( Essentially PCs running Windows Server 2003) less than 20 users, to 2/3 dual core or quad core servers. I am
    looking at Essentials due to cost, but have some questions.
    1) Can you have more than one Windows Server 2012 R2 Essentials server in the environment? Since the server install defaults to being a domain controller.
    2) If you can have more than one Windows Server 2012 R2 Essentials, can you have more than one domain controller?
    2) Can you migrate/upgrade a Windows Server 2012 R2 Essentials server to Windows Server 2012 R2 Standard or Data Center?
    Thanks for you time.
    DJ

    I confirm your Suggestion that Windows Server 2012 R2 Essentials must be the domain controller at the root of the forest and domain, and must hold all the FSMO roles.
    You can have more than one Server(Standard, datacenter) with the Windows Server Essentials Experience role installed in your network.
    you can migrate from essentials Edition to Standard as Long you purchase the Standard license but is not possible to purchase th eupgrade license fro essentials to Standard. you need the full license.
    thanks
    diramoh 

  • Azure backup options for Server 2012 R2 Essentials

    Hello,
    I have configured a new on-prem HP server for a very small (5 users) non-profit client. This is a single server environment, and they use Office 365 for email. I have already configured AD Sync between the two with dirsync. I have installed the Azure agent,
    and imported the certificate, and I am ready to create a backup set.
    This is my first experience with Cloud based server backup - I'm used to products like Backup Exec and tape media. What are my options for backing up this server? Can I only do file/folder backup, as it appears?
    What would be best practice in this situation, as I need to back up the systems state as well? And then, how to restore it?
    All I can think of would be to use Windows Server backup to create a backup of the server, then back that up - but it's so messy, I must be missing something.
    Thank you in advance!!

    Hi,
    You may refer the following link for clear step-by-step procedure on Azure backup:
    http://blogs.technet.com/b/sbs/archive/2014/05/01/configuring-microsoft-azure-online-backup-on-windows-server-2012-r2-essentials.aspx
    As of now, you can only backup File & folders(Even entire drive) but you cannot perform System State backups with Azure Backup.
    For System State backup, as you mentioned about using WSB and then backing it up to Azure Backup vault may be the only work-around as of now. However, you may vote and provide feedback for this feature in
    here.
    You may also refer below links for more info:
    https://msdn.microsoft.com/en-us/library/azure/hh831419.aspx
    https://msdn.microsoft.com/en-us/library/azure/dn722422.aspx?f=255&MSPPError=-2147217396
    Regards,
    Manu

  • Join multiple Server 2012 R2 essentials to a domain

    Hi to all
    I was looking at the anoucement that it is now possible to connect multiple essential servers to a single office 365 environment. Glad to hear that as I'm planning to implent several essential servers to a single company that is spreaded over several locations.
    Reason for this, is that each branch only has up to 12 employees.
    I wanted to ask if it is still not possible to connect several essential servers into a single domain? As example having one main office with essential (or even standard) and adding branch offices to the domain, each with essentials.
    Or would I need Windows Server Standard and add the essential mask on it to make this work?
    Thanks for your input

    Hi geocast,
    Would you please let me confirm whether it's Windows Server 2012 R2 Standard/Datacenter with the Windows Server Essentials Experience role installed or just Windows Server 2012 R2 Essentials? Just a confirmation, thanks for your understanding.
    Please refer to following articles and check if can help you.
    Add Windows Server Essentials as a Member Server
    Deploying Windows Server 2012 R2 Standard/Datacenter
    with Windows Server Essentials Experience role in an Existing Active Directory Environment
    Deploying Windows Server 2012 R2 Essentials in an Existing Active Directory Environment
    If anything I misunderstand or any update, please don't hesitate to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    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]

  • Server 2012 R2 Essentials - Webpages not working

    Hi,
    Just completed the initial essential experience configuration and added the DNS service.
    Have set up DNS on the server and and I know the router (which is the only one in the network) is working. The dns service is running and the server says it is fully connected to the internet.
    Problem is I can't access any websites. When I try to access the router web interface (which the server is directly conneced to) I get a message-box saying I can't open that page and nothing happens (this works with other computers). I can't access any other
    web pages either. (eg. google.com)
    Not sure what might be the issue, any help or do i need for information?

    Hi,
    à
    I can't access any other web pages either. (eg. google.com)
    Would you please let me know whether you can access any website on other client computers? Just a confirmation,
    thanks for your understanding.
    Did you install any third-party security software on the server? Please temporarily disable firewall and security
    software, then check if this issue still exists.
    On the server, please ping the router via IP address and monitor the result. Meanwhile, please ping a public
    IP via PathPing command. Any find?
    By the way, would you please run
    ipconfig /all command on the Windows Server 2012 R2 Essentials and client computer, then collect the result and post here? (Please hide all protected or private information.)
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    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]

  • Access Database (.mdb) on Windows Server 2012 R2 Essentials

    Hi guys, thanks for your time!
    SCENARIO:
    - Windows Server 2012 R2 Essentials
    - Windows 7 Ultimate Clients (3 clients)
    - VB6 application on clients using a MS Database (.mdb) hosted on the server.  
    - Clients access the database (.mdb) via a mapped network drive (K:).
    PROBLEM:
    - Microsoft Database (.mdb) on server gets corrupted frequently.
    - Clients don't "flush their changes" back to the database: database was not updated.
    WORKAROUND:
    - Database was moved from the server to one of the Windows 7 clients.
    - Application is running OK.
    CONFIGURATION:
    - Permissions are correct: network and NTFS.
    - No faulty network hardware: switch, cabling, NICs.
    - Computers and Server hardware is new.
    - UPS are used everywhere.
    SOME LINKS:
    SMB 3.0 
    - Opportunistic Locking and Read Caching on Microsoft Windows Networks.
    - Windows 7 cannot
    open the shared MS Access database if it's opened by another user
    - Initializing the
    Microsoft Jet 4.0 Database Engine Driver
    - Moved to
    Server 2012 getting Access Database Corruption
    Oplocks
    - Configuring
    opportunistic locking in Windows
    - Understanding
    offline files
    - How to
    enable and disable SMBv1, SMBv2, and SMBv3
    - Is it possible to
    monitor and log actual queries against an Access MDB?
    Now, server is useless if it is not hosting our database. Any ideas, please? Do I need to diagnose using Wireshark? Or using Sysinternals Process Monitor? I think that is a waste of time. 
    Thank you! 

    Thanks for your reply.
    Software is from a 3rd party provider. It currently supports concurrency. It was deployed on Windows XP. SQL Server would be a nice upgrade, however that is
    not an option.
    Something has changed with newer versions of Windows. That is what I am going to study in a lab I prepared with a real server and some clients.
    File-sharing databases (Microsoft JET databases) are very old technology even before I was a college student. However, I have been very busy researching this technology.
    It was made for multi-user environments. It is highly tied to file sharing services from Windows: SMB protocol.
    Windows XP, Vista, 7 and 8 use different versions of this protocol. I think that is the root of the problem. With old technology, application was running fine.
    With new technology, application is troublesome. I will check several things: JET drivers vs. ACE drivers, SMB tweaks, etc.
    UPDATE:
    Basically, there are 4 general answers to this issue:
    1) Migrate your Access Database to SQL Server Express (or another RDBMS engine).
    2) @Server: disable SMB 2.0/3.0 protocol stack by powershell command. Network speed decreases.
    3) @Clients: disable client redirector caches by using regedit.
    4) @Server: disable the leasing on the file server. 
    5) @Server: tuning Broadcom NIC parameters.
    References:
    - https://technet.microsoft.com/en-us/library/ff686200(WS.10).aspx
    - https://msdn.microsoft.com/en-us/library/windows/desktop/aa365433(v=vs.85).aspx
    - http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Q_28482197.html
    - http://tipsntricks.sherr.co.uk/stop-smb-corrupting-files/
    - http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html
    - https://social.technet.microsoft.com/forums/windowsserver/en-US/67baa9fd-5eaf-438e-9cc4-dc1a531b9e19/disabling-oplocksmb2-vs-fileinfocachelifetime
    - https://social.technet.microsoft.com/Forums/windowsserver/en-US/7336d31b-6c24-468a-9c47-750244ae3a8c/moved-to-server-2012-getting-access-database-corruption
    - https://social.technet.microsoft.com/Forums/en-US/e9567167-22db-4b8c-9f96-a08b97d507f9/server-2012-r2-file-server-stops-responding-to-smb-connections
    - http://support2.microsoft.com/kb/2957623
    - http://support2.microsoft.com/kb/2899011
    - http://support2.microsoft.com/kb/2955164
    - https://social.technet.microsoft.com/Forums/en-US/7bd0aa5b-eb95-40a8-a56d-c6013273665c/extremely-slow-smb-network-speed-server-2012-r2?forum=winserver8gen

  • Server 2012 R2 Essentials and Server 2012 Standard

    This is for a small business with all of 2 employees. I setup up the domain on the Server 2012 R2 Essentials. We have since found out that one of the applications was over loading the server so he went and bought a different server. Well that server has 2012 Server Standard. I added it to the domain but when I tried to make it a domain controller, I was getting a conflict error with the domain levels. So the question is, what is the best solution to resolve this? My first thought it to just create the domain on the Server 2012 and just blow the old domain. But maybe there is a better way to do it? any ideas?
    This topic first appeared in the Spiceworks Community

    This is for a small business with all of 2 employees. I setup up the domain on the Server 2012 R2 Essentials. We have since found out that one of the applications was over loading the server so he went and bought a different server. Well that server has 2012 Server Standard. I added it to the domain but when I tried to make it a domain controller, I was getting a conflict error with the domain levels. So the question is, what is the best solution to resolve this? My first thought it to just create the domain on the Server 2012 and just blow the old domain. But maybe there is a better way to do it? any ideas?
    This topic first appeared in the Spiceworks Community

  • Server 2012 r2 essentials...urgent help needed...Two separate DHCP servers, one for lan and one for wifi...design picture attached

    hello
    S2012 R2 essentials is in office...Want to have functional 2012 dhcp, dns, ad, wds role for 1gbps wired lan and separate wi-fi for temporary visitors for internet access like gsm phones etc...Need functional anywhere access to office server and computers
    for administering...When worker with laptop go out of office must have have full functional wifi.
    here is picture what i have in my mind with all components in network.
    How to configure L3 switch, router and server? Many thanks

    Hi,
    Based on your description, I understand that you want to prepare network for the Windows Server 2012 R2 Essentials,
    then will run a DHCP Server on the Windows Server 2012 R2 Essentials and correctly configure router. Please refer to following article and check if can help you.
    Before You Install Windows Server 2012 Essentials
    For DHCP, please refer to following article.
    Running
    DHCP Server on Windows Server 2012 Essentials
    For router configuration, please refer to following article.
    Configure a Router - Windows Server Essentials
    If anything I misunderstand or any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    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]

  • Configuration failed for Windows Server Update Services on Server 2012 R2 Essentials (Trial Version)

    Hi,
    I'm trying to setup the WSUS on the Server 2012 R2 Essentials (Trial Version) but with no luck. Below are the logs generated. Hopefully someone can guide me on this. Thanks.
    2014-10-15 12:23:06  Postinstall started
    2014-10-15 12:23:06  Detected role services: Api, UI, WidDatabase, Services
    2014-10-15 12:23:06  Start: LoadSettingsFromXml
    2014-10-15 12:23:06  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
    2014-10-15 12:23:06  Value is true
    2014-10-15 12:23:06  End: GetConfigValue
    2014-10-15 12:23:06  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
    2014-10-15 12:23:06  Value is C:\WSUS
    2014-10-15 12:23:06  End: GetConfigValue
    2014-10-15 12:23:06  Content directory is C:\WSUS
    2014-10-15 12:23:06  Database roleservice is not installed
    2014-10-15 12:23:06  End: LoadSettingsFromXml
    Post install is starting
    2014-10-15 12:23:06  Start: Run
    2014-10-15 12:23:06  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:06  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:06  Fetching WsusReportersSid from registry store
    2014-10-15 12:23:06  Value is S-1-5-21-308464661-3380577483-199018475-1001
    2014-10-15 12:23:19  Configuring content directory...
    2014-10-15 12:23:19  Configuring groups...
    2014-10-15 12:23:19  Starting group configuration for WSUS Administrators...
    2014-10-15 12:23:19  Found group in regsitry, attempting to use it...
    2014-10-15 12:23:22  Writing group to registry...
    2014-10-15 12:23:22  Finished group creation
    2014-10-15 12:23:22  Starting group configuration for WSUS Reporters...
    2014-10-15 12:23:22  Found group in regsitry, attempting to use it...
    2014-10-15 12:23:22  Writing group to registry...
    2014-10-15 12:23:22  Finished group creation
    2014-10-15 12:23:22  Configuring permissions...
    2014-10-15 12:23:22  Fetching content directory...
    2014-10-15 12:23:22  Fetching ContentDir from registry store
    2014-10-15 12:23:22  Value is C:\WSUS
    2014-10-15 12:23:22  Fetching group SIDs...
    2014-10-15 12:23:22  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:22  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:22  Fetching WsusReportersSid from registry store
    2014-10-15 12:23:22  Value is S-1-5-21-308464661-3380577483-199018475-1001
    2014-10-15 12:23:22  Creating group principals...
    2014-10-15 12:23:22  Granting directory permissions...
    2014-10-15 12:23:23  Granting permissions on content directory...
    2014-10-15 12:23:23  Granting registry permissions...
    2014-10-15 12:23:23  Granting registry permissions...
    2014-10-15 12:23:23  Granting registry permissions...
    2014-10-15 12:23:23  Configuring shares...
    2014-10-15 12:23:23  Configuring network shares...
    2014-10-15 12:23:23  Fetching content directory...
    2014-10-15 12:23:23  Fetching ContentDir from registry store
    2014-10-15 12:23:23  Value is C:\WSUS
    2014-10-15 12:23:23  Fetching WSUS admin SID...
    2014-10-15 12:23:23  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:23  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:23  Content directory is local, creating content shares...
    2014-10-15 12:23:25  Creating share "UpdateServicesPackages" with path "C:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
    on this WSUS system."
    2014-10-15 12:23:25  Creating share...
    2014-10-15 12:23:25  Share successfully created
    2014-10-15 12:23:25  Creating share "WsusContent" with path "C:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
    2014-10-15 12:23:26  Creating share...
    2014-10-15 12:23:26  Share successfully created
    2014-10-15 12:23:26  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
    2014-10-15 12:23:27  Creating share...
    2014-10-15 12:23:27  Share successfully created
    2014-10-15 12:23:27  Finished creating content shares
    2014-10-15 12:23:27  Stopping service WSUSService
    2014-10-15 12:23:27  Stopping service W3SVC
    2014-10-15 12:23:27  Configuring WID database...
    2014-10-15 12:23:27  Configuring the database...
    2014-10-15 12:23:27  Establishing DB connection...
    2014-10-15 12:23:27  Checking to see if database exists...
    2014-10-15 12:23:28  Database exists
    2014-10-15 12:23:28  Switching database to single user mode...
    2014-10-15 12:23:32  Loading install type query...
    2014-10-15 12:23:32  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (9600)
    DECLARE @scriptMinorVersion     int = (16384)
    DECLARE @databaseMajorVersion   int 
    DECLARE @databaseMinorVersion   int 
    DECLARE @databaseBuildNumber    nvarchar(10)
    IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
    BEGIN
        SELECT 1
    END
    ELSE
    BEGIN
        SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
        IF (@delimiterPosition = 0)
        BEGIN
            RAISERROR('Invalid schema version number', 16, 1) with nowait
            return 
        END 
        SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
        SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
        IF @currentDBVersion < 926
        BEGIN
            SELECT 3
        END
        ELSE
        BEGIN
            IF (@scriptMajorVersion > @databaseMajorVersion OR
               (@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
            BEGIN
                SELECT 2
            END
            ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
                     @scriptMinorVersion = @databaseMinorVersion)
            BEGIN
                SELECT 0
            END
            ELSE
            BEGIN
                SELECT 4
            END
        END
    END
    2014-10-15 12:23:32  Install type is: Reinstall
    2014-10-15 12:23:32  Creating logins...
    2014-10-15 12:23:32  Fetching account info for S-1-5-20
    2014-10-15 12:23:32  Found principal
    2014-10-15 12:23:32  Found account
    2014-10-15 12:23:32  Got binary SID
    2014-10-15 12:23:35  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:35  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:35  Fetching account info for S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:35  Found principal
    2014-10-15 12:23:35  Found account
    2014-10-15 12:23:35  Got binary SID
    2014-10-15 12:23:35  Setting content location...
    2014-10-15 12:23:35  Fetching ContentDir from registry store
    2014-10-15 12:23:35  Value is C:\WSUS
    2014-10-15 12:23:40  Swtching DB to multi-user mode......
    2014-10-15 12:23:47  Finished setting multi-user mode
    2014-10-15 12:23:47  Writing DB settings to registry...
    2014-10-15 12:23:47  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2014-10-15 12:23:47  Starting service W3SVC
    2014-10-15 12:23:47  Configuring IIS...
    2014-10-15 12:23:47  Start: ConfigureWebsite
    2014-10-15 12:23:51  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
       at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    Fatal Error: The system cannot find the path specified.

    2014-10-15 12:23:47  Start: ConfigureWebsite
    2014-10-15 12:23:51  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
    Looks like it failed trying to setup the website.
    2014-10-15 12:23:27  Configuring WID database...
    2014-10-15 12:23:27  Configuring the database...
    2014-10-15 12:23:27  Establishing DB connection...
    2014-10-15 12:23:27  Checking to see if database exists...
    2014-10-15 12:23:28  Database exists
    This also looks like its a RE-installation of WSUS.
    Any chance the "WSUS Administration" v-root is already present and did not get deleted after the last uninstallation?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • A few bumps from whs to Server 2012 R2 Essentials

    I'm a typical WHS user looking to upgrade (non-business use) for a simple storage area and being able to back up the laptops and PCs in the house.
    Problem not solved:
    Perhaps not a Server 2012 r2 Essential problem but my WDTV Live can't access the shared folders. After installing the media server add-on for Server R2 Essentials the WDTV Live is able to see the server via the media server but its messy and cluttered and
    also reports no media found within folders.
    With WHS I was able to view the shared folders easily. Have not been able to enable the shared folders with the WDTV Live...
    Big thanks for any help, Microsoft Server 2012 R2 Essentials seems like overkill for home use but I'm really liking it.

    Thank you very much for the reply.
    I have installed Serviio and things seem somewhat better, just getting Serviio's preferences setup. Dont' need artists/date/etc. info and I'm setting it in preferences.
    Just need a simple media folder structure:
    Video folder/Videofile + Videofile.jpg
    Picture Folder/JPGs
    Music Folder/MP3s
    Was hoping share folders would be the simple way to go but WDTV still can't access shared folders from server.
    Don't really need transcoding because WDTV handles the x264 and VLC handles it on the family PCs.
    So close to finish now, I'll bug in another thread about anywhere access as it's just a bonus and not really needed.
    Again, thank you for help, just need to figure out how to un-install the microsoft media server now...

  • Windows 8.1 pro client on a Windows server 2012 R2 Essentials domain, how to change lock when idle?

    Hi,
    I need to find out how to do something?
    I have Windows 8.1 pro running on my PC and its part of a domain which is Windows Server 2012 R2 Essentials, it all runs perfectly except for a little niggle where my Win 8.1 PC locks after its not used for a short time.  What I want to find out is
    how to change this so it no longer locks when idle?  I know this is a security feature but as its just my home pc it can be very annoying to log in again after walking away from the PC for a few min's.
    I've had a look through the default domain policy but there are so many settings that I can't find it, that's even if there is a setting there?
    Anyway can anyone help?
    Thanks
    JK
    JK MCP

    Hi,
    We can try to implement by use High performance power plan or GPO to prevent computer from locking down:
    Refer to the solution here:
    http://social.technet.microsoft.com/Forums/en-US/0863112d-ee54-4808-9d27-0380d7bf04b0/gpo-to-disable-lock-computer-?forum=winserverGP
    Also, you can check if there is any task scheduled for idle:
    Task Conditions
    http://technet.microsoft.com/en-us/library/cc721902.aspx
    Hope these could be helpful.
    Kate Li
    TechNet Community Support

  • [Forum FAQ] Introduce Backup in Windows Server 2012 R2 Essentials

    Windows Server 2012 R2 Essentials provides reliable ways to perform regular backups of your server and backups of your network computers.
    1. Server Backup
    Description:
    Backs up your server running Windows Server Essentials. The data is backed up to an external USB drive. You can also perform full system restore of server.
    Operations:
    On Dashboard, please select DEVICES and then navigate to the server which you need to backup. Right click the server and select Set up backup. When set up complete, you will be able to
    Start a backup for the server. (Figure 1)
    Figure 1
    More information:
    Manage server backup in Windows Server Essentials
    Restore or repair your server running Windows Server Essentials

    3. Microsoft Azure Backup
    Descriptions:
    Performs an online backup of files or folders on your server. When you use Azure Backup to back up server data, the information is encrypted by using your passphrase before it is uploaded to a secure datacenter on the Internet.
    Operations:
    1) Open Dashboard and follow the path: HOME-> Get Started-> ADD-INS-> Integrate with Windows Azure Backup. Then as Figure 3 shows, you need to “Click to sign up for Windows Azure Backup” and “Click to download Windows Azure
    Backup integration module”.
    Figure 3
    Please note: when you click to download, you may encounter the issue as Figure 4 shows. If so, please follow the path:
    Tools-> Internet Options-> Security->
    Trusted sites-> Add this website to the zone and add
    http://downlaod.microsoft.com,
    https://activedirectory.windowsazure.com in Trusted sites in IE. (Please uncheck
    Require server verification (https:) for all sites in this zone). Then please check if you can download as normal.
    Figure 4
    2) After you download the OnlineBackupAddin, please run it. Then begin to install the add-in. (if any issue occurs in your installation of add-in, please navigate to C:\PrgramData\Microsoft\Windows Server\Logs folder and check
    InstallAddin log file if you can find some clues.)
    3) During your installation, KB 2873390 may be required. Please download the update package and run it. Then Windows Azure Backup Agent Upgrade Wizard appeared. Please follow it and complete as Figure 5
    and Figure 6 show.
    Figure 5
    Figure 6
    4) Then please re-open Dashboard, you will find ONLINE BACKUP option. (Figure 7) There will be three steps that you need to do: (i)
    Upload a certificate. (ii) Register your server.
    (iii) Configure backup settings.
    Figure 7
    (i). Upload a certificate. (In this example, we use the second option: Upload certificate to Windows Azure Backup vault)
    Please logon Windows Azure, select RECOVERY SERVICES and click
    NEW. Follow the path: RECOVERY SERVICES-> BACKUP VAULT->
    QUICK CREATE. Please type NAME and select
    REGION, then click CREATE VAULT. When create completes, please click the name of this new recovery service that you create. As Figure 8 shows. Then select Manage Certificate to add or update the certificate file (.cer) that contains
    a public key for the vault. The certificate is used to register servers with the vault.
    Figure 8
    (ii). Register your server
    On Dashboard, navigate to Online Backup and click Register. (Figure 9)
    Figure 9
    Then it will check the certificate. And then you need to set a passphrase to secure your data. (Figure 10)
    Figure 10
    When you set passphrase complete, please click Next to continue. When register successfully. You will see Figure 11.
    Figure 11
    (iii). Configure backup settings
    When register completes, please click Configure Online Backup. Then you can follow the Configure Online Backup wizard to configure online backup (add folders), specify the backup schedule, specify the backup retention policy and choose bandwidth usage. The
    all process will be shown in Figure 12-16.
    Figure 12
    Figure 13
    Figure 14
    Figure 15
    Figure 16
    After all configurations complete, you will be able to see that the server integrates with Windows Azure Backup. (Figure 17)
    Figure 17
    On the Dashboard in server essentials, you will be able to start backup online. (Figure 18)
    Figure 18
    After backup online, you will see the protected data as Figure 19 and Figure 20 show in Dashboard and Windows Azure.
    Figure 19
    Figure 20
    More information:
    Manage Online Backup in Windows Server Essentials

  • Windows Server 2012 R2 Essentials will only recognize 1 USB drive at a time in primordial pool

    I have a new install of Windows Server 2012 R2 Essentials. I added 2 identical 2TB Seagate Expansion USB drives. Initially they had a volume on them, so I deleted the volume in order for them to be added to the primordial pool and storage spaces,
    etc. They both show up fine in Disk Management, but only 1 of them at a time will show up in the primordial pool. I have tested moving them to different USB ports, trying only 1 disk at a time to ensure that both are good, rebooted, attached them via
    a USB hub... but nothing works. In my most recent test I plugged in only one and did a rescan. I see it as Disk 1 in both Disk Management and Primordial pool. Then I added the second drive and did a rescan, it showed up as Disk 2 in Disk Management
    and when I did a refresh in storage spaces, I can see that it changed to only see disk 2 in the primordial pool. What can be causing this?

    To use USB disks, each disk must be plugged into a differs USB controller. A hub will obviously be on one controller, so that won't work. But many computers have only one or two controllers on the motherboard and then use port multipliers (basically internal
    hubs) to support more ports. So you have to know your motherboard and which ports are on which controllers. And again, only one drive per controller.

  • Windows Server 2012 R2 Essentials Trial Key - Did I miss it, too?

    I tried both "Windows Server 2012 Essentials" and "Windows Server 2012 R2 Essentials".  Here is the link to the page I downloaded the images:
    http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-essentials
    The following are the respective links to the images I used which were provided by the above webpage:
    http://care.dlservice.microsoft.com/dl/download/1/2/9/129AEC4F-1C6C-44B2-9B61-77935E8AB1F4/WindowsServer2012Essentials-English-Install.iso
    http://care.dlservice.microsoft.com/dl/download/8/F/7/8F7024D2-AB2A-4BE2-8406-1E3AC49C5C1F/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_SOLUTION_EN-US-IRM_SSSO_X64FRE_EN-US_DV5.ISO
    I tried burning these images to DVD and booting my Intel NUC with resulting disc.  Setup goes fine but it asks me for a product key.  I have not received any mail nor was there any pointers to a product key.  This is why I tried both R1 and R2.
    I found a similar post here regarding this issue (in fact I found a couple):
    http://social.technet.microsoft.com/forums/windowsserver/en-US/db7fd5b9-f58d-4456-86cf-816ec91ded14/windows-server-2012-trial-key-did-i-miss-it
    But the answers were unsatisfactory, so please do not give me the same response.
    Just in case the question/directive comes up, I redownloaded and re-burned the images using sector verification.  There are no checksums posted on the site so who knows if something got broken while downloading it, but I find it extremely unlikely that
    a few bad sector would cause the intaller to forget its evaluation key rather than borking the whole installer.
    Further note that I tried "Windows Server 2012 R2" (standard / non-essentials) and that image correctly had the trial versions baked in.  So, I would bet dollars to donuts the problem lies in the images not in a download / burn failure.
    I want to use the new NUC as a central content/backup server for all the home computers which are unfortunately growing at bunny reproduction rates.  Since Windows Home Server was discontinued, I was pointed to Server 2012 R2 as the alternative / upsell. 
    Let me know if this is the case or if a better-fit product exists.
    Also, is the "Essentials" install a simply a licensing matter (e.g., 25 user cap) or is it more fundamentally crippled than the standard version?  I am only a home enthusiast and so not really interested in using the product in a production environment. 
    I only want some ensurance that if I download "standard", I can put in an "essentials" key at the end of evaluation.  If not, then please point me to a correct "Windows Server 2012 R2 Essentials" trial image.
    Thanks,
    Ryan

    Hi Ryan,
    à
    http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-essentials
    We can find following description from this TechNet Evaluation Center website. Then please check if you can
    find product key.
    In addition, for Windows Server 2012 Essentials, please check if you can use
    HHRHF-YMNJW-RPGCC-VV68W-BWMVY. For Windows Server 2012 R2 Essentials, please check if you can use
    R9N79-23MWD-MBP9B-KHF8Q-C36WX.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

Maybe you are looking for

  • Problem with the HORIZONTAL Scrollbar

    Someone (I thanks him) has explain me how to have a horizontal scrollbar in a JTable (I use setHorizontalScrollBarPolicy(...)). So, now I have my Horizontal scrollbar but ONLY de bar and NOT the "button" in the bar. So, I am not able to scroll (and f

  • Late 2013 13"MBP-Shutdown Problem

    I was having shutdown problems with my Late 2013 MBP 13"-the MBP would go to the gray screen and the small pinwheel would progress to different hash marks every 3-5 seconds, the machine would not shutdown at all, it was stalled, so I called Apple and

  • MacBook Pro 5.2 + MacOS X 10.6.7 : WiFi issues

    Hello everyone, I have a couple of strange issues with the Wifi on my MacBook Pro 5.2 running MacOS X 10.6.7 The first issue i encountered is that on the 5GHz band (either in 802.11a or 802.11n) i have no issues to connect to an SSID (either broadcas

  • Testing ViewObject from ApplicationModule

    Hi all, I am trying to test the ViewObject from the ApplicationModule, but the ViewObject is null, what is the proper way to initialize it? Here is my code: public static void main(String[] args) { MyAppModuleImpl impl = new MyAppModuleImpl (); MyCla

  • Jar launcher doesn't launch Forge universal.jar

    I have been using the Forge Mod Loader for a long time, there had been a update so that it is fitted into Minecraft 1.7.10. The thing is, I deleted my previous FML and got the new one, it doesn't open! It keeps on giving me a message saying that The