Jump to content

IcemanND

Patron
  • Posts

    3,252
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by IcemanND

  1. Ghost will not fullfill your needs as a daily backup solution, but works great as a recovery process. With it you capture and image of the drive to a file/files depending upon the size of the image and the media you are placing it on. So you could create a set of cds 1..n with a customers final image on it if they didn't have a dvd. one draw back is that Ghost only allows for a maximum image segment to be 2gb, so if you have an image over 2gb it will break it up into multiple files. Has something to do with limitations of older file systems and file sizes. What I tend to do for my clients is create a two partitions, or sell them two drive, one for apps, one for data then I don't have to worry (not much at least) about the data and I can just reghost their apps. The ghost license is per machine it is used on, I'm not sure of the exact cost but it was about $2 (us) per machine as I recall with a 3000 seat license.
  2. Not without finding someones or creating a third party utility of some sort. At least not that I know of.
  3. you can use the -clone switch with ghost and it will ask you if you want to proceed. if you add -sure with it it will not. i.e. ghost -clone,mode=load,src=g:\diskimg.gho,dst=1 will load the diskimg.gho to the first disk in the machine and ask if you want to proceed. ghost -clone,mode=load,src=g:\diskimg.gho,dst=1 -sure will do the same without the prompt to continue. you can also add -rb to automatically reboot after the image is loaded. If you want more prompts before ghost loads use the CHOICE dos batch command.
  4. I'm doing the same thing, have patience is all I can say, it takes an additional 10-30 minutes, and it will stay stuck on the 13 minute mark until finished. Edit: As an alternative, you can also mount the image as a secondary disk in a working load of os within virtual pc and view the logs etc that may be there.
  5. I can turn the service (Internet Connection Firewall (ICF) / Internet Connection Sharing (ICS)) to be enabled/disabled, but this does not actually turn the firewall on for the network connection. I found a script on M$ site that will allow me to enable it. And I have been able to modify it to enable the firewall on every connection in the machine, but it comes up with a dialog box at the end I haven't been able to work around. Its asking if you want to allow WScript.exe to access Internet Connection Protection settings, and gives you yes (default), no, help. If you click yes it works great. But I haven't been able to autoclick the YES. Edit heres my modified script which turns on the firewall for all available connections: OPTION EXPLICIT DIM ICSSC_DEFAULT, CONNECTION_PUBLIC, CONNECTION_PRIVATE, CONNECTION_ALL DIM NetSharingManager DIM PublicConnection, PrivateConnection DIM EveryConnectionCollection DIM objArgs DIM con ICSSC_DEFAULT = 0 CONNECTION_PUBLIC = 0 CONNECTION_PRIVATE = 1 CONNECTION_ALL = 2 Main( ) sub Main( ) if Initialize() = TRUE then GetConnectionObjects() FirewallTestByName(con) end if end sub sub FirewallTestByName(conName) on error resume next DIM Item DIM EveryConnection DIM objNCProps DIM szMsg DIM bFound bFound = false for each Item in EveryConnectionCollection set EveryConnection = NetSharingManager.INetSharingConfigurationForINetConnection(Item) set objNCProps = NetSharingManager.NetConnectionProps(Item) bFound = true EveryConnection.EnableInternetFirewall next end sub function Initialize() DIM bReturn bReturn = FALSE set NetSharingManager = Wscript.CreateObject("HNetCfg.HNetShare.1") if (IsObject(NetSharingManager)) = FALSE then Wscript.Echo("Unable to get the HNetCfg.HnetShare.1 object") else if (IsNull(NetSharingManager.SharingInstalled) = TRUE) then Wscript.Echo("Sharing isn't available on this platform.") else bReturn = TRUE end if end if Initialize = bReturn end function function GetConnectionObjects() DIM bReturn DIM Item bReturn = TRUE if GetConnection(CONNECTION_PUBLIC) = FALSE then bReturn = FALSE end if if GetConnection(CONNECTION_PRIVATE) = FALSE then bReturn = FALSE end if if GetConnection(CONNECTION_ALL) = FALSE then bReturn = FALSE end if GetConnectionObjects = bReturn end function function GetConnection(CONNECTION_TYPE) DIM bReturn DIM Connection DIM Item bReturn = TRUE if (CONNECTION_PUBLIC = CONNECTION_TYPE) then set Connection = NetSharingManager.EnumPublicConnections(ICSSC_DEFAULT) if (Connection.Count > 0) and (Connection.Count < 2) then for each Item in Connection set PublicConnection = NetSharingManager.INetSharingConfigurationForINetConnection(Item) next else bReturn = FALSE end if elseif (CONNECTION_PRIVATE = CONNECTION_TYPE) then set Connection = NetSharingManager.EnumPrivateConnections(ICSSC_DEFAULT) if (Connection.Count > 0) and (Connection.Count < 2) then for each Item in Connection set PrivateConnection = NetSharingManager.INetSharingConfigurationForINetConnection(Item) next else bReturn = FALSE end if elseif (CONNECTION_ALL = CONNECTION_TYPE) then set Connection = NetSharingManager.EnumEveryConnection if (Connection.Count > 0) then set EveryConnectionCollection = Connection else bReturn = FALSE end if else bReturn = FALSE end if if (TRUE = bReturn) then if (Connection.Count = 0) then Wscript.Echo("No " + CStr(ConvertConnectionTypeToString(CONNECTION_TYPE)) + " connections exist (Connection.Count gave us 0)") bReturn = FALSE elseif (Connection.Count > 1) and (CONNECTION_ALL <> CONNECTION_TYPE) then Wscript.Echo("ERROR: There was more than one " + ConvertConnectionTypeToString(CONNECTION_TYPE) + " connection (" + CStr(Connection.Count) + ")") bReturn = FALSE end if end if GetConnection = bReturn end function function ConvertConnectionTypeToString(ConnectionID) DIM ConnectionString if (ConnectionID = CONNECTION_PUBLIC) then ConnectionString = "public" elseif (ConnectionID = CONNECTION_PRIVATE) then ConnectionString = "private" elseif (ConnectionID = CONNECTION_ALL) then ConnectionString = "all" else ConnectionString = "Unknown: " + CStr(ConnectionID) end if ConvertConnectionTypeToString = ConnectionString end function
  6. I'm in the process of finishing up my unatened install cd, and was wondering if it is posible to turn on the built in XP firewall via script. And if anyone knew how.
  7. If you delete or remove any other bootable drives/partitions it normally ignores the "press any key......." and starts the install process.


×
×
  • Create New...