How To: Reset AAC configuration without Uninstalling/Reinstalling
In this AskSupport How To video you will learn how to Reset AAC configuration without Uninstalling/Reinstalling
Tags: technical support access gateway how to
Views: 676
Rating: 0
Transcript : Welcome to another How To video from Citrix Support. In this video I’m going to walk you through how to reset your server configuration of a Citrix Access Gateway Advanced edition installation. So, just to quick summarize exactly what we will walk you through. So, in my situation here, I have an already installed and configured server. So as you can see here, I have some web resources and file shares configured. So what if I wanted to reset that configuration and start with a fresh configuration? The only way normally to do it is to uninstall and to reinstall. But I have a workaround which will reset the…basically reset the database. Now what it won’t do is, it won’t delete any logon points which you have created. But you can go into the server configuration, post this workaround, and delete those logon points. So essentially what we’re doing is, we’re actually going to go in to the registry, and we’re going to delete a key and change another value in the registry. And then we’re going to rerun the wizard to create a database. We will overwrite the existing database and then run a discovery. So, just a note that this is definitely not recommended to follow in a production environment. It’s only purely for a test or proof of concept environment, where it’s a kind of a quick workaround to reset the configuration. Okay. So that’s really important to get out there. So, just to recap. So what I’ve done here is, I have an existing installation with some configuration. So what I’m going to do is I’m going to reset that first via the registry. So let’s go in and run regedit to open up our registry editor. And the, as I mentioned, I’m going to delete one key and change a value in another one. So, the first one I need to do is under HKEY_LOCAL_MACHINE. Software. Citrix. And then we have AccessObjects. And then, under here, we’re actually going to delete the CitrixAGEServer. Okay? So, I’m going to delete that. Now, obviously, I recommend to backup your registry, which I’ve already done before this. So that’s the first key. Second one, we need to go to HKEY_LOCAL_MACHINE. Software. Citrix. And then when we’re here, we go to MSAM. And then we find the key here, or the value. ServerConfigured. It’s currently set to 1. We reset that to 0. Okay? So that’s it. So, I’ll just close down the registry. I’ll also close down the access console. And then I’m going to come in and rerun the server configuration. Okay? So go to Citrix. I go to access gateway, and I run server configuration. So what this is going to do, is going to read the registry to see what the status of configuration is. It see that we’ve deleted one key and changed the server configuration value from 1 to 0. So it’s telling it that’s not configured. And then when we rerun the server configuration, as you can see here, it’s actually telling us that the server is not configured. Okay? So we need to go back through and configure our access server farm. So then you just proceed and set up your farm. So the first thing I need to do here is to set up the service account that I’m going to use to start the services. So I’m going to use my administrator account and my domain name. Okay? So now I need to choose the database type. I’m using SQL Express for this. It’s just a POC environment. And I need to tell it where my files are located. So I’ll just point it to where my installation files are. And should be under here. Okay. Now we just try that again. Yes, it’s found it now. So, as you can see here, it actually found an existing database called CITRIXAAC. And it just asks me do I want to override this. Yes, we do. So let me just point it again. For some reason didn’t find it first time. I think this is enough. Okay, that’s fine. The name of our license server, where are licenses are stored. And then the web site. I only have one web site, which is the default web site, port 80. So I’ll just leave that. Just a summary of the settings that I configured. So that’s just going to set up that. The database, again, is from scratch. It’s going to wipe the database and create the new table that’s put into the database. Point our server to our license server, et cetera. So once this is finished, once we open up the access management console again, we should see a complete fresh installation. As if it was fresh installation. So my web site should be deleted. As I mentioned, if you have multiple logon points previously created—in my case I just had the sample logon point created—you can go in and delete those old logon points. And then you can start configuring your environment. So that’s the setup complete. Let me just go back into server configuration again. So the next the next time we run into it, we should have a different prompt for us. Okay? So as you can see, this time, it shows a different set of details here. So we can have…see our administrator account that we set up as a service account. Okay? And you can configure that there. Our farm database information. The configured logon points. As you can see here, we still have some old logon points from a previous attempt that I tried. So, if you have old logon points, you can just select the ones that are an X opposite. And you can just go in and delete the old ones. Okay? And that’s how to remove the old ones. And then some of our other authentication and other services we can see installed there. So that’s that. And finally then, we can just launch the AAC, and we’ll just verify that everything exists and there’s no issues. And then we can just go in and configure our settings. So let’s just load this up. Run discovery. And we can verify that we no longer have any web resources or file shares. We should have just one sample logon point existing, because it’s standard for a new installation. And then you’re ready to configure your advanced access gateway environment. And that’s it. Thank you.