Page 1 of 1
Change desktop path
Posted: Wed Jun 08, 2016 10:48 am
by doreng
I want to change the default Desktop path under Target Computer. Currently when I put a file in that folder it install it in “C:\Users\Public\Desktop” in need it to be C:\Users\wd\Desktop
How do I change the path ?
Re: Change desktop path
Posted: Wed Jun 08, 2016 12:58 pm
by FrancescoT
Dear Doreng,
the effective location of DESKTOP shortcuts depends on the installation mode selected; PER-MACHINE or PER-USER.
When installing as PER-MACHINE (ALLUSERS = TRUE) all DESKTOP shortcuts will be stored under;
- C:\Users\Public\Desktop
Otherwise with a PER-USER installation (ALLUSERS = FALSE) ;
- C:\Users\<CURRENT-USER>\Desktop
This is by design.
In case you need to retrieve the effective DESKTOP location for the current user, you can use the "Get Folder Location" command.
With the command is available the "Get for All Users" flag.
This determines if the command will attempt to obtain the location of the pre-defined folder that is shared by all users of the target system, if it is available.
Hope this helps you.
Regards
Re: Change desktop path
Posted: Wed Jun 08, 2016 2:31 pm
by doreng
Thanks for the replay I figure out what the problem was. I already had it setup as Per-User Only but still got the public folder. The problems was that I was using a program to do a silent install with ALLUSERS=1 /qn /norestart, when I deleted the parameters then it worked fine.
Learned something new again

Re: Change desktop path
Posted: Thu Jun 09, 2016 10:27 am
by FrancescoT