Create folder, copy file, and then register OCX via GPO

I will try and explain this issue.
I have a .bat (ocx_reg.bat) file with the following:
echo off
md c:\ocx
xcopy \\server.contoso.com\install$\ocxfile.ocx c:\ocx /Y /D /E /K /I
%systemroot%\syswow64\regsvr32 /s c:\ocx\ocxfile.ocx
I have saved this .bat file in the %logonserver%\netlogon folder.
I have then configured this in a GPO:
GPO => Computer Configuration => Windows Settings => Scripts => Startup and added
%logonserver%\netlogon\ocx_reg.bat as a Startup script.
However when booting the computer and logging in with a domain user, the folder is not created, and so the OCX is not registered.
I have run gpresult and it doesn't even show that I have configured anything under that particular section of the GPO.
The user logged in is a member of the security group which this GPO is targeted for under Security Filtering.
So I am not sure why this is happening.. 
Any suggestions?
Kthxbai

Hi,
Before going further, please make sure that the script itself can run successfully. Besides, for we are assigning the script as computer startup script, we need to make sure the computer accounts have access to the script. We can test this
by accessing the script stored on the server from a client computer and run the script to see if it works.
>>The user logged in is a member of the security group which this GPO is targeted for under Security Filtering.
For we are applying computer settings, the computer accounts must have
Read and Apply permissions to the GPO. We need to add computer accounts in question under Security Filtering. Otherwise, the GPO won't get applied to computers in question.
>>I have run gpresult and it doesn't even show that I have configured anything under that particular section of the GPO.
After making sure that the GPO is correctly linked and Security Filtering is set correctly. If the issue persists, we can run command
gpresult/h c:\gpreport.html with administrative privileges to further check group policy result report. If necessary, you can upload the report to Onedrive and provide us the download link.
In addition, regarding how to assign computer startup scripts, the following article can be referred to for more information.
Create System Startup / Shutdown and User Logon / Logoff Scripts 
http://technet.microsoft.com/en-us/magazine/dd630947.aspx
TechNet Subscriber Support
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Best regards,
Frank Shen

