Enabling Windows ICS from PowerShell

I am trying to use Windows ICS to share the computer's internet connection with a separate adapter in PowerShell. This is what I have so far:
# Register the HNetCfg library (once)
regsvr32 hnetcfg.dll
$MainAdapter = Get-NetAdapter | Where-Object {$_.MediaConnectionState -eq 'Connected' -and $_.PhysicalMediaType -ne 'Unspecified'} | Sort-Object LinkSpeed -Descending
function EnableICS([string]$ID)
# Create a NetSharingManager object
$m = New-Object -ComObject HNetCfg.HNetShare
# List connections
$m.EnumEveryConnection |% { $m.NetConnectionProps.Invoke($_).Guid }
# Find connection
$c = $m.EnumEveryConnection |? { $m.NetConnectionProps.Invoke($_).Guid -eq $ID }
# Get sharing configuration
$config = $m.INetSharingConfigurationForINetConnection.Invoke($c)
# See if sharing is enabled
Write-Output $config.SharingEnabled
# See the role of connection in sharing
# 0 - public, 1 - private
# Only meaningful if SharingEnabled is True
Write-Output $config.SharingType
# Enable sharing (0 - public, 1 - private)
$config.EnableSharing(0)
# Disable sharing
#$config.DisableSharing()
EnableICS($MainAdapter.InterfaceGuid)
It works, but only on systems with two network adapters. ICS needs an adapter as an input, and another as an output.  In the ICS GUI, when there are more than two adapters, it asks for a "Home network connection" that it uses
as the output. But when I run this code, it doesn't specify the other adapter, so it doesn't do anything. How can I specify that other adapter in my script?
Wasabi Fan

I am trying to use Windows ICS to share the computer's internet connection with a separate adapter in PowerShell. This is what I have so far:
# Register the HNetCfg library (once)
regsvr32 hnetcfg.dll
$MainAdapter = Get-NetAdapter | Where-Object {$_.MediaConnectionState -eq 'Connected' -and $_.PhysicalMediaType -ne 'Unspecified'} | Sort-Object LinkSpeed -Descending
function EnableICS([string]$ID)
# Create a NetSharingManager object
$m = New-Object -ComObject HNetCfg.HNetShare
# List connections
$m.EnumEveryConnection |% { $m.NetConnectionProps.Invoke($_).Guid }
# Find connection
$c = $m.EnumEveryConnection |? { $m.NetConnectionProps.Invoke($_).Guid -eq $ID }
# Get sharing configuration
$config = $m.INetSharingConfigurationForINetConnection.Invoke($c)
# See if sharing is enabled
Write-Output $config.SharingEnabled
# See the role of connection in sharing
# 0 - public, 1 - private
# Only meaningful if SharingEnabled is True
Write-Output $config.SharingType
# Enable sharing (0 - public, 1 - private)
$config.EnableSharing(0)
# Disable sharing
#$config.DisableSharing()
EnableICS($MainAdapter.InterfaceGuid)
It works, but only on systems with two network adapters. ICS needs an adapter as an input, and another as an output.  In the ICS GUI, when there are more than two adapters, it asks for a "Home network connection" that it uses
as the output. But when I run this code, it doesn't specify the other adapter, so it doesn't do anything. How can I specify that other adapter in my script?
Wasabi Fan
I've tried $config.DisableSharing() to disable sharing but it does not work. any suggestions?

