/build/static/layout/Breadcrumb_cap_w.png

Create folder and copy the file to %localappdata%

Hello,
need to make a script that checks if a folder exists in %localappdata%. If not, it could create a folder called Google and then unzip a folder in that destination.
At first all is right with the script, but he understands %localappdata% (c: \ users \ User \ AppData \ Local) it performs all the following path C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local \ Google.

Anyone have any idea?



Sorry my english.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: SMal.tmcc 9 years ago
Red Belt
1

check "run as all logged in users" for this script.


Comments:
  • Marked to run with all connected users, but it still returns the following:

    Checkout

    Running the: SYSTEM
    Directory DOES exist: C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local \ Google

    Activity Log

    Checking if directory exists: C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local \ Google - fcord 9 years ago
Posted by: anonymous_9363 9 years ago
Red Belt
0

In common with most deployment systems, Kace uses the local System account. Use Active Setup to populate folders in the logged-in user's profile. Active Setup is well documented on MSDN.

Al igual que la mayoría de los sistemas de despliegue, Kace utiliza la cuenta del sistema local. Utilice Active Setup para rellenar las carpetas en el perfil del usuario que ha entrado. Active Setup bien documentado en MSDN.

Por favor, disculpe mi español!


Comments:
  • Marked to run with all connected users, but it still returns the following:

    Checkout

    Running the: SYSTEM
    Directory DOES exist: C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local \ Google

    Activity Log

    Checking if directory exists: C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local \ Google - fcord 9 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