Sorry, don't have Windows 8.1, so this may be different, but on my Windows 10 VM, I see attrib
has a switch /L
that may solve your problem.
/L Work on the attributes of the Symbolic Link versus the target of the Symbolic Link
So for testing, I did something like:
> mklink /j sample_shortcut C:\my_target_dir Junction created for sample_shortcut <<===>> C:\my_target_dir > attrib +S +H sample_shortcut /L
And I no longer see the junction point I created.