Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Change default program through script

14 Sep 2010   #1
solarnoise

Windows 7 RC
 
 
Change default program through script

Hi guys, I'm in a new IT job for a computer lab and I'm picking up skills for maintaining it as I go along.

I need to change the default program for a filetype on all machines in the lab. If I just log on as admin and change it under my account, the change doesn't persist for the non-admin users.

I was thinking of maybe writing a script that will change the file association for all users but am not sure how to go about this.

Can anyone offer direction or help? Google turned up some old threads that weren't very helpful.


My System SpecsSystem Spec
.
14 Sep 2010   #2
Ztruker

Windows 10 Pro X64
 
 

Open a Command Prompt and enter ftype /?. It will show you how to use the ASSOC and FTYPE commands to do what you want.
My System SpecsSystem Spec
14 Sep 2010   #3
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

Set program access and computer defaults


Attached Images
 
My System SpecsSystem Spec
.

Reply

 Change default program through script




Thread Tools




Similar help and support threads
Thread Forum
Open With - Change Default Program
How to Change the Default Program a File Type Opens With in Windows 7 A default program is the program that Windows 7 uses when you open a particular type of file extension. This will show you how to change a file type to open with a different default program for just this one time or always...
Tutorials
Change default program for .html
I need .html files when I click them in explorer to open in Firefox. Win7 64bit. If I turn on "check to make sure firefox is default browser" it will check and ask and I can set it. Problem solved. But I need to make firefox open with "-profile whatever" when I double click a .html file in...
General Discussion
Default email program change.
Gooday all. I see a similar situation in another post but thought I should start my own. If I am on a site and for some reason it asks me to email someone, when I click on email, Outlook pops up. I have a Home & Student suite of MS applications and Outlook is only in trial version on this CD, so...
Browsers & Mail
change default dvd-program
I wonder how I change the default program for dvd's. Now, when I double-click the dvd in "Computer", Windows Media Player is started. I have powerdvd installed. In file associations it shows that .vob is linked to powerdvd. Is there a way so that when I doubleklick the dvd I want to play powerdvd...
Music, Pictures & Video
Want to change Default graphic program.
I want to use an old program that I have been using, to open all the graphics and pictures I want to see. Somehow I reset to QT. BUT that program I like so much(MGI) does not show in DEFAULT PROGRAMS nor is there a BROWSE button there. How can I get it reset back to MGI?? Thank you for any help!!!...
Software
Change default email program
I can't find a way to change my default email program from being listed as Outlook. I use Yahoo primarily. For example, when looking at my pictures file in Library, I select one picture to be sent by email. It automatically brings up Outlook, which I don't use. I have looked at "Default...
Browsers & Mail


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App