Using Poweshell Add-Computer on Script startup
Is it possible to user Add-Computer in a Startup script in windows2008r2?
The script works after the computer has been boot, however when we added into the startup script it fails.
Any other way to do this on startup
Let me explain a little bit more the question, I know I wasn't clear.
I have a EC2 AMI (Amazon Image) which has things preinstalled. Windows instances are created using the image.
As part of the image we have some startup script that perform tasks given the instance. As part of this initial setup we want the instance "auto" register to the AD server.
Using a powershell script we able to detect whether the instance is part of the domain, if not we added to the domain using Add-Computer. This means that only when the instance is created the script will register to AD, otherwise it will ignore the command.
A snipped of the script is:
if ((gwmi win32_computersystem).partofdomain -eq $true) {
//DO other things since it is already joined
}else{
$username = 'user';
$domain = 'domain.com';
$password = 'pass';
$credential = (New-Object System.Management.Automation.PSCredential ($username, (ConvertTo-SecureString $password -AsPlainText -Force)))
add-computer -domain $domain -credential $credential -OUPath '#{node["ad"]["ou_string"]}'
The script is not the issue. The question is when/where to run the script on startup?
Any suggestions?
Similar Messages
-
After using Time Machine-Computer Freezes on startup and will not sleep.
I've narrowed down my iMac issues to Time Machine.
After I back up with Time Machine, my iMac freezes on start up ( I have to turn it off and turn it back on again for normal start up) every time I turn it on and it will not sleep.
I reset the SMC, startup in safe mode, and do all of the troubleshooting to get it back so it starts up without freezing (sometimes my troubleshooting works). I've even reinstalled SL a couple of times and that seems to have helped but...
...when I back up with Time Machine, the freezing issues and non-sleeping issue return.
I've just installed the 10.6.2 update and my iMac is now working perfectly, no freezing on start up and it sleeps.
I'm afraid to use Time Machine for fear of the problems returning.
Any ideas on why Time Machine would corrupt my system? Any thoughts on how I can remedy the situation?Hello m:
The preference file (plist) tells OS X what default and/or user preferences to apply to a device or a program. They rarely become corrupt, but if they do they cause all sorts of odd behavior.
After you trash the preference file and restart, OS X will rebuild the missing file with default values. If you have some personal preferences, you would need to enter those.
Barry
P.S. The preference file I mentioned is located in Macintosh HD>library>preferences
Message was edited by: Barry Hemphill -
Hi i am trying to add a new item and update existing field value in a document library with powershell
but i receive below error message.
PS C:\Users\spfarm> C:\Scripts\add.ps1
Exception calling "Update" with "0" argument(s): "To add an item to a document
library, use SPFileCollection.Add()"
At C:\Scripts\add.ps1:24 char:16
+ $newItem.Update <<<< ()
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
#Add SharePoint PowerShell Snapin which adds SharePoint specific cmdlets
Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
#Variables that we are going to use for list editing
$webURL = "http://tspmcwfe:89"
$listName = "test"
#Get the SPWeb object and save it to a variable
$web = Get-SPWeb $webURL
#Get the SPList object to retrieve the "Demo List"
$list = $web.Lists[$listName]
#Create a new item
$newItem = $list.Items.Add()
#Add properties to this list item
$newItem["Title"] = "My second item!"
$newItem["Info"] = "s15"
#Update the object so it gets saved to the list
$newItem.Update()
$web.Dispose()
adilHi Adil,
Document Library is different from a normal list. The document library contains files inside it. You need to update the code to add a document to the library. Then you can get hold of the List Item represented by that file and update its properties. Here
is an example:
$WebURL = "http://aissp2013/sites/TestSite"
$DocLibName = "Docs"
$FilePath = "c:\blogs.txt"
# Get a variable that points to the folder
$Web = Get-SPWeb $WebURL
$List = $Web.GetFolder($DocLibName)
$Files = $List.Files
# Get just the name of the file from the whole path
$FileName = $FilePath.Substring($FilePath.LastIndexOf("\")+1)
# Load the file into a variable
$File= Get-ChildItem $FilePath
# Upload it to SharePoint
$spFile = $Files.Add($DocLibName +"/" + $FileName,$File.OpenRead(),$false)
$item = $spFile.Item
$item["Title"] = "New Title"
$item.Update()
$web.Dispose()
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field -
Starting up using another computer as a startup disk.
Hello oh knowledgeable ones. My hard drive is MIA (flashing question mark folder) and I would like to use my old iMac as a startup disk (via firewire) (I have tried starting up off of CD and I am never able to get the machine started up so I can run a disk utility.) When we had a similar problem 2 weeks ago we took the beast to the genius bar and they got it started up off a firewire start-up - but I cannot startup off of my old mac.
Hi CGov-
This may help: How to use FireWire target disk mode
Luck-
-DP -
One or more ports used by the Compute Emulator are currently used by other processes
Environment:
VS 2012 Professional
Azure SDK October 2012
Windows 8
I lost the last few days of my life struggling with a weird issue in the emulator. I just ran out of options and I would really appreciate if someone could help me figure out what's wrong.
I am trying to debug a service package from Visual Studio 2012. It's really just about any package -- even the ones generated from a Windows Azure Cloud Service VS template. Any. The VS debugger starts, and in parallel there's "Starting the Windows Azure Debugging
Environment" dialog which shows "Deploying service package to the Windows Azure compute emulator..." message.
The progress bar shown in the dialog gets stuck for a long time (possibly even for an hour or longer!) at some 60% and then the following error message is shown:
"One or more ports used by the Compute Emulator are currently used by other processes. To resolve this, please see MSDN documentation at http://msdn.microsoft.com/en-us/library/hh472164.aspx"
There doesn't seem to be anything else listening on the ports mentioned on the above MSDN page. I did nevertheless try to re-map devfabric and agent ports by specifying different values in the .config files mentioned on the page, but that did not help.
What I also tried and did not help:
- reinstalled SDK, IIS Express, Local DB
- reinstalled VS 2012 (yes, I got that desperate)
- tried using IIS instead
- used SysInternals TcpView to check if there are any conflicts
- rebooted the machine: the deployment works initially (*once*), and the subsequent deployments fail (!)
- tried to kill all Azure-related processes in memory and restart debugging
- tried looking into log files under the user directory (dftmp\...); no errors in *any* log
- tried looking into Event Viewer logs (Azure-related and in general); no errors either
Since the conflict seems to be related to my current network settings, below is my IP
configuration. I am behind a router and I have DHCP activated, but again that should not matter since none of that has changed in the last few years (and the emulator did work until few days ago).
C:\WINDOWS\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : MYCOMPUTER
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
Physical Address. . . . . . . . . : 32-AB-30-66-BC-56
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2a01:e35:8a3a:9970:edd9:b989:b67a:5a8a(Preferred)
Temporary IPv6 Address. . . . . . : 2a01:e35:8a3a:9970:dc7a:4fe6:62a5:e54a(Preferred)
Link-local IPv6 Address . . . . . : fe80::edd9:b989:b67a:5a8a%12(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.0.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Sunday, December 16, 2012 21:26:30 PM
Lease Expires . . . . . . . . . . : Tuesday, December 18, 2012 09:26:14 AM
Default Gateway . . . . . . . . . : fe80::224:d4ff:fea2:9722%12
192.168.0.254
DHCP Server . . . . . . . . . . . : 192.168.0.254
DHCPv6 IAID . . . . . . . . . . . : 253808432
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-1B-EE-4D-20-CF-30-66-BC-46
DNS Servers . . . . . . . . . . . : 192.168.0.254
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{7A96B710-3107-48B9-A7B2-2F261DDD91AD}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 11:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:1caf:12ff:a75c:5668(Preferred)
Link-local IPv6 Address . . . . . : fe80::1caf:12ff:a75c:5668%14(Preferred)
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Below are the Azure SDK emulator configuration files, unmodified (as created by the SDK installation).
DevFC.exe.config
<configuration>
<configSections>
<section name="DevFCSettings" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<!-- The following are options related to the SimulatorSetup -->
<DevFCSettings>
<add key="StartMACAddress" value="00155D201928" />
<add key="EndMACAddress" value="155D20193C" />
<add key="StartIPAddress" value="192.168.0.20" />
<add key="EndIPAddress" value="192.168.0.40" />
<add key="DipPoolStartIPAddress" value="127.255.0.0" />
<add key="DipPoolEndIPAddress" value="127.255.255.255" />
<add key="VipPoolStartIPAddress" value="127.0.0.1" />
<add key="VipPoolEndIPAddress" value="127.0.0.255" />
<add key="DefaultGateway" value="192.168.0.1" />
<add key="SubnetMask" value="255.255.255.0" />
<add key="InternalSwitchName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricSwitch" />
<add key="InternalSwitchPortName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricHostSwitchPort" />
<add key="InternalEthernetNICName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricEthernetNIC" />
<add key="InternalEthernetPortMACAddress" value="00155D201927" />
<add key="InternalEthernetPortIPAddress" value="192.168.0.2" />
<add key="InternalEthernetPortSubnetMask" value="255.255.255.0" />
<add key="StorageRoot" value="DFTemp" />
<add key="LogsDirName" value="DevFCLogs" />
<add key="DynamicPortAllocStart" value="20000" />
<add key="ManagementServicePort" value="15095" />
<add key="RepositoryServicePort" value="15096" />
<add key="AgentCallbackPort" value="15097" />
<add key="AgentPort" value="15098" />
<add key="PxeResponderPort" value="15100" />
</DevFCSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
DFAgent.exe.config
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<appSettings>
<add key="AgentMAC" value="00155D201927"/>
<add key="AgentIP" value="192.168.0.2"/>
<add key="EnableActiveNotification" value="false"/>
<add key="StorageRoot" value="C:\DFTemp"/>
<add key="CopyFilesInStartRole" value="false"/>
<add key="LogsDirName" value="DFAgentLogs" />
<add key="EnableFileLog" value="true" />
<add key="AgentPort" value="15098" />
<add key="RuntimePort" value="15099" />
<add key="AgentCallbackPort" value="15097" />
</appSettings>
</configuration>
DFService.exe.config
<configuration>
<configSections>
<section
name="dfservice"
allowExeDefinition="MachineToLocalUser"
type="Microsoft.ServiceHosting.Tools.DevelopmentFabric.DfServiceConfigurationSection, DfService, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
/>
</configSections>
<dfservice
ManagementServicePort="15095"
RepositoryServicePort="15096"
/>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Finally, here's what TcpView shows while the emulator is stuck:
devenv.exe 3736 TCP MYCOMPUTER 7240 localhost 15095 SYN_SENT
devenv.exe 3736 TCP MYCOMPUTER 7245 localhost 15095 SYN_SENT
svchost.exe 4332 TCP MYCOMPUTER 7438 MYCOMPUTER 0 LISTENING
System 4 TCP MYCOMPUTER 10000 MYCOMPUTER 0 LISTENING
System 4 TCP MYCOMPUTER 10001 MYCOMPUTER 0 LISTENING
System 4 TCP MYCOMPUTER 10002 MYCOMPUTER 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15095 MYCOMPUTER 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15096 MYCOMPUTER 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15097 MYCOMPUTER 0 LISTENING
DFAgent.exe 14472 TCP MYCOMPUTER 15098 MYCOMPUTER 0 LISTENING
DFAgent.exe 14472 TCPV6 mycomputer 15098 mycomputer 0 LISTENING
DFAgent.exe 14472 TCPV6 mycomputer 15098 mycomputer 6399 ESTABLISHED
System 4 TCP MYCOMPUTER 15099 MYCOMPUTER 0 LISTENING
System 4 TCPV6 mycomputer 15099 mycomputer 0 LISTENING
DevFC.exe 4380 TCP MYCOMPUTER 15100 MYCOMPUTER 0 LISTENING
Thanks in advance for help!
▼
▲
▼
▲Hi,
Unfortunately I already tried all kinds of re-installs (the full list is in my original message). The only one remaining is the reinstall of Windows 8 itself, which I would really like to avoid.
What I find really strange is the time it takes for the above error message to appear. It's like one hour or even more (never measured exactly, I left the computer running).
What kind of a timeout is that? I would expect that, if ports are really used by some other application, I get the message in less than a minute (seconds, actually). To me this looks like the emulator itself for some reason believes there's a problem with
some port while in reality there isn't.
I'll eventually contact Microsoft Support, thanks for the suggestion.
▼
▲ -
How to add "Computer Description" locally to 300 Servers in our domain via PowerShell.
I'd like to use Powershell to add "Computer Description" locally to 300 Servers in domain.
I found a solution here which works but it adds "Computer Description" only to a single computer.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/a777f07c-f9be-4eb5-8788-de7e5c068411/changing-computer-descriptions-remotely-using-powershell?forum=winserverpowershell
I do have a CSV file with two column headers "Server" and "Description" containing Computer Description for all 300 Servers.
I'm new to Powershell and would appreciate a step by step method.
Thanks.
stHi Mike Laughlin,
Your Script worked beautifully on most Servers.
There were some Servers on which it did not work. It showed this error in red color:
Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT:
0x800706BA)
At line:2 char:17
+ $OSValues = Get-WmiObject -Class Win32_OperatingSystem -ComputerName
$_.Serv ...
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMExcept
ion
+ FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands
.GetWmiObjectCommand
Property 'Description' cannot be found on this object; make sure it exists and
is settable.
At line:3 char:5
+ $OSValues.Description = $_.Description
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
You cannot call a method on a null-valued expression.
At line:4 char:5
+ $OSValues.Put()
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Hi tommymaynard,
Should I now try your Script ? -
Office 2013 VL and app-v 5 SP2 on RDS server - package add fails with script error
We have used the MS Office Depolyment Tool for click-to-run to download the latest Office 365 version, and flatten it into an app-v 5 package - not a problem.
When we try to add the package to our client machine (Server 2008R2 running the app-v 5 SP2 client software), it fails with an message that a script has failed and not returned a 0 code. We have not added any scripting to this automatically created
package, so it seems that the app-v client does not like the "official" package. Any hints and tips gratefully accepted, thanks
App-v client has scripting enabled.
The powershell command line we are using is:
PS C:\windows\system32> Set-ExecutionPolicy Unrestricted
PS C:\windows\system32> Add-AppvClientPackage -path file://hostname/app-v/o365-noaccess/ProPlusVolume_en-us_zh-cn_x86.appv -DynamicDeploymentConfiguration \
\hostname\app-v\O365-NoAccess\ProPlusVolume_en-us_zh-cn_x86_DeploymentConfig.xml
with a result of:
Add-AppvClientPackage : Embedded Script process exited with an error code indicating failure (return code other than 0). Please ensure that Embedded
Script process can complete successfully and exits with 0.
Operation attempted: Configure AppV Package.
AppV Error Code: 100000000C.
Please consult AppV Client Event Log for more details.
At line:1 char:1
+ Add-AppvClientPackage -path
file://hostname/app-v/o365-noaccess/ProPlusVolum ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidResult: (:) [Add-AppvClientPackage], ClientException
+ FullyQualifiedErrorId : ConfigurePackageError,Microsoft.AppV.AppvClientPowerShell.AddAppvPackage
and these are the error messages we see in the debug app-v client logs:
Script Launcher successfully waited for script with command line: '"C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D\Root\..\Scripts\Integrator.exe" /I /Msi /License /AppV PackageGUID=D24C3BDD-8FAD-44d3-998C-933F8F053682
PackageRoot="C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D\Root" MsiName=SPPRedist.msi,SPPRedist64.msi PidKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx,xxxxx-xxxxx-xxxxx-xxxxx-xxxxx,xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
PRIDName=ProPlusVolume'.
and...
Package {d24c3bdd-8fad-44d3-998c-933f8f053682} version {cd9725ce-4503-4932-863b-4fcda3f9551d} failed configuration in folder 'C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D' with error 0x79100E10-0xC.
and...
machine script for event AddPackage with command line: '"C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D\Root\..\Scripts\Integrator.exe"'
exited with failure error code: The extended attributes are inconsistent.. Because Rollback is set to true in the script definition, the current AppV Client operation was rolled back.
We believe this last error message is the kicker, but can't debug any further.Just to validate the problem, I started again.
I have just downloaded the latest ODT from MS, and then downloaded the latest Office 2013 packaged - volume license. Then created the app-v package - all went perfectly, no error messages. Uploaded the package to the app-v 5 server and published
it. I have made NO changes to any of the files.
I have just built a brand new Windows Server 2008R2 Datacentre VM, patched it to the hilt, and installed the RDS role, powershell 3 and appv 5.0 SP2 client for RDS.
I then use powershell as above:
scripting unrestricted
app v client scripting enabled
app v server added
global and user update enabled
add-appvclient package "url of office package.appv"
and received exactly the same error message.
It is not complaining that scripting is not allowed, it is complaining that the script is invalid.
Help!!!! -
I am using my Brothers computer Mine is in Texas i am in Chicago when i synced my Iphone it eraesd my Ringtones Fortunately my Ipad still Has them how can i ad them to the Itunes library to restore my Phone i tried restore from Backup but that date does not show just need to add my tones to new library
justfor the purchased items from the iTunes Store, you could use transfer of purchases
for the photos, other music/movie not from itunes, you'll be needing a third party application
for contacts, calendars , photos from camera roll : you could just directly transfer it from your phone to the computer. -
I loaded iTunes on a new laptop. I copied and pasted my albums to a 4G stick and down loaded them to the new laptop. Placing them in, Libraries – Music – iTunes and than in Itunes used File – add file to library. So far so good. For what ever reason one of the CDs would not load onto the stick. I got the orginal CD and loaded directly to Itunes. Now when I look in Libraries – Music – iTunes it’s not there but it is in and plays in iTunes. What should I have done or should I be doing? Thanks.
It's not a unique situation - happens all the time, smaller hard drives getting filled up.
It's also easy to fix. I just moved my itunes content to a bigger hard drive.
First I made a backup of the itunes database file - iTunes Library.itl. Just in case anything went wrong.
Nothing did go wrong, but I'd have it in case anything DID go wrong. That file holds ratings, playcounts, Date Added, and other metadata.
Second, in itunes change the preferences > advanced tab to tell itunes to put everything on G:
Set the itunes folder location to something like G:Media or G:iTunes
This will affect all FUTURE additions to itunes and not do anything to the existing locations.
Make sure the checkbox for "Keep itunes organized" is NOT checked. I also left the "Copy files when adding" unchecked.
Third, to move all the files to G: without itunes losing the paths, run the File > Library > Organize > Consolidate command. This will need to run a while, so be patient as it copies all the files to the new G: location. This does NOT delete the originals. You will have to do that.
Fourth, make sure everything in itunes is OK and you can play stuff in your library. If you're really cautious you can run a script to check for missing/dead tracks. -
I have an iphone 4 and my dad has a iphone 5s, we both use the same computer to sync to itunes and add music etc and therefore share a itunes library and just add our own music to our phones, but recently i havent been able to add music that is already in the itunes library for example from a cd, onto my iphone 4, i used to be able to use the typical 'drag and drop' method but now it jut doesnt work? it still works fine for my dad oh his iphone 5s but not for me? Any ideas on how i can transfer music?
Hello there, EileenCerys.
The following Knowledge Base article provides some instruction on how to sync content to your iPhone:
iTunes: Syncing media content to iPod
http://support.apple.com/kb/ht1351
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
How many iPods can I use on one computer?
How many iPods can I use on one computer? I have two iPods (one old, and one newer), and my husband now has an iPhone to which he would like to add music. Can I add his iPhone?
How to use multiple iPods with one computer
-
just as I wrote above.. ebay loads and functions. I can bid and view auctions but trying to either use the "add to watch list" or "add to wish list" buttons or to switch between different posted photos of an item just gives me javascript:; at the bottom left of my screen but clicking the button has no effect.I'm still running 10.4.11 with the last java download.. is this an ebay change to a newer java version not supported by my os or is it a firefox error..oh and one more thing each page seems to have become 4 times longer..ie there is a huge empty space as I scroll down the page before I hit the bottom.Only appears to do this on ebay..haven't found any other sites showing similar errors and everything works fine on my imac running firefox 4 under 10.5
Craig Stenton: at 12:13:04
but I can't install windows! During the install I am asked for the product key and it tells me that it is not valid and so I can't proceed.
Craig Stenton: at 12:14:16
I can't use the usual methods of activation because I cannot get an activation code. I can't use the activation wizard. I can't call the number because it requires an activation code.
Hi,
I'm a bit confused with this paragraph, as you said Vista already install on your computer, why did you say Windows can't be installed?
According to your description with your problem, it is Product edition and key are not match. Firstly of all, we must make sure the system you installed on your computer was
Windows Vista Business, not matter 32 or 64 bit.
Note: you can check current system edtion at System Properties.
After that, you can try to input your product key and activate your system for test.
If problem still presists, it would be better to provide the activation error message.
Roger Lu
TechNet Community Support -
How to use perform and endperform in scripts
Can anybody cleaerly explains me how to use perform and endperform in scripts with an example to add something extra dynamically to the standard script (like rvorder01).
thanks in advance.
regards
anil.Check this example:
In form
PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
USING &EKKO-EKORG&
USING &EKPO-WERKS&
USING &EKKO-EKGRP&
USING &EKKO-BSTYP&
CHANGING &COMPNAME&
CHANGING &SENDADR&
CHANGING &INVCADR&
CHANGING &COMPADR&
CHANGING &COVERLTR&
CHANGING &SHIPADR&
CHANGING &REMINDER&
CHANGING &REJECTION&
CHANGING &POSTADR&
CHANGING &LOGO&
ENDPERFORM
In program
FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA : L_EKORG TYPE EKORG,
L_WERKS TYPE WERKS_D,
L_BSTYP TYPE BSTYP,
L_EKGRP TYPE BKGRP.
READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
CHECK SY-SUBRC = 0.
L_EKORG = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
CHECK SY-SUBRC = 0.
L_WERKS = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
CHECK SY-SUBRC = 0.
L_EKGRP = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
CHECK SY-SUBRC = 0.
L_BSTYP = IN_PAR-VALUE.
CLEAR Z08M1_ORG_TEXTS.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = L_BSTYP.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = SPACE.
ENDIF.
READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SENDADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'INVCADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COMPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REMINDER'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REJECTION'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'POSTADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'LOGO'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
Check and let me know if u face any problem.
Regards -
Computer won't startup after Tiger install with Maxtor external drive
I just upgraded to Tiger on my G4 Dual 450. The computer will not startup with my Maxtor 200 MB external hard drive connected. When it is connected I get a message to restart my computer. The computer starts up and runs with no problems when the Maxtor is not connected. When I connect the Maxtor after the computer is started I get a gray screen to restart my computer. I can connect the Maxtor to another G4 in my office with no problems. Does anyone have any ideas?
G4 Dual 450 MHz Mac OS X (10.4.8)Hi, platteau1. Welcome to the Discussions.
You wrote: "When it is connected I get a message to restart my computer."You are describing the following message:
That indicates a kernel panic.
1. First, I suggest you contact Maxtor as there may be a problem with the external drive or it may require a firmware update.
2. Next, see my "General FireWire troubleshooting" FAQ for advice that may help you troubleshoot the FireWire drive. It may be as simple as a bad FireWire cable or FireWire port on your Mac.
3. Finally, see also my "Resolving Kernel Panics" FAQ. This FAQ includes step-by-step instructions for identifying and resolving some of the most common causes of kernel panics. The FAQ is a roadmap: start at the beginning and work systematically through the end, i.e. the "If all else fails..." section.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X
Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
I may receive some form of compensation, financial or otherwise, from my recommendation or link. -
Can I use the same computer as my daughter to update my iphone?
Can I use the same computer as my daughter to update my iphone?.....she currently uses 1 computer and I use a laptop to update....I am afraid if something happens to the laptop how will I update my iphone?......Lynne
Prepaid devices generally cannot be moved over to other accounts nor can they migrate numbers to other devices.
Chances are you will have to purchase a new device on its own and register it to your shared plan. When you merge accounts or add new devices the previous arrangements are wiped away.
VZW has a separate prepaid department that can assist you. Give VZW a call and have them walk you through the process.
Maybe you are looking for
-
Data Gathering Application - Architecture Question
I'm working on revising an existing application that's used to collect data gathered by users from various sources (various computer systems, paper files, discussions/interviews with other employees, etc.) which is then used for analysis and reportin
-
Sub-contracting through Project system.
Hi Can some one please help me in understanding how Project system (PS) is supporting sub-contracting scenarios. I am looking for activity sub-contracting and also sub-contracting with Project stock materials. I am aware of normal sub-contracting thr
-
Hi , I am using DATE_FISCYEAR( Billing doc. date, Fiscal Year Variant ) formula in update rule to calculate fiscal year . Now when we get from 2008 and prior we don't get any error but any date from 2009 to 2010 future year is giving error . any con
-
Mail crashes after mac os x 10.10.1 upgrade
Hi, Mail crashes after Yosemite (10.10.1) update. I tried removing accounts one by one and there seems to be a problem with gmail accounts. Exhange and iCloud are fine. Any ideas?
-
Can you use WAEs for conns going over IPSEC?
Question: Can you place WAEs and optimize traffic and then place over IPSEC? Has anyone done this and have you experienced sufficient optimization? I'm picturing some in-line module WAEs between enddevices and IPSEC routers and wanted to know if I co