I know that a single Windows (I'm using 8.1) computer can either be in a Domain or in a workgroup, but not both.
My home computer with my peronal user account is not in a domain, but in a workgroup (my home network). I can connect via VPN to my work network, which is a domain. Now I want, when connected via VPN to my work network, to login to my server-stored user profile in the work domain (to be able to use my work files at home).
So, I need my computer to be only in the domain when I am connected via VPN to my workplace (so that I can loging using my server-stored domain Windows user account), otherwise I need it to be in my home workgroup (so that I can use my regular local account). Is this possible and if so, how?