Have a look at the literature which came with the router or from the Internet Service Provider and find the user setup screen login password. Link computer to router with ethernet cable and log in to the setup screens, go to Wireless Security section and review or renew the wireless security type and passphrase.
Apply those settings to the new computer's wireless adapter utilities or to Window Wireelss Connection settings.