• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. fog.user
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    fog.user

    @fog.user

    0
    Reputation
    139
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fog.user Unfollow Follow

    Latest posts made by fog.user

    • RE: Problem to mapping network drive using snapin with batch file

      @george1421
      Thank you for the answer.
      Ok the problem is due to the batch script, which runs as system user, not current user.
      i would like to apply this script:

      Set csv=\192.168.1.1\myshare\ip.csv
      for /f “skip=1 delims=, tokens=1-6” %%a in (%csv%) do (
      if “%computername%”==“%%a” (
      netsh int ipv4 set address “Ethernet” static %%b %%c %%d
      netsh int ipv4 set dnsserver “Ethernet” static %%e
      netsh int ipv4 add dnsserver “Ethernet” %%f
      )
      )

      It’s a batch script to change ip address to the pcs.
      The “csv” variable contains the network path to point at the .csv file,
      where are all pcs names and relative ip address.
      When i run the snapin with this script the script doesn’t get ip.csv and doesn’t read the ip.csv file.
      the output is:

      C:\Program Files (x86)\FOG\tmp>Set csv=\192.168.1.1\myshare\ip.csv

      C:\Program Files (x86)\FOG\tmp>for /F “skip=1 delims=, tokens=1-6” %a in (\192.168.1.1\myshare\ip.csv) do (if “ACF-UNDICI” == “%a” (
      netsh int ipv4 set address “Ethernet0” static %b %c %d
      netsh int ipv4 set dnsserver “Ethernet0” static %e
      netsh int ipv4 add dnsserver “Ethernet0” %f
      ) )

      If i copy ip.csv to the 😄 the script works “Set csv=c:\ip.csv” !!!
      Why doesn’t the script get ip.csv file from network path?
      I tried to map a drive with net use command to copy ip.csv to 😄

      net use z: \192.168.1.1\myshare
      copy z:\ip.csv c:\

      but doesn’t work.
      Have you any idea to solve this problem?
      Sorry if it is off-topic.
      thanks you

      posted in General Problems
      F
      fog.user
    • Problem to mapping network drive using snapin with batch file

      OS: Windows 10 1709
      Hello,
      i have a problem to mapping a drive.
      The batch file contain:

      net use z: \192.168.1.1

      i created a snapin with this .bat file, but the drive not install.
      If i cut and paste net use z: \192.168.1.1 in the command prompt ,work!!
      with snapin not working, i adding in the snapin argument c:\out.txt (for viewing the output when the snapin is executed) the result is:

      C:\Program Files (x86)\FOG\tmp>net use z: \192.168.1.1\myshare

      the operation is easy, but not working.

      posted in General Problems
      F
      fog.user
    • RE: Deploy image only in the SSD hd

      @george1421 said in Deploy image only in the SSD hd:

      @fog-user The developers have done a great job thinking about all of the different hardware combinations out there and built in a lot of useful “tweaks” that can be done.
      I’m glad you were able to get your imaging going like you need. Is it OK to solve this thread?

      yes @george1421 is it ok.
      thank you

      posted in General Problems
      F
      fog.user
    • RE: Deploy image only in the SSD hd

      @george1421
      Great it’s works!!!
      Thank you @george1421 for the fast reply and thanks to all the people who contribute to the development of fog.
      FOG is an excellent program opesource, excellent result!!

      posted in General Problems
      F
      fog.user
    • Deploy image only in the SSD hd

      I Used
      FOG 1.4.4

      OS
      xubuntu (64bit)

      Hello,
      i have 30 new PC with two hd, one classic hd and one SSD hd.
      i have an image to deploy for these pc,and when start the deploying FOG restore the image in the two hardisk and the pc start with the OS installed in a classic HD.
      It’s possible to deploy image ONLY in SSD hd?
      The settings in “Image management” they are correct on snapshot, for restore image only in SSD hd?
      Thank you.
      0_1516877757062_d3956d5c-5073-4e29-af0c-92ff3e8beaa6-image.png

      posted in General Problems
      F
      fog.user