Similar Messages

  • We installed  the Acrobat Reader 11.0.09  on Citrix enable Windows 2008 server  a month ago , it was working.  starting from this weeke we are receiveing error mesaage   AcroRD32.exe - application error  (Instruction at 0x...bad8  bad referenced memory at

    We installed  the Acrobat Reader 11.0.09  on Citrix enable Windows 2008 server  a month ago , it was working.  starting from this weeke we are receiveing error mesaage   AcroRD32.exe - application error  (Instruction at 0x...bad8  bad referenced memory at 0x....bad8 The memory could not be written  Click ok to terminate the program)
    Instruction at 0x...bad8  bad referenced memory at 0x....bad8
    The memory could not be written
    Click ok to terminate the program

    Hi SUBRAMANIAN,
    Are you still facing this issue? It seems to be conflict to me.
    Are you using any third party plugins with Acrobat? Try disabling and to use it again.
    Regards,
    Ajlan Huda.

  • Incorrect date with date from Windows ics Files since installing OS X Mountain

    since installing OS X mounting the introducing fo dates with windows ics files is 5 month earlier. With iPhone no problem.

    I'm having the same problem on my late 2008 MBP 15".  Never had a problem before installing Mountain Lion.   Now I have to reboot about 4-5 times a week.
    My computer doesn't lock up completely.    But Wi-Fi stops (you see only one black line on the WiFi icon), the clock stops (I was wondering why it seemed so early earlier tonight - the clock had been stopped for two hours) and many, but not all applications are "not responding".    However, if I try to quit the applications that appear to be okay, then they also become "not responding".   I have to force shut each application and then I can reboot using the Apple>Restart... command.
    One of the things I've noticed is that many times it's iTunes that has the "not responding" message when the other apps don't, even if I haven't used it.   I'm going to Quit iTunes and see if it still happens.  
    I don't think it's heat related.  My computer feels no hotter than it ever did.
    If 10.8.1 fixes this, I'm okay with it (although it was still sloppy for Apple to release with such a bug.)    But the question is whether Apple even knows about it, since they provide no mechanism for non-developers to report bugs.   

  • Listing RDS 2012 R2 collections from powershell remote fails

    I'm trying to list different informations of a RDS server farm => from a remote client PC <=
    I do following but when typing the last command - I get an error.
    Knowing that that same command runs correctly when launched from an RDS server
    enter-pssession RDS-SERVER-XYZ.contoso.net
    import-module remotedesktop
    get-command -module remotedesktop
     Get-RDSessionCollection -ConnectionBroker RDS-BRK-1.contoso.net
     => fails with message :
     Cannot index into a null array.
     At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\remotedesktop\Utility.psm1:54 char:9
     +     if ($_script_resource[$Id])
     +         ~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : NullArray
     Cannot index into a null array.
     At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\remotedesktop\Utility.psm1:54 char:9
     +     if ($_script_resource[$Id])
     +         ~~~~~~~~~~~~~~~~~~~~~~
         + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
         + FullyQualifiedErrorId : NullArray
     Get-RDSessionCollection :
         + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
         + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDSessionCollection
    Listing RDS 2012 R2 collections from powershell remote fails / same commandlet from local RDS serevr works fine
    Am I missing something ?
    MCTS Windows Server Virtualization, Configuration

    Are the Windows Remote Management rules enabled on the inbound firewall of the RDSH server?
    If you are running multiple roles on the RDSH  server you may need to increase the size of the memory available for powershell remoting.
    Run Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000 with powershell as an admin and reboot.
    HTH,
    JB

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi,
    I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
    Please help me.
    Thanks,
    Sunjyoti
    Code :
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    class try2{
    public static void main(String args[]) {
    try {
              System.out.println("hi");
    // Load the properties file to get the connection information
    Properties prop = new Properties();
    prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
    // Create a OracleDataSource instance
    OracleDataSource ods = new OracleDataSource();
    System.out.println("prop is "+prop);
    configureDataSource(ods, prop);
    Connection conn=null;
    // Create a connection object
    conn = ods.getConnection();
         System.out.println("Connection is"+conn);
    // Sets the auto-commit property for the connection to be false.
    conn.setAutoCommit(false);
    } catch (SQLException sqlEx){ // Handle SQL Errors
    System.out.println("In exception "+sqlEx);
    } catch(Exception excep) { // Handle other errors
    System.out.println(" Exception "+ excep.toString());
    private static void configureDataSource(OracleDataSource ods, Properties prop) {
    // Database Host Name
    ods.setServerName(prop.getProperty("HostName"));
    // Set the database SID
    ods.setDatabaseName(prop.getProperty("SID"));
    // Set database port
    ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
    // Set the driver type
    ods.setDriverType ("thin");
    // Sets the user name
    ods.setUser(prop.getProperty("UserName"));
    // Sets the password
    ods.setPassword(prop.getProperty("Password"));
    Connection properties :
    # Your Database Connection details
    HostName = 10.20.3.19
    SID = EDIREAD
    Port = 1521
    UserName = dbuser
    Password = dbuser
    Error I'm getting is
    error while trying to connect with odbc datasource
    [root@iflexpau2217 EDIReader]# java try2
    hi
    prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
    In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Also I tried to connect with weblogic JDBC driver
    Code is here:
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    //import com.entrust.toolkit.util.ByteArray;
    public class trial{
         public static void main(String args[]) throws IOException{
              System.out.println("hi");
              Connection p_conn = null;
              PreparedStatement xml_insert = null;
              try {
         // Load the JDBC driver
                   System.out.println("hi2");
         // String driverName = "oracle.jdbc.driver.OracleDriver";
    String driverName = "weblogic.jdbc.oracle.OracleDriver";
         System.out.println("hi2");
         Class.forName(driverName);
         // Create a connection to the database
         String serverName = "10.20.3.19";
         String portNumber = "1521";
         String sid = "EDIREAD";
         //String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String url = "jdbc:bea:oracle://10.20.3.19:1521";
         String username = "dbuser";
         String password = "dbuser";
    System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
         p_conn = DriverManager.getConnection(url, username, password);
         System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
              xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
              //InputStream in=null;
              File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
              BufferedReader input =null;
              input=new BufferedReader(new FileReader(l_file));
              String line = null;
              StringBuffer trial=new StringBuffer();
              while (( line = input.readLine()) != null){
                   trial.append(line);
                   trial.append(System.getProperty("line.separator"));
              //InputStream is = new BufferedInputStream(new FileInputStream(l_file));
              System.out.println(trial.toString());
              //Blob b ;
              //byte[] bytes=trial.toString().getBytes();
              //System.out.println("Size-->"+bytes.length);
              xml_insert.setString(1,new String("SpecailChar"));
              //xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
              xml_insert.setString(3,"SpecailChar");
              xml_insert.executeUpdate();
              p_conn.commit();
              } catch (ClassNotFoundException e) {
                   System.out.println("ClassNotFoundException:"+e.getMessage());
              // Could not find the database driver
              } catch (SQLException e) {
                   System.out.println("SQEXCEPTIN:"+e.getMessage());
              // Could not connect to the database
              }catch (FileNotFoundException e) {
                   System.out.println("filenot found:"+e.getMessage());
              // Could not connect to the database
    Error I'm getting is
    error while trying with jdbc:
    SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refused

    Is the Windows firewall active? Have you enabled the port on the firewall, if it is?

  • Cannot create mysites from powershell: Original XSLT List View Web Part not found

    I have a bizarre problem in my SharePoint 2013 farm. This does not occur in my test farm, only in the farm we were going to go live with.
    I'm on windows Server 2012, SQLServer 2012 SP1, SharePoint 2013 April CU. 1 appserver/centraladmin server, 2 web servers.
    When I log into our mysitehost and click newsfeed, it will create a mysite (even though first it displays "we are sorry there was a problem creating your site")
    But from powershell, whether I use $UserProfile.CreatePersonalSite() or New-SPSite, I get the following error:
    Original XSLT List View Web Part not found
    So far I've only found one other person with this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2503e42c-e114-4e89-8e00-89fe70f0b154/cannot-create-sharepoint-mysite-programmatically
    This is a brand new farm, created with the same scripts I created my test farm with, and same version of SharePoint. Only the service accounts are different. (Farm account has admin on the servers right now since I was setting up profile service).
    Some other errors from the same correlation ID that look related:
    It can't seem to find the listemplate 101
    And something looks wrong with the MySiteDocumentLibrary feature
    I have tried the following:
    1. run psconfig.exe on each server
    2. install-spfeature -AllExistingFeatures
    3. looped through the directory under Features and for each called Install-SPFeature $dirname -Force
    4. uninstalled and reinstalled MySiteDocumentLibrary feature
    5. blew away the whole farm (removed all servers from farm, deleted all databases) and recreated it.
    6. tried creating the UPA from the CentralAdmin gui.
    The only real difference I can think of between the working farm and non working farm is, I installed the working farm using RTM, then as they came out added the March PU and April CU. For this farm I installed RTM and March and April, and then ran my build
    farm script.
    I am at a loss. What do I need to do, re-install the binaries? That's all I can think of. What I love is that our test / POC system worked fine, and now 2 weeks before go-live I'm seeing errors on the production servers I've never seen before. Using the
    same scripts no less.
    Feature Activation: Feature 'Fields' (ID: 'ca7bd552-10b1-4563-85b9-5ed1d39c962a') was activated
    Feature Activation: Feature 'CTypes' (ID: '695b6570-a48b-4a8e-8ea5-26ea7fc1d162') was activated
    No document templates uploaded for list "$Resources:core,global_onet_solutiongallery_list;" -- none found for list template "100"
    Failed to find <ListTemplate> tag corresponding to ID "101", tried both onet.xml for site definition ID "0" language "1033" and global site definition. Operation failed.
    No document templates uploaded for list "$Resources:core,stylelibraryList;" -- none found for list template "121".
    System.Runtime.InteropServices.COMException: A user may not remove his or her own account from a site collection.<nativehr>0x81020051</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPUserCollection.UpdateMembers
    Feature Activation: Feature 'MySitePersonalSite' (ID: 'f661430e-c155-438e-a7c6-c68648f1b119') was activated
    Feature Activation: Activating Feature 'MySiteDocumentLibrary'
    Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MySiteDocumentLibrary'
    SharePoint Foundation Upgrade MySiteDocumentLibraryFeatureReceiveraj08n INFO Creating new My Documents library
    Unknown SPRequest error occurred. More information: 0x80070002
    SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://contoso/personal/cbuchholz/DOCUMENTS ,METADATAFLAGS=59
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPWeb.GetObjectForUrl at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.GetSPObjectFromUrl ...
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/personal/cbuchholz/DOCUMENTS"
    Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/personal/cbuchholz/DOCUMENTS"." and the returned error with code 0x80070002.
    Attemping to add webpart id 0F6072F2-E804-4CFD-837E-BB37332B9D1C to web http://contoso/personal/cbuchholz
    Adding XsltListViewWebPart calling SPRequest::CreateListViewPart. Web part id 0F6072F2-E804-4CFD-837E-BB37332B9D1C, web http://contoso/personal/cbuchholz
    Feature receiver assembly 'Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryFeatureReceiver', method 'FeatureActivated' for feature 'e9c0ff81-d821-4771-8b4c-246aa7e5e9eb' threw an exception: System.InvalidOperationException: Original XSLT List View Web Part not found at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.ReplaceListViewWebPart
    Feature Activation: Threw an exception, attempting to roll back. Feature 'MySiteDocumentLibrary'
    Exception in EnsureFeaturesActivatedAtSite: System.InvalidOperationException: Original XSLT List View Web Part not found
    Failed to activate site-collection-scoped features for template 'SPSPERS#2' in site collection 'http://contoso/personal/cbuchholz'
    Failed to apply template "SPSPERS#2" to web at URL "http://contoso/personal/cbuchholz
    I've had other problems in this farm: the bug where when you add Administrators to a Search Service via the Manage Service Applications page, it removes the SPSearchDBAdmin role from the search service process account. That one did not happen in the other farm.
    At least other people have that one and I could just use the farm admin instead (still troublng of course).

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • Z87-GD65 Enable "Windows 8/8.1 Feature" = Won't boot, Disabled = Boots up

    How do I enable Windows 8/8.1 Feature in the Z87-GD65 Settings?   When I turn it on, Windows 8.1 no longer will boot.  (see video below of what happens)   Is this because I didn't have it enabled BEFORE I installed Windows?  If so can I fix this without a re-install?   My C: is a 120GB SSD.    I have about 12 other 3TB Hard Drives installed as well with 2 secondary SATA cards installed.

    Quote from: pandaz on 02-April-14, 13:46:01
    I got the same problem before and after doing some research, I found out the ff. Info:
    When set the Windows 8/8.1 Feature to Enabled then the system could only boot to Windows if your windows is installed using UEFI mode.
    If you didn't install Win8 in UEFI mode then you will need to reinstall your Win 8.1 using UEFI mode.
    The SSD drive was originally in a Zotac ZBOX ID84 mini-PC.    I turned the zbox UEFI mode on before the install was done.
    I transplanted the SSD drive into the new Z87-GD65 based computer.    Windows 8.1 booted right up (only after a firmware update)
    So technically yes, UEFI mode was enabled, but was a different computer. (but then again maybe it wasn't?)
    Will the computer boot faster if I reinstall from scratch with Windows 8/8.1 Feature enabled?    What else works better/faster with this feature enabled?  (more stable etc?)
    Basically, is it worth the hassle of starting fresh?  I have a very complicated home server/media center combination setup.

  • Reseting the Hashed Password after enabling Windows File Sharing

    Disclaimer: you'll need a good bit of knowledge about OS X, UNIX, and encryption to understand what I'm talking about.
    All right, so normally OS X hashes user passwords using a salted SHA1 encryption. It uses shadowing so that you can't obtain the actual hash value using "% nidump passwd".
    BUT, if you enable Windows File Sharing, all that changes. OS X re-hashes your password using the much less secure LANMAN encryption. This allows Windows machines to access your files. (LANMAN is what Windows used to encrypt passwords up through Windows ME. Later versions of Windows use NTLM instead, which is stronger.) This is why, the first time you enable Windows File Sharing, OS X warns you that enabling the feature will require your password to be stored in a less secure manner; it's downgrading the hash from SHA1 to LANMAN.
    My question is: I'm done sharing files with idiot Windows users - how do I force OS X to go back to storing my password using SHA1?
    Thanks guys.
    -Bryan

    Thanks biovizier. You're absolutely right, deleting the extra text after ";shadowHash;" and then reseting the password for the user's account does seem to force OS X to rehash the password using SHA1.
    Just in case someone else has this question in the future, here's how to verify that your password is hashed in SHA1:
    Log in as Root and open the /private/var/db/shadow/hash folder. You'll see files with long, weird names. You'll also see an XML file (with the extension *.state) for each of the files with long, weird names. The XML file contains several tags that tell OS X information about the hashed password - things like when it last logged on, when it was created, how many times login failed, etc.
    We're interested in the other files - the ones that don't end in ".state"
    To verify that SHA1 is being used, open the long, weird files in textedit. You should see something like this:
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000059G31HJ75BR54210P07Y57BC57094D643H78K8765L98C6X000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000
    There should be a few more zeros; I've cut some out here to save space.
    What should NOT exist, is the following:
    57Y083D243109VGR45Z4B65812R8M087H65HJ8OK95T89L8JHL9000000000
    000000000000000000000000000000000000000000000000000000000000
    0000000059G31HJ75BR54210P07Y57BC57094D643H78K8765L98C6X00000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000
    The second Hashed value does not start with zeros. This hash value is not SHA1. It is the less secure encryption method required for compatability with Windows.
    If your hash file opens with zeros, you're using SHA1. Otherwise, follow Biovizier's procedure: Open NetInfo, select the user account whose password needs to be changed back to SHA1, look at the "authentication_authority" value, make sure the value is set to ;ShadowHash; and that no additional text follows that string, then reset the affected account's password. You can then log back in as root and re-check the hash files using textedit and you should find that the hash file opens with solid zeros instead of letters and numbers.
    Do NOT manually edit the hash files in textedit. One of those files is the hash for the Root password. If you change that hash file, your root password will no longer work (because when you type MYPASSWORD, OS X will hash that string and find that the hashed value no longer matches the stored hash value in /private/var/db/shadow/hash and OS X will therefore reject your password as incorrect) and you will quickly find yourself locked out of your computer for good.
    And finally, just in case you have the computing power of the NSA and are thinking about running the hashes I've listed here: A) They aren't the right length; I've left some characters out and B) I randomly substituted different alphanumerics in for the ones in my real hashes with no rhyme or reason.
    Which brings me to another point: NEVER post your hashes online. Yes, it takes a TON of computing power to break them, but still, they're hidden away for a reason!
    Anyway, I hope this helps other security buffs out there.
    I'm going to make a suggestion to Apple that OS 10.5 be changed so that when you unclick "windows file sharing" the OS immediately rehashes your password in SHA1 again.
    -Bryan

  • Using Windows ICS as the Internet source

    My internet connection is a 3g USB dongle that has to run on my PC. I just bought a new time capsule and want to use it to replace my trusty WRGT that's been working fine in the config I need. Here's the breakdown:
    Internet -- Dialup3g -- PC -- NIC -- TimeCapsule -- All wired/wireless clients
    Basically, I use windows ICS to share the dial up connection out over my NIC, and then plug the NIC into the wireless router, disabling any NAT/DHCP onboard the router, letting the ICS dhcp range serve all wired and wireless clients. When using my WRGT, I disabled the WAN port and plugged the PC into one of the LAN ports and it worked fine.
    Ultimately, I'll be replacing my PC with a mac mini, but I'll still need to share out the dial-up 3g connection, so if it doesn't work with the PC, it probably won't work with the mac mini.
    So I've been trying to configure the Airport similarly, but it's just not working. Does anyone know if what I want to do is possible with the Airport, or is it just not going to happen?
    Thanks,

    Nielsen Audio is part of the Nielsen Digital Voice at <
    http://digitalvoice.nielsen.com>
    This was placed on your computer when you subscribed to Nielsen Digital Voice and agreed to respond to surveys, etc., to be entered to win rewards or prizes. It has also been auto changing in my sound output for quite sometime and I was constantly having to return to change back to my internal speakers. No rewards from Nielsen thus far--just their buggy software so tonight I found the Nielsen Uninstall on my computer and zapped it. It is now gone from my Sound preferences therefore, I hope this problem goes away with them. You should have the uninstall on your computer if you search for it and be able to accomplish the same task. The negative side of this as I see it is, they are not getting opinons from Apple users-only Windows until they figure out how to correct their software.

  • Installing windows 7 from USB to vaio VPCf13

    hi all,
    the HD of my vaio broke, so I replaced with a SSD and I was trying to install windows 7 from a USB.
    after the first step of the installation, I got this message:
    A required CD/DVD drive device driver is missing
    I tried several tricks suggested in the forums:
    -check the USB image of windows, works ok in another computer
    -change USB port (tried the 2 available), nothing
    -change BIOS features to enable UEFI, the computer is too old for that and doesn't have this option
    -install the intel  SATA/RAID drivers after the error (as indicated here http://pcingredient.blogspot.com/2014/01/repair-error-windows-7-required-cddvd.html), error "The intel 5 series port 6 sata AHCI----, device driver could not be istalled.
    contact your vendor for updated driver
    -install USB 3.0 driver, after the missing message I get no new devices could be found...."
    please help me!!!

    Hi,
    Have you tested in other computer with this bootable usb drive?
    Return back to installation UI, and press Shift+F10 simultaneously, then it will open cmd window.
    Run those commands below:
    Diskpart
    List disk
    Check if it shows your USB drive. If you cannot usb drive, it indicates your usb drive is not detected by Windows PE. So, please just plug out and then re-plug in your usb drive to view if usb drive shows.
    and then reinstall Windows 7.
    Andy Altmann
    TechNet Community Support

  • Windows Media Player keeping Automatic Maintenance window/Windows Updates from doing auto-restart

    I have a system that is connected to a domain, and it runs a video playlist in Windows Media Player for digital signage upon bootup (and auto-login).  WMP is set to loop the videos over and over again, but it also is preventing automatic updates from
    installing and/or auto-restarting at 3:00AM in the morning (and yes, the system power management is set to keep the computer on all the time).
    How can I fix this?
    I have a GPO set up to install updates and restart automatically (option 4).  I tried the GPO option to use the Windows 8 maintenance window to install updates, and also tried turning that option off and just using a 3:00AM restart period.  Neither
    option seems to work, so it looks like Windows Media Player is preventing an auto-restart to finish the update installation.  Is there any way around this, so that Windows Media Player doesn't stop Windows Updates from doing its job?  I don't care
    if that means the video stops playing because it just starts up again on the next bootup.
    I looked at the WMP GPO's and the only option that sounds like it's related is the option to turn on or off the auto-updating of media info for WMP, but it has nothing to do with what I'm trying to accomplish.  If I missed something, let me know. 
    If there is some other way to accomplish this, such as associating and launching the playlist file with the Xbox Videos app, I would be fine with that, but I need it to loop the playlist continually (I also use the Shuffle option
    in WMP - ***see note below for another question).  I still want the system to automatically install updates and reboot on a regular schedule despite the video playing in the foreground.
    ***Side question: is there any way to turn Repeat and Shuffle options on in WMP without having to load the GUI (for scripting a playlist)?
    Just FYI: this system is actually using Windows Embedded 8.1 Industry Enterprise (from a MAPS account), but it isn't customized aside from not having the standard WinRT apps from a stock Win 8.1 install loaded - it is a stock install from the ISO. 
    From what I understand, it is the same as Windows 8.1 Enterprise, except that it is only licensed to be used as an "appliance" machine for a single role - which it is.  So I'm assuming that there are no actual differences from a "regular"
    Windows 8.1 SKU that would cause this issue.  If I am completely mistaken about this, please notify me on it.  The reason I'm making this statement is in case there are any differences in Embedded 8.1 Industry Enterprise that I am not aware of. 
    Otherwise, I welcome any assistance that would target a "regular" version of 8.1 Enterprise.  NOTE:  Someone said to post this into the Windows Embedded forum, but the only one that exists is the one for POSready - and this is HARDLY the
    POSready version of Windows Embedded that I'm using.

    Hi,
    Did you use the policy Local Computer Policy\Administrative Templates\Windows Components\Windows Update\Always automatically restart at the scheduled time?
    I noticed an description "restart with logged on users for scheduled automatic updates installations" policy is enabled, then this policy has no effect." it means if system installed some updates which unneeds restart computer, this policy would has no effect.
    In my opinion, your problem should not caused by WMP setting. please check your installed updates whether they need restart computer.
    In addition, Power Managment in Control Panel also can prevent the schedule task running.
    Control Panel\System and Security\Power Options\Edit Plan Settings\Change advanced power settings\Sleep\Allow wake timers
    Please make sure this option is enable.
    Roger Lu
    TechNet Community Support

  • How can I enable Windows Explorer (Windows 7 64 bit) to open LabView 8.2.1 LLB files?

    How can I enable Windows Explorer to open LabView LLB files? I am running LabView 8.2.1 on Windows 7 64 bit. The option “Enable Windows Explorer for LLB Files” in Tools/Options/Environment is unchecked and grayed out.

    LabVIEW until 7.1 came with a shell extension that could display the content of an LLB in an explorer window.
    That was removed in LabVIEW 8.x for  a number of reasons.
    - Shell extensions are pretty badly documented, tricky to implement right, and of very limited use since only Windows Explorer and a few explorer replacements can use them. It doesn't add any functionality for most other programs in Windows, since the shell extension are a Windows Explorer thing, and not a Windows core technology.
    - With 8.x NI decided that LLBs were pretty old fashioned and their main feature of supporting file names longer than the DOS 8.3 naming was pretty much obsoleted by then, while they didn't allow for more than one level of directory hierarchy. So they decided to depreciate LLBs and declared them a legacy technology that should not be used for new development anymore.
    - For the uupcoming 64 bit version of Windows a new shell extension would have been required to allow Explorer to use it.
    For all these reasons the LLB shell extension was removed from the LabVIEW installation to further discourage the use of LLBs.
    If you have a LabVIEW 7.0 or 7.1 installation on your computer and run 32 Bit Windows you can enable the shell extension in the LabVIEW Options dialog.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • I have imported videos to my lap top (Windows Vista), from my new ipad.  Quick time plays them with audio, however the screen is black. What is the fix?

    I have imported videos to my lap top (Windows Vista), from my new ipad.  QuickT
    ime plays them with audio, however the screen is black. What is the fix?

    Experimental advice (in this particular context) coming up.
    Open your QuickTime control panel (either via the Control panels, or by going "Edit > Preferences > QuickTime Preferences" in the Quicktime Player). In the Advanced tab, uncheck Enable Direct3D video acceleration:
    ... and click OK. Quit and restart the QuickTime Player prior to checking to see if the settings change has had any effect.

  • Can't enable Windows Defender - used McAfee removal tool - Y580

    I can't enable Windows Defender.  I get the message "Windows Defender has been turned off and isn't monitoring your computer."  So I used the McAfee removal tool, then rebooted my PC, but I still can't enable it. 
    Perhaps my laptop came with security software other than McAfee and I just don't remember uninstalling it?  Does anyone know if an Ideapad Y580 comes with software other than McAfee?  Or has any idea how I can enable Windows Defender?
    TIA

    cmkurup wrote:
    I keep getting a message to use the action center where the link to enable defender is disabled. Please help.
    Hi cmkurup,
    I am unsure from your description exactly which setting for WD is disabled in the Action Center.
    Perhaps some screenshots will help me explain what I think the problem may be.Scroll down to Option 2 here: http://www.eightforums.com/tutorials/21962-windows-defender-turn-off-windows-8-a.html
    Review your settings, and see if that tutorial helps.
    ===============
    Oops, we posted at the same time. Glad you fixed your problem. I'll leave my info here for anyone else who needs it.
    ThinkPad: T530 / X1 Gen 2 / Helix - Yoga: Tablet 2 Pro (Win) / Yoga 3 Pro
    If you find a post helpful and it answers your question, please click the "Accept As Solution" button.
    Lenovo Advocate ~ I am not employed by Lenovo or Microsoft. I am a volunteer.
    Microsoft MVP - Consumer Security
    SpywareHammer

  • PS script file works differently when scheduled vs run from Powershell

    The following script works when run from PowerShell window.
    The script does not work when ran as scheduled task.   The email part works fine, however the body is blank.    It also does not update the timeran.txt file.
    MORE INFO ADDED:     the script is scheduled on the Hyper-V host box.  user is Domain Administrator equivalent.     OS is server w2k12.     TASK  CONFIG:   user is domain\Adminequivalent.   
    Run whether user is logged in or not.      trigger is 7:00 AM.     Action is   Powershell        argument is  .\scriptname.ps1      Start
    in  is   C:\scripts
    TIA..   bob
    # Variables
     $filedate = get-date
     $computer = gc env:computername
     $FromEmail = "[email protected]"
     $ToEmail = "[email protected]"
     # Establish Connection to SMTP server
     $smtpServer = "mail.mydomain.com"
     $smtp = new-object Net.Mail.SmtpClient($smtpServer)
      get-date | Out-File  "C:\Util\timeran.txt" -append
      Measure-VMReplication -ComputerName Hyp-03 | Select Name,Health,LreplTime | ConvertTo-Html | Out-File "C:\Util\report.html"
      $a = Get-Content C:\Util\report.html
    #  email  
     $email = new-object Net.Mail.MailMessage
     $email.Subject = "$($computer) Replication Report: $($filedate)"
     $email.From = new-object Net.Mail.MailAddress($FromEmail)
     $email.Sender = new-object Net.Mail.MailAddress($FromEmail)
     $email.IsBodyHtml = $true
     $email.Body = $a
     $email.To.Add($ToEmail)
     # Send Email
     $smtp.Send($email)
    Bob Lee

    Hi Bob,
    It seems this cmdlet "Get-Content C:\Util\report.html" in the script didn't work in the task scheduler, as Mike said please make sure you have check the option "Run with the highest privileges".
    In addition, I also would like to know if your current logon account is domain admin, I tested with the setting below and ran the task without issue, the TASK  CONFIG: The user domain\Anna is in local administrators group:
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

Maybe you are looking for

  • Downgrade to Snow Leopard with Time Machine - and then, what?

    So I am making Time Machine backups on a regular basis. Almost daily. The last one when I was running Snow Leopard, dates back from December 25th, 2011. I have done a lot of reading and googling before making the leap back to that happy Christmas day

  • GUI_DOWNLOAD problem in unicode system

    Hi Guru's, I am facing one prolem in gui_download. we are doing unicode remediation in one report. In the program  one internal table declared as of type c with length 255 and data filled into the internal table by importing the data ifrom cluster. A

  • [Is it Jdev 11.1.2.4 bug]......LOV issue

    Hi All, Facing a problem related to LOV in Jdev version Jdev 11.1.2.4. Was referring to the solution given by Andrejus here http://andrejusb.blogspot.in/2008/02/list-of-values-component-in-search-and.html. Problem: Migrate the workspace to Jdev 11.1.

  • Up to date program 404 for mountain lion

    Trying to update to Mountain Lion with the Air I picked up yesterday.  If I click link in the Up to Date page it just beings up a 404.  Known issue or am I alone?

  • Vendor master creation using RFBIKR00 program

    hi friends can any body help what is the structure and file format  i have to give when i run RFBIKR00 program to create vendor master data ... thanx in advance .. by leee