How to migrate a Website from Windows 2003 to Window 2012

Hi

We were using windows 2013 server in our network and my predecessors had setup a password reset utility on this server.
Basically they have created a shortcut pointing to the following URL  and when I click this shortcut  
http://Win2003 Server/SchooAdmin/spwr/spwr.hta

It asks to run and when I click run, it opens  a box , where it gives options to change password of students and put the new password  and click reset , it changes the password successfully.

Please see the attached IIS snapshot, the properties of the Default website and if I open the
C:\inetpub\wwwroot folder , I can see the SchoolAdmin and spwr folder and many files are there within this folder.

Now I would like to migrate this password reset program to a Windows 2012 server. Please let me know if there is a way successfully migrating this.
Snap-shot-of-IIS--Default-website.png
lianne143Asked:
Who is Participating?
 
Peter HutchisonSenior Network Systems SpecialistCommented:
You may need to update the Internet Options, Internet Security esp. scripts as IE is more secure. I would consider re-writing the HTA program as a proper ASPX website.

See also https://social.technet.microsoft.com/Forums/exchange/en-US/c9538726-669c-4d89-a5fe-2224319e3395/hta-file-will-not-run-correctly?forum=ieitprocurrentver
0
 
ExchangeKBCommented:
ok this sounds like a HTML appllication for self service password resets ? Dont think it has any dependency on databases, just has a connection to AD ?

Have you tried just copying the files to your 2012 boxs iis root folder.

There are some documentation available on how to do this:
https://www.sherweb.com/blog/how-to-migrate-all-your-sites-using-web-deploy/

hope it helps.
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
That is an HTA and it does not require IIS. It can run directly from a share.

If the tool is for resetting (new password) and not setting (supply old password and then new password), I would be concerned about the security of this.

I believe that anyone will be able to get the service account password or in the very least be able to run in the context thereof, even be able to change the user to someone else and reset the password.

Can you post HTA file?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Peter HutchisonSenior Network Systems SpecialistCommented:
You can restrict access using NTFS and Share permissions to the users/groups who are authorized to run it.
If its a web site, you can restrict the web site by IP addresses or subnets.
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
But the source cannot be protected and if it contains the password it will be exposed
0
 
lianne143Author Commented:
Hi

As this is setup in Windows 2003 server and internet explorer 8 is the last supported version. When accesing http://Win2003 Server/SchooAdmin/spwr/spwr.hta from the Windows XP , the page opens fine without any problems as attached .
Here is shows only the students , it doesn't allow to see any other users or service accounts. I have given access to run this HTA file only to designated  teachers who are password reset admin for students.

Now when I browse the following path from the Windows 7 IE11 it doesn't display properly , please see the attached.
http://Win2003 Server/SchooAdmin/spwr/spwr.hta

I thought after copying the directories to the new Windows 2012  it must display properly , but it is not displaying properly  and same as the second snapshot attached
when I browse from Windows 7  and ie11.
http://Win2012 Server/SchooAdmin/spwr/spwr.hta

But when I click any of the year  and click show users , it lists all the users.

Please let me know how to make this page display properly from IE 11as it displays when opened from IE6
When-Browsed-from-Windows-XP---IE8.png
When-browsed-from-Windows-7--IE11.png
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.