How can I get a Powershell script which maps network drives to execute at logon to any workstation in my domain

I want to map network drives for each user when they logon to any workstation in the network.  I have created and tested the PS1 script which works fine where the drives attach and used persistent parameter.  I have updated the Windows 7 Professional
64-bit workstation to the latest PS 4.0 code.  I have created the GPO and believe everything is assigned properly.  I made changes to allow execution of local and remote signed scripts.  I have forced the changes on a workstation using GPUPDATE
/force, but the drives do not connect.  The GPRESULT is as follows which shows the policies are in place as shown below.  
What am I missing to get the script to execute? 
RSOP data for MRC\mikeg on MIDRUBD03 : Logging Mode
OS Configuration:            Member Workstation
OS Version:                  6.1.7601
Site Name:                   N/A
Roaming Profile:             N/A
Local Profile:               C:\Users\mikeg.MRC
Connected over a slow link?: No
USER SETTINGS
    CN=My Name,CN=Users,DC=mrc,DC=net
    Last time Group Policy was applied: 7/21/2014 at 8:22:05 AM
    Group Policy was applied from:      MIDSRVR01.mrc.net
    Group Policy slow link threshold:   500 kbps
    Domain Name:                        MRC
    Domain Type:                        Windows 2000
    Applied Group Policy Objects
        StartingUp
    The following GPOs were not applied because they were filtered out
        Default Domain Policy
            Filtering:  Not Applied (Empty)
        Local Group Policy
            Filtering:  Not Applied (Empty)
    The user is a part of the following security groups
        Domain Admins
        Everyone
        BUILTIN\Administrators
        BUILTIN\Users
        NT AUTHORITY\INTERACTIVE
        CONSOLE LOGON
        NT AUTHORITY\Authenticated Users
        This Organization
        LOCAL
        MRCAdmins
        Domain Users
        Enterprise Admins
        Schema Admins
        AS400_Permanent_Users
        Denied RODC Password Replication Group
        DnsAdmins
        High Mandatory Level
    The user has the following security privileges
    Resultant Set Of Policies for User
        Software Installations
            N/A
        Logon Scripts
            GPO: StartingUp
                Name:         C:\Windows\SYSVOL\sysvol\mrc.net\Policies\{47773A6D-1115-4A3D-BB74-F672B315A430}\User\Scr
pts\Logon\MapDriveScript.ps1
                Parameters:
                LastExecuted: This script has not yet been executed.
        Logoff Scripts
        Public Key Policies
            N/A
        Administrative Templates
            GPO: StartingUp
                KeyName:     Software\Policies\Microsoft\Windows\PowerShell\EnableScripts
                Value:       1, 0, 0, 0
                State:       Enabled
            GPO: StartingUp
                KeyName:     Software\Policies\Microsoft\Windows\PowerShell\ExecutionPolicy
                Value:       82, 0, 101, 0, 109, 0, 111, 0, 116, 0, 101, 0, 83, 0, 105, 0, 103, 0, 110, 0, 101, 0, 100,
0, 0, 0
                State:       Enabled
        Folder Redirection
            N/A
        Internet Explorer Browser User Interface
            N/A
        Internet Explorer Connection
            N/A
        Internet Explorer URLs
            N/A
        Internet Explorer Security
            N/A
        Internet Explorer Programs
            N/A

>                  Name:
> C:\Windows\SYSVOL\sysvol\mrc.net\Policies\{47773A6D-1115-4A3D-BB74-F672B315A430}\User\Scr
> pts\Logon\MapDriveScript.ps1
>                  Parameters:
First: Only one of all current answers points in the right direction.
You picked the local sysvol path on the DC which does not exist on
clients, of course...
The Path to the script MUST be an UNC path starting like
\\mrc.net\sysvol\mrc.net\Policies\...
Second: You CANNOT execute PS1 directly (unless you change the .ps1 file
extension configuration). The "Name" MUST be "powershell.exe", and the
script itself goes into "Parameters".
Martin
Mal ein
GUTES Buch über GPOs lesen?
NO THEY ARE NOT EVIL, if you know what you are doing:
Good or bad GPOs?
And if IT bothers me - coke bottle design refreshment :))