Similar Messages

  • How do I find a previous windows version. It's telling me to copy files and then delete old version.

    When I got on my laptop today, I saw that there was a message from HP Support Assistant. It says that I have an older versions of windows and that the previous versions of windows was saved in a folder c:\windows.old. it says that the folder is very large and it recommends me coping any old files I want to keep and then delete the Windows.old to free up more disk space. It has a help column that says, "How do I backup my files from Window.old? When I do what it tells me to do, I can't find it. Could someone please help me? Thanks you.
    Product Name: HP Pavilion g7 Notebook PC
    Product Number: B5R84UA#ABA
    O/Sis Microsoft Windows 7 Home Premium (64-Bit) SP 1
    Systems BIOSis F.14

    Hi,
    Looks like a new OS has been installed/re-installed. Do you want to keep Windows.old folder for just in case? Otherwise you can delete it using the following instructions:
       http://windows.microsoft.com/is-IS/windows7/How-do​-I-remove-the-Windows-old-folder
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Make excel file and then mail it via workflow...

    Hi All,
    I got a requirement in CRM Workflow like i have the item level details from a FM. Now i need to send these details by putting them in an Excel file. So how can i make an excel file in SAP and then mail the same file to a person.
    Please suggest. Is this feasible?
    Regards,
    Guddan

    Hello,
    Yes. Just attach it. I don't know how to create an excel file in SAP but I'm sure it's possible.
    You can always try these things first, and then ask if you encounter a specific problem.
    regards
    Rick Bakker
    hanabi technology

  • Is it better to output t master file and then upload to youtube?

    I had to upload 33 videos to youtube today
    This has taken tooo long
    Just wondering, is it better to create a master file and then upload to youtube?
    I could maybe just copy the files to another machine and leave it to upload?
    Thanks
    Omar

    just to add:
    don't try to upload your Masterfile to YouTube!
    usually, the Masterfile is a copy of the projects timeline = proRes.
    that creates incredible large files = time for upload, wasting bandwidth, and YT will complain 'wrong settings'
    After saving a masterfile, which goes fast, you should use a 'Converter' of your choice (QuicktimePro, Mpg Streamclip, Compressor) to transcode into YT's recommended upload settings.-

  • How to copy folder with files and subfolders within it  to another folder

    how to copy a folder with files and subfolders within it to another folder

    http://javaalmanac.com/egs/java.io/CopyDir.html?l=new

  • HT4527 I am trying to move my library and playlists to a new computer by burning to CD's. However, I followed the directions by going to File and then Library - then they said to go to burn CD(s) - I DO NOT have that option for some reason. How do I do th

    I am trying to move my library and playlists to a new computer by burning to CD's. However, I followed the directions by going to File and then Library - then they said to go to burn CD(s) - I DO NOT have that option for some reason. How do I do this? I have done the library sharing thing but I am getting rid of my primary computer and am afraid I will lose the library.

    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    and select the Library that you moved.  That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    Your first option didn't work because you imported one Library to another. Every version and thumbnail is imported like a distinct photo, you lose all your Albums, Keywords etc., the link between Original and Previews is destroyed, the non-destructive editing feature is ruined and so on. In summary: it's mess.
    Your second option didn't work because you simply referenced her library on the old machine.
    Regards
    TD

  • I would like to create a slide show and then burn to a DVD.  I may be interested in adding music.  Should I use iPhone, iMovie or a simple Powerpoint?

    I am going to be creating a slide show and then burning it to a couple of DVDs.  I have used PPT in the past for simple slide shows for speaking engagements, but I am interested in adding music to this slide show.  What is the best/easiest application to use?  iMovie, iPhoto or Powerpoint?
    Thanks!
    Mike

    burning it to a couple of DVDs
    Is it your intention to create video DVDS that can be played on TV sets via DVD players?  If so you'll need a video DVD authoring application like iDVD.
    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  For iPhoto 9.4.3 and earlier select Size = Medium or Large. For iPhoto 9.5 and later selct 480p.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    OT

  • With Mozilla Firefox, I cannot go to "File" and then "Send Link" so as to pull up an email ready to send via Outlook Express, as I can with Internet Explorer - how do I change the settings to permit this?

    If I am using Explorer, I can go to "File" and then "Send Link" -
    an email will automaticallt pop up, with the website url pasted in;
    I merely put in the recipents email address, hit Send, and away it goes
    With Firefox, the email does not pop up; I have to manually pull up an email ("create mail"), then copy and paste the website url
    displayed by Firefox
    I want to override this default to Explorer

    Hi,
    Please try this: '''Tools''' (or '''Alt''' + '''T''') > '''Options''' > '''Applications'''. Look for or start typing '''mailto''' in the search box and for the '''Action''' change it to the desired mail client (the application that opens up in Explorer) if the value is different.
    '''Options''' > '''Applications''': https://support.mozilla.com/en-US/kb/Options%20window%20-%20Applications%20panel
    Managing Actions: https://support.mozilla.com/en-US/kb/Managing%20file%20types

  • Is it possible to create a SD project and then replace the video later with HD?

    There are a few reason why I want to do this. One is to speed up editing in CS3 and the other is to produce both DVD and BVD discs as the final product.
    My idea was to create a SD project, complete the edit and export the SD master for the DVD. Next I wanted to off-line all the files and then batch capture the video again as HD. In an experiment I found that I needed an HD project so I copied the SD project into an HD project. However, I was not very successful -the captured HD had to be rendered and was not seen as the right format.
    Can you tell me if the idea is daft or if there is a correct way of doing this in CS3?
    Thanks, Tim

    I tried my HD project in CS4 recently. The HD was fine, as expected. I then exported to MPEG-DVD in the media encoder to make the SD version. When I tried this last year in CS3 the SD verion was not very good (understatement). However, the SD version I made from CS4 was very good quailty. Either CS4 has improved greatly or I am now using it properly. So no more HD/SD projects for me. I will edit in HD and export to SD when I have finished.
    Tim

  • I just recently up graded from AI CS6 to AI CC and I am having issues with my pen tool. If I create a starting point and then make another point it does not allow me to make the secnd point an end point. The pen tool stays active and I either have to clic

    I just recently up graded from AI CS6 to AI CC and I am having issues with my pen tool. If I create a starting point and then make another point it does not allow me to make the second point an end point. The pen tool stays active and I either have to click to isolate the path or I have to return to the first point and close the path. Please help.

    artisttouch,
    If you cannot close the Pen Tool by switching to another tool, as a temporary measure you may try pressing P (for Pen).
    To solve it, you may try the list.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • HT4539 I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    itunes will only sync with an ios device.
    On the other hand, if you have a usb cord for your mp3 player, and you know what FOLDER your itunes music is located in (and for me its located at C:\Users\YOUR NAME HERE\Music\iTunes\iTunes Media  )
    you can just select that folder and copy it to your mp3 player.
    typically when you first plug in something like an mp3 player you get a windows alert asking if you want to view the contents of the device- say yes. copy your itunes folder to the music folder on your mp3 player.

  • I need to create a fillable form and then generate a reports.

    Hello everybody. I need to create a fillable form and then generate a report using numbers. You know, for example if you have customers, I need to be able to write the usual , name, last name, address, and some other details and then using a standard letter I would like the form to be able to populate these fields automatically in a standard pre formatted letter by our company and then be able to print it.
    Any help to point me in the right direction I would appretiate very much.
    I have iwork 9 installed in my macbook pro

    This is acalled a mail merge and is solved using a combination of Numbers (or address book) and Pages.  To get detailed help how to performa a mail merge start in Pages, then in the help menu type Mail Merge:
    Also download the help files for Numbers and Pages here:
    http://support.apple.com/manuals/#
    Page 247 in the Pages User's Guide has details how to perform a a mail merge.
    Post back with specific questions if you need to.
    Regards,
    Wayne

  • Creating an XLS file and Zip it

    Hi All,
    we have a requirement where in we have to create an XLS file from internal table. This xls file then has to be zipped and mailed.
    If anyone knows how to create an xls file and zip it in WebDynpro, without using OPEN, CLOSE DATA SET etc, Please let us know. It will be of great help.
    Thanks,
    Anand

    >2) Convert the STRING format to XSTRING format by using the FM SCMS_STRING_TO_XSTRING.
    Actually you should use CL_BCS_CONVERT=>STRING_TO_XSTRING now.
    >3) Use the method COMPRESS_BINARY of class CL_ABAP_GZIP to compress the XSTRING file.
    You probably want to use CL_ABAP_ZIP instead of CL_ABAP_GZIP.  CL_ABAP_GZIP only does compression, which is fine for storing a single packet of data in the database.  However CL_ABAP_ZIP is better suited for mult-part zip (multiple inner files).
    >4) Use the method SEND_WEB_MAIL of class CL_HRRCF_SERVICES_MAIL to mail across the zipped contents.
    This seems to be an HR specific class. Better to use the cross application, NetWeaver provided functionality for sending mail - CL_BCS.

  • I want to delete my icloud-account from my iphone 5 and then register again, because I want to change my email-address/account name. What would be the steps to follow? How do I make sure I do not lose any information stored on/in my iphone 5?

    I want to delete my icloud-account from my iphone 5 and then register again, because I want to change my email-address/account name. What would be the steps to follow? How do I make sure I do not lose any information stored on/in my iphone 5?

    You would have to delete the existing iCloud account and create a wholly new one - you cannot change the @icloud.com email address of the one you already have.  To make a new one, you will also need an new AppleID as any AppleID can only have one iCloud account associated with it.
    Deleting the account will not delete anything off your device (if prompted for things like contacts, choose to keep them).  You will have to sync everything anew with the new account as you cannot move your sync'd content, your old backups or anything else from one iCloud account to another.  You will have to set up sync again and let it sync to the new account, and then make new backups to the new account as well.

  • Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I inste

    Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I instead just keep everything on my ipod and then if I have to get a new computer or something just download all my songs from the ipod to my new computer's itunes? Will that work? Will I still be able to keep all my songs that way?

    I'm going to assume the consolidating files does not work due to hard drive space limitations.
    Since you're moving to Windows 7, have you tried using the Windows files and settings transfer utility?  That will move everything for you to the same location on the new computer, it also allows some control over what actually gets moved.
    Alternatively, if you know the location of all of the media, it can be manually moved by copying it from the old computer to the new computer in the same location.
    Also, using the Apple article on moving the library, take a slight twist on what it says.  Move the iTunes library to the external drive, update the settings in iTunes to reflect the library being on the external drive, then consolodate it.
    The options are endless for moving the library... it simply takes a little effort to make it happen and possibly a twist on existing "standard" methods depending on your unique situation.

Maybe you are looking for