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: Installation woes

08 Apr 2010   #1
mstarks67

Windows 7 Enterprise 64-bit
 
 
Installation woes

I am trying to execute a software installation using a batch file. I am able to create a target directory and copy the files just fine. The problem I am running in to is when the batch tries to create shortcuts to the all user desktop and start menu. Every time the action is denied. I am trying to copy to the users\public\desktop and users\public\start menu. I am able to manually copy the shortcuts but unable to automate the process. I have full admin rights...what else am I missing here?

Any ideas?


My System SpecsSystem Spec
.
12 Apr 2010   #2
mstarks67

Windows 7 Enterprise 64-bit
 
 

I have resolved this issue temporarily. I had to turn off UAC to run the installation batch file. There has got to be a better way of doing this. Taking ownership of the target folder is not a viable option either. If anyone has any ideas on how to bypass this ridiculous security, feel free to post them here. I will post more after my meetings with Microsoft this week.
My System SpecsSystem Spec
19 Apr 2010   #3
mstarks67

Windows 7 Enterprise 64-bit
 
 

I have resolved my own question. I have begun to compile executables to install shortcuts and programs to the locations I need in order to circumvent the problems created by the UAC. It is much easier to install an executable with elevated rights than it is to run a batch file with elevated rights.
My System SpecsSystem Spec
.

Reply

 Installation woes




Thread Tools




Similar help and support threads
Thread Forum
Serious VHD woes
Hope someone can help. I have a .vhd that I can't open with Disk Mgmt. When it does attach, the assigned drive is an 'empty folder'. The .vhd is 67+GB..... Even tried with 7Zip and 'VHD Attach' - all 'open' the file as EMPTY. Please, any suggestions...? I need last year's taxes..... ...
Virtualization
Windows 7 64bit installation woes
As the title states, I'm having a little bit of a problem installing Windows 7 64bit. I'm attempting to dual boot my computer with both 32bit (the current version I'm running) and 64bit Windows 7. I've downloaded my .iso from DigitalRiver's Microsoft Student Deal and have tried burning it...
Installation & Setup
ATI All in Wonder Woes.
here is my story, Have 2 monitors connected to my HTPC, 26'' LG and 42'' Sharp Aquos. today the HDTV wouldnt show anything on it (it was still showing up in display properties as display 2) so i restored the computer to a point where everything was working, and now neither monitor shows anything...
Graphic Cards
Windows 7 Installation Woes KB/Mouse Unresponsive
So, I'm trying to install Windows 7. The keyboard and mouse seem to work fine until I get to the Windows 7 installation screen. When I'm there the keyboard and mouse are unresponsive. Like, the mouse light and keyboard lights work up until the Windows 7 screen shows up. Anyone know what the...
Installation & Setup
Installation woes….. W7 can't access files
Hardware: HP Pavilion dv3510 Entertainment Laptop HHD 500 Gig WD (340 Gig Free) Duo P7350 @2.00GHz RAM: 4 Gig 64 bit OS Win 7 RC Installing the upgrade version of Win 7 Professional over Win 7 RC Ultimate. As instructed in the thread regarding such installations, I modified the registry...
Installation & Setup


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 19:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App