Similar Messages

  • I have made with iweb a website on my macbook, now i want to change it, through my imac, how can I get in the program , which is on the mac book. On both computer I have Lion

    i have made with iweb a website on my macbook, now i want to change it, through my imac, how can I get in the program , which is on the mac book. On both computer I have Lion

    You need to transfer your domain.sites file from your MacBook to your iMac.  This is the file where iWeb stores all info and can be found under User/Library/Application Support/iWeb/domain.sites.
    Transfer this file from your MacBook to the same place on your iMac and double click the domain.sites file and iWeb will open it on your iMac and you can update your site from there too.

  • After I restored my ipad I chose itunes restore. now how can I get my info of which is backed up from icloud?.

    hi all!
    Reseting ipad, we are asked to restore info from icloud or itunes. If we choose icloud, the info will be restored, but the apps on the ipad should be downloaded from app. store! because icloud can't save the applications. and If we choose to restore with itunes, the apps will be loaded quickly ,But still we need our info in icloud. and if we go to icloud backup , from ipad settings, we just have one choice: back up now! that backs up the new info, not our backed up info. but we need our backed up info.
    After I restored my ipad I chose itunes restore. now how can I get my info of which is backed up from icloud?

    bechosken wrote:
    My friend wanted to get some music off my itunes
    This is called "stealing". You do not have the legal right to give her the music you have in your iTunes library unless you are the copyright holder.
    when syncing it it said she had to update her phone software first
    That's not quite what it said.  Someone should have paid more attention to the great big warning about the possibility of losing data if the phone wasn't backed up.
    We cannot find her new photos. Please help and there was 100 new pics. Is there any way we can get them back. I already have the program Asoftech - but it doesnt seem to register the iphone only C and D drive. Please help!
    It restored the backup that was made on your computer 6 months ago, which did not contain those photos. You're wasting your time trying to find them on the phone. They don't exist.
    Hopefully, your friend syncs her phone to her own computer on a regular basis. She needs to plug her phone into her computer and restore it from her last backup. That will restore it to the state it was in when the backup was made.
    She also needs to get in the habit of extracting the photos on a regular basis, like she would from any other digital camera.

  • I downloaded new Firefox but now can't open Firefox at all. It says it is not supported on my system. How can I get the earlier version which I deleted?

    I downloaded new Firefox but now can't open Firefox at all. It says it is not supported on my system. How can I get the earlier version which I deleted?

    http://www.mozilla.com/en-US/firefox/4.0/system-requirements/ <br />
    Mac
    Operating Systems
    * Mac OS X 10.5
    * Mac OS X 10.6
    Recommended Hardware
    * Macintosh computer with an Intel x86 processor
    * 512 MB of RAM
    * 200 MB hard drive space
    For older Macs that aren't supported in Firefox 4.0, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8 . <br />
    http://www.floodgap.com/software/tenfourfox/

  • How can I get my itunes library which is stored under my email address onto my husbands Ipad which is under his email address?

    How can I get my itunes library which is stored on my laptop/Ipone under my email address onto my husbands Ipad which is under a different(his own) email address?

    Your iTunes Library is yours and yours alone.
    However... if you wish to share iTunes Content with your husband... see here...
    SHARING iTunes MUSIC
    http://macmost.com/five-ways-to-share-music-in-itunes.html
    Sharing Apps
    http://macmost.com/sharing-ios-apps-with-family.html
    It should be Noted that anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID

  • PSE12 editor stopped working - sas elements 12 editor not working - how can i get editor to work - which has been working fine for a yhearÉ

    PSE12 editor stopped working - sas elements 12 editor not working - how can i get editor to work - which has been working fine for a year nowÉ

    Thanks for the quick response ...
    I had already tried deleting the review slide itself, though Captivate wouldn't let me - it just hid it. I tried again using the method you recommended but the slide remained in the filmstrip, so I tried deleting again, then re-added it from the Quiz Settings page ... no joy, same behavior as before.
    I checked the Advanced Interaction page and confirmed that all of the scored questions were configuredthe same way as the non-scored questions, with the only difference being the pool that they were drawing from.
    Other thoughts? I am by no means a Captivate expert but this one really feels like it shouldn't be this hard, and I'm more than a little afraid that it's the file itself that's jacked up ...

  • How can I get my LG portable super multi disk drive to install or operate. Help.

    How can I get my LG portable super multi disk drive to install or operate. Help.

    Hello, which exact model?
    Is it only Bus powered, no A/C adapter?
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Hardware>USB, what all shows when it's plugged in?

  • Mac-format to PC-format: How can I get my music off an external hard drive?

    I had a mac-formatted iPod for years, and all of my music is on an external hard drive that is hooked up to that computer. When I got a new iPod after mine was stolen, I had to get a PC-formatted iPod. How can I get my music off of the hard drive and onto my PC (and eventually my iPod)? I tried uploading the files into my iTunes account on the Mac, but they don't show up in my account on the PC. Most of the music are CDs that I copied onto my computer years ago, and had on my old iPod. Help!

    Your Firefox profile would have the data. You can find it at:
    *C:\Users\<Windows login/user name>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile folder>
    **The file you want is called ''places.sqlite''
    You can copy that file if you want to restore your bookmarks to your current Firefox by going back to ''C:\Users\<Windows login/user name>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile folder>'' and overwriting the current file. Keep in mind, doing this will erase your current bookmarks.

  • How can I get my iphone to act as a drive not in iTunes?

    How can I get my iphone to act as a drive not in iTunes?

    TisiPhotography wrote:
    I have at some point been able to take my photos and copy them and paste them into a folder on my hard drive. Now I cant do that because I'm forced into Itunes. I suppose I was asking the wrong question. How do I take my pics off the camera without usint Itunes or Iphoto?
    You could use image capture, aperture or any other number of programs.
    http://support.apple.com/kb/HT4083

  • I want to buy an ipad 2 3G but i am not a US resident, how can i get to work on a local network NOT verizon or AT

    i want to buy an ipad 2 3G but i am not a US resident, how can i get to work on a local network NOT verizon or AT&T

    From your screen name would it be safe to guess that you will be using it in Egypt? If your carrier uses is a GSM network you can do as Chris suggests.
    From the Apple page http://www.apple.com/eg/buy/   there is a link to Arab Buisness Machine, they sell the iPad 2 and offer local support should any problems arise.

  • How can I get my Indesign script to apply to all pages in the document?

    My script (java) shown below will only apply to the first page of the document. How can i get it to apply to all pages of my document? What am I missing? Thanks.
    scirpt:
    myDocument = app.activeDocument
    with (myDocument.pages.item(0).marginPreferences){
    columnCount = 1;
    //columnGutter can be a number or a measurement string.
    columnGutter = "0";
    bottom = "0"
    //When document.documentPreferences.facingPages == true,
    //"left" means inside; "right" means outside.
    left = "0"
    right = "0"
    top = "0"
    inside = "0"

    Hi,
    You have to iterate through all pages.marginPreferences:
    var
      myDocument = app.activeDocument,
      allPagesMaPref = myDocument.pages.everyItem().marginPreferences,
      curPageMaPref;
    while ( curPageMaPref = allPagesMaPref.pop() )
      with (curPageMaPref) {
      columnCount = 1;
      //columnGutter can be a number or a measurement string.
      columnGutter = "0";
      bottom = "0"
      //When document.documentPreferences.facingPages == true,
      //"left" means inside; "right" means outside.
      left = "40"
      right = "0"
      top = "0"
      inside = "0"
    Jarek

  • How can I get my Post Script files to print from a designated side?

    We're printing Cards through a PS combatible printer.
    The Vertical Cards are flat fed through the printer and the image is printing.
    However, I cannot consistently get the image to print out from the same side.
    Using Illustrator CS2, CS3 and CS4, we were able to get good results only using CS3.
    Since most of us are using CS4, we'll need to make this work, rather than toggling
    between versions.
    There must be some parameters that we are missing.
    Suggestions?
    How can we get the images to print consistently from the same side?

    Sounds more like an issue with the various combinations of AI and the PostScript printer drivers producing different PS being sent to the printer and naturally the printer producing a result based on the interpretation, which is perfectly correct. Short of printing it as bitmap data I don't see an easy way to fix this. this clearly requires som computer person to check it hands on and install the correct drivers and define the correct default settings...
    Mylenium

  • My iPhone was stolen. How can I get my downloaded music which had not been transferred to my laptop

    My iPhone was stolen.  How can I get my downloaded music if I had not transferred it to my laptop (not an iMac so no iCloud )

    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How can I get my data out of a crashed drive?

    I need help. Crashed hard drive. How can I get the data out?

    First have to define what a 'crashed drive' is, so we'll know how to respond.
    If you boot to an installer DVD does Disk Utility see the drive? What does it tell you about the drive?
    If the drive is showing up but not mounting it may be possible to repair it and get the data off yourself -
    But if it isn't even showing up then you may need to take it to a recovery specialist to get the data off it. This is costly and not guaranteed to always work.
    Did you replace the drive in the MBP and install a new OS on a new drive?
    Or is it still in the MBP and you are trying to recover it from there?
    One type of 'crash' is a head crash, usually caused by a impact or jarring to the drive while it is spinning which bounces the heads off the platters. This removes some of the magnetic media off the platters typically rendering it unrecoverable.
    So first priority is tell us precisely where you are with this drive, what you see, what you have tried, what the symptoms are, and what you need to accomplish.
    Rick

  • How can I get the scrubber software to correct a driver installation error?

    I am currently on Windows 8.1.  When I try to install the printer driver for my OfficeJet Pro L7650 I get the following error message:  "System cannot find file specified".  
    I have read that there is a scrubber software that will solve this issue.  How can I get this software?
    This question was solved.
    View Solution.

    You can get that HP program here.
    Restart your computer.
    Next run the HP Printer Install Wizard program found here.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

Maybe you are looking for

  • Have suddenly lost incoming messages for the past two years

    Brought up a message that claimed to be from Verizon that began "in answer to your request..." I made no request. In an effort to find out details, I permitted remote content that Norton had blocked. This only produced an ad for free wi-fi. So I went

  • Duplicated titles

    Hi. All my songs have somehow become duplicated,during a laptop change. One of the songs plays and the other doesn't. I need to delete, in block, the titles that don't play. How do I do this?

  • Packages invalid in DMSYS

    I have noticed a number of package bodies to be invalid in DMSYS schema. I have tried to recompile but still invalid What is the simplest way to around this? The version of Oracle is 10.2.0.40

  • Google cal synced to ical problems

    I have a google calendar that is synced to my ical on my macbook, ipad, and iphone. The transition to my macbook is a success. However, on my iphone and ipad there is a time zone issue. The calendar frame is set correctly, but the time displayed in t

  • No Music/Podcasts/Films showing in iTunes

    Windows 7 64 bit. Latest version of iTunes. Using it fine last night, open it today, and all of my music has dissapeared. I still have my music saved in the music folders but it's not showing up in iTunes. I know i can import it back but how can a pi