With the switch in factory default, the switch is just passing layer 2 packets on all ports. And from your description, the PC is not getting a DHCP IP assignment since it is using a self-assigned 169.x.x.x IP address.
You said you factory defaulted the switch, but it does not sound like it is actually defaulted or maybe the DHCP server is not responding. If you can provide the running configuration file, we can verify this is correct.
This can be done from the Command Line Interface of the switch or the web interface of the switch.
From the CLI -
To factory default -