/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Create folder and copy the file to %localappdata%

05/22/2014 4226 views

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

Comments



Community Chosen Answer

1

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

Answered 05/23/2014 by: SMal.tmcc
Red Belt

  • 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

All Answers

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!

Answered 05/23/2014 by: VBScab
Red Belt

  • 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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